spec/dummy/log/test.log in pulitzer-0.4.11 vs spec/dummy/log/test.log in pulitzer-0.4.12
- old
+ new
@@ -54948,5 +54948,1973 @@
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ?[0m [["version_id", 2], ["label_type", "Pulitzer::Tag"]]
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_post_tags"."label_id" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"], ["label_id", 1]]
[1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ?[0m [["version_id", 2], ["label_type", "Pulitzer::Tag"]]
[1m[35mPulitzer::Tag Load (0.1ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]]
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36m (1.0ms)[0m [1mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (1.2ms)[0m CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)
+ [1m[36m (0.9ms)[0m [1mCREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) [0m
+ [1m[35m (1.0ms)[0m CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)
+ [1m[36m (0.8ms)[0m [1mCREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) [0m
+ [1m[35m (0.8ms)[0m CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer, "label" varchar)
+ [1m[36m (0.8ms)[0m [1mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.9ms)[0m CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar)
+ [1m[36m (0.8ms)[0m [1mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0) [0m
+ [1m[35m (0.7ms)[0m CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)
+ [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")
+ [1m[36m (1.0ms)[0m [1mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "parent_id" integer, "hierarchical" boolean DEFAULT 'f' NOT NULL) [0m
+ [1m[35m (0.8ms)[0m CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")
+ [1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
+ [1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
+ [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160609214139')
+ [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreatePulitzerPostTypes (20150618224344)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+SQLite3::SQLException: table "pulitzer_post_types" already exists: CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (1.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
+ [1m[35m (0.1ms)[0m select sqlite_version(*)
+ [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+Migrating to CreatePulitzerPostTypes (20150618224344)
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.4ms)[0m CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618224344"]]
+ [1m[35m (0.8ms)[0m commit transaction
+Migrating to CreatePulitzerContentElementTypes (20150618225402)
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.4ms)[0m CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618225402"]]
+ [1m[35m (0.7ms)[0m commit transaction
+Migrating to CreatePulitzerPosts (20150619204615)
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.4ms)[0m CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204615"]]
+ [1m[35m (0.8ms)[0m commit transaction
+Migrating to CreatePulitzerContentElements (20150619204708)
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.5ms)[0m CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204708"]]
+ [1m[35m (0.8ms)[0m commit transaction
+Migrating to CreatePulitzerTags (20150619213436)
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.4ms)[0m CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619213436"]]
+ [1m[35m (0.7ms)[0m commit transaction
+Migrating to CreatePulitzerPostTags (20150619213457)
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.4ms)[0m CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619213457"]]
+ [1m[35m (0.7ms)[0m commit transaction
+Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.4ms)[0m CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619215914"]]
+ [1m[35m (0.8ms)[0m commit transaction
+Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (2.3ms)[0m ALTER TABLE "pulitzer_post_types" ADD "plural" boolean
+ [1m[36m (0.3ms)[0m [1mALTER TABLE "pulitzer_post_types" ADD "template" boolean[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]
+ [1m[36m (1.7ms)[0m [1mcommit transaction[0m
+Migrating to AddPulitzerContentElementTypes (20150702150819)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2016-07-05 17:34:38.115129"], ["updated_at", "2016-07-05 17:34:38.115129"]]
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1[0m
+ [1m[35mSQL (0.0ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-07-05 17:34:38.117322"], ["updated_at", "2016-07-05 17:34:38.117322"]]
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1[0m
+ [1m[35mSQL (0.0ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-07-05 17:34:38.118819"], ["updated_at", "2016-07-05 17:34:38.118819"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150702150819"]]
+ [1m[35m (0.8ms)[0m commit transaction
+Migrating to AddSlugToPulitzerPosts (20150724150230)
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.4ms)[0m ALTER TABLE "pulitzer_posts" ADD "slug" varchar
+ [1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]
+ [1m[36m (1.0ms)[0m [1mcommit transaction[0m
+Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.5ms)[0m [1mCREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.0ms)[0m SELECT * FROM "pulitzer_post_tags"
+ [1m[36m (0.4ms)[0m [1mDROP TABLE "pulitzer_post_tags"[0m
+ [1m[35m (0.1ms)[0m CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.0ms)[0m [1mSELECT * FROM "apulitzer_post_tags"[0m
+ [1m[35m (3.1ms)[0m DROP TABLE "apulitzer_post_tags"
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150902212741"]]
+ [1m[35m (1.4ms)[0m commit transaction
+Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.5ms)[0m ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."id" ASC)[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]
+ [1m[36m (0.7ms)[0m [1mcommit transaction[0m
+Migrating to CreatePulitzerVersions (20151029194354)
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]
+ [1m[36m (1.2ms)[0m [1mcommit transaction[0m
+Migrating to ChangePostElementsToVersions (20151029220558)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.6ms)[0m [1mCREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.1ms)[0m SELECT * FROM "pulitzer_content_elements"
+ [1m[36m (0.5ms)[0m [1mDROP TABLE "pulitzer_content_elements"[0m
+ [1m[35m (0.1ms)[0m CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.1ms)[0m [1mSELECT * FROM "apulitzer_content_elements"[0m
+ [1m[35m (0.1ms)[0m DROP TABLE "apulitzer_content_elements"
+ [1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.0ms)[0m SELECT * FROM "pulitzer_post_tags"
+ [1m[36m (0.4ms)[0m [1mDROP TABLE "pulitzer_post_tags"[0m
+ [1m[35m (0.1ms)[0m CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.1ms)[0m [1mSELECT * FROM "apulitzer_post_tags"[0m
+ [1m[35m (0.1ms)[0m DROP TABLE "apulitzer_post_tags"
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1000[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]
+ [1m[36m (5.8ms)[0m [1mcommit transaction[0m
+Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar[0m
+ [1m[35m (0.2ms)[0m ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100
+ [1m[36m (0.4ms)[0m [1mALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100[0m
+ [1m[35m (0.2ms)[0m ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer
+Scoped order and limit are ignored, it's forced to be batch order and batch size
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1000[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]
+ [1m[36m (2.5ms)[0m [1mcommit transaction[0m
+Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "apulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "template" boolean) [0m
+ [1m[35m (0.0ms)[0m SELECT * FROM "pulitzer_post_types"
+ [1m[36m (0.3ms)[0m [1mDROP TABLE "pulitzer_post_types"[0m
+ [1m[35m (0.1ms)[0m CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean)
+ [1m[36m (0.0ms)[0m [1mSELECT * FROM "apulitzer_post_types"[0m
+ [1m[35m (0.1ms)[0m DROP TABLE "apulitzer_post_types"
+ [1m[36m (0.2ms)[0m [1mALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]
+ [1m[36m (1.1ms)[0m [1mcommit transaction[0m
+Migrating to AddKindToPulitzerContentElements (20151118031237)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.8ms)[0m [1mALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]
+ [1m[36m (0.6ms)[0m [1mcommit transaction[0m
+Migrating to AddErrorsToVersion (20160122204201)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.4ms)[0m [1mALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]
+ [1m[36m (0.7ms)[0m [1mcommit transaction[0m
+Migrating to CreatePartials (20160511192041)
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer) [0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]
+ [1m[36m (0.8ms)[0m [1mcommit transaction[0m
+Migrating to AddParentIdToPulitzerTag (20160511201527)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.4ms)[0m [1mALTER TABLE "pulitzer_tags" ADD "parent_id" integer[0m
+ [1m[35m (0.2ms)[0m ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL
+ [1m[36m (0.1ms)[0m [1mCREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]
+ [1m[36m (1.1ms)[0m [1mcommit transaction[0m
+Migrating to AddPartialToContentElement (20160512214545)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.4ms)[0m [1mALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]
+ [1m[36m (0.9ms)[0m [1mcommit transaction[0m
+Migrating to CreateFreeFormSectionType (20160513153209)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.4ms)[0m [1mCREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) [0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]
+ [1m[36m (0.6ms)[0m [1mcommit transaction[0m
+Migrating to CreateFreeFormSection (20160513153214)
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar) [0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]
+ [1m[36m (0.8ms)[0m [1mcommit transaction[0m
+Migrating to FixPostTypeKinds (20160516150237)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mPulitzer::PostType Load (0.1ms)[0m [1mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2)[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]
+ [1m[36m (0.7ms)[0m [1mcommit transaction[0m
+Migrating to CreateLayouts (20160517181706)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.4ms)[0m [1mCREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) [0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]
+ [1m[36m (0.8ms)[0m [1mcommit transaction[0m
+Migrating to AddLayoutToPartial (20160517182500)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.4ms)[0m [1mALTER TABLE "pulitzer_partials" ADD "layout_id" integer[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]
+ [1m[36m (0.7ms)[0m [1mcommit transaction[0m
+Migrating to AddLabelToPartial (20160519181030)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.4ms)[0m [1mALTER TABLE "pulitzer_partials" ADD "label" varchar[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]
+ [1m[36m (0.7ms)[0m [1mcommit transaction[0m
+Migrating to RemoveTitleFromContentElements (20160609214139)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.3ms)[0m [1mCREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer) [0m
+ [1m[35m (0.1ms)[0m SELECT * FROM "pulitzer_content_elements"
+ [1m[36m (0.3ms)[0m [1mDROP TABLE "pulitzer_content_elements"[0m
+ [1m[35m (0.1ms)[0m CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)
+ [1m[36m (0.0ms)[0m [1mSELECT * FROM "apulitzer_content_elements"[0m
+ [1m[35m (0.1ms)[0m DROP TABLE "apulitzer_content_elements"
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160609214139"]]
+ [1m[35m (0.9ms)[0m commit transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_pulitzer_posts_on_slug' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_pulitzer_posts_on_slug' AND type='index'
+
+ [1m[36m (0.3ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
+[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (2.0ms)[0m DELETE FROM "pulitzer_content_element_types";
+ [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.8ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
+ [1m[36m (0.8ms)[0m [1mDELETE FROM "pulitzer_posts";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
+ [1m[35m (0.8ms)[0m DELETE FROM "pulitzer_tags";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
+ [1m[36m (0.8ms)[0m [1mDELETE FROM "pulitzer_post_type_content_element_types";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
+ [1m[35m (0.8ms)[0m DELETE FROM "pulitzer_versions";
+ [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
+ [1m[36m (1.0ms)[0m [1mDELETE FROM "pulitzer_post_tags";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
+ [1m[35m (0.7ms)[0m DELETE FROM "pulitzer_post_types";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
+ [1m[36m (0.7ms)[0m [1mDELETE FROM "pulitzer_partials";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_partials';[0m
+ [1m[35m (0.7ms)[0m DELETE FROM "pulitzer_free_form_section_types";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
+ [1m[36m (0.7ms)[0m [1mDELETE FROM "pulitzer_free_form_sections";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';[0m
+ [1m[35m (0.7ms)[0m DELETE FROM "pulitzer_layouts";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
+ [1m[36m (0.7ms)[0m [1mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-07-05 17:34:46.039212"], ["updated_at", "2016-07-05 17:34:46.039212"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by Pulitzer::FreeFormSectionTypesController#new as HTML
+ Parameters: {"post_type_id"=>"1"}
+ [1m[35mPulitzer::PostType Load (0.1ms)[0m SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::PostType Load (0.1ms)[0m [1mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (7.4ms)
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (26.4ms)
+Completed 200 OK in 61ms (Views: 37.6ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-07-05 17:34:46.116160"], ["updated_at", "2016-07-05 17:34:46.116160"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by Pulitzer::FreeFormSectionTypesController#create as HTML
+ Parameters: {"free_form_section_type"=>{"post_type_id"=>"1", "name"=>"test sidebar"}}
+ [1m[36mPulitzer::PostType Load (0.1ms)[0m [1mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name") VALUES (?, ?)[0m [["post_type_id", 1], ["name", "test sidebar"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::PostType Load (0.0ms)[0m [1mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::Post Load (0.1ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (5.3ms)
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (7.2ms)
+Completed 200 OK in 15ms (Views: 8.9ms | ActiveRecord: 0.8ms)
+ [1m[36mPulitzer::FreeFormSectionType Load (0.1ms)[0m [1mSELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" ORDER BY "pulitzer_free_form_section_types"."id" DESC LIMIT 1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-07-05 17:34:46.139393"], ["updated_at", "2016-07-05 17:34:46.139393"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mPulitzer::FreeFormSectionType Load (0.3ms)[0m SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]]
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.3ms)
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.5ms)
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (9.2ms)
+Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-07-05 17:34:46.161768"], ["updated_at", "2016-07-05 17:34:46.161768"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?)[0m [["name", "main content"], ["post_type_id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by Pulitzer::FreeFormSectionTypesController#update as HTML
+ Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"1"}
+ [1m[36mPulitzer::FreeFormSectionType Load (0.1ms)[0m [1mSELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_free_form_section_types" SET "name" = ? WHERE "pulitzer_free_form_section_types"."id" = ?[0m [["name", "edited name"], ["id", 1]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::PostType Load (0.0ms)[0m [1mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (4.3ms)
+Completed 200 OK in 9ms (Views: 4.8ms | ActiveRecord: 0.4ms)
+ [1m[36mPulitzer::FreeFormSectionType Load (0.1ms)[0m [1mSELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-07-05 17:34:46.181655"], ["updated_at", "2016-07-05 17:34:46.181655"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mPulitzer::FreeFormSectionType Load (0.1ms)[0m SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? [["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::PostType Load (0.0ms)[0m SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
+ Rendered text template (0.0ms)
+Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.3ms)
+ [1m[35mPulitzer::FreeFormSectionType Load (0.1ms)[0m SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36m (0.9ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-07-05 17:34:46.201047"], ["updated_at", "2016-07-05 17:34:46.201047"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?)[0m [["name", "free as a bird"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by Pulitzer::PartialsController#new as HTML
+ Parameters: {"partial"=>{"free_form_section_id"=>"1"}}
+ [1m[36mPulitzer::FreeFormSection Load (0.1ms)[0m [1mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1[0m [["id", 1]]
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms)
+ [1m[35mPulitzer::PostType Load (0.6ms)[0m SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]]
+ [1m[36mPulitzer::PostType Load (0.0ms)[0m [1mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ?[0m [["kind", 1]]
+ [1m[35mPulitzer::Layout Load (0.1ms)[0m SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]]
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_new.html.erb (14.9ms)
+Completed 200 OK in 30ms (Views: 18.6ms | ActiveRecord: 1.2ms)
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-07-05 17:34:46.247093"], ["updated_at", "2016-07-05 17:34:46.247093"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?)[0m [["name", "free as a bird"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by Pulitzer::PartialsController#create as HTML
+ Parameters: {"partial"=>{"post_type_id"=>"1", "free_form_section_id"=>"1"}}
+ [1m[36mPulitzer::FreeFormSection Load (0.1ms)[0m [1mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::FreeFormSection Load (0.0ms)[0m [1mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?)[0m [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::PostType Load (0.0ms)[0m [1mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::PostTypeContentElementType Load (0.2ms)[0m SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]]
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.3ms)
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["partial_id", 1]]
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (3.0ms)
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (9.8ms)
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (11.4ms)
+Completed 200 OK in 23ms (Views: 13.0ms | ActiveRecord: 0.9ms)
+ [1m[35mPulitzer::Partial Load (0.1ms)[0m SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT 1
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-07-05 17:34:46.282809"], ["updated_at", "2016-07-05 17:34:46.282809"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::FreeFormSection Load (0.0ms)[0m SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36m (0.0ms)[0m [1mSELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ?[0m [["free_form_section_id", 1]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by Pulitzer::PartialsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mPulitzer::Partial Load (0.1ms)[0m SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::PostType Load (0.1ms)[0m [1mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.0ms)
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms)
+ [1m[35mPulitzer::Layout Load (0.1ms)[0m SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]]
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_form.html.erb (13.2ms)
+Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Left Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-07-05 17:34:46.311098"], ["updated_at", "2016-07-05 17:34:46.311098"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?)[0m [["name", "free as a bird"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-07-05 17:34:46.314439"], ["updated_at", "2016-07-05 17:34:46.314439"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::FreeFormSection Load (0.0ms)[0m [1mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]]
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?)[0m [["post_type_id", 2], ["free_form_section_id", 1], ["sort_order", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by Pulitzer::PartialsController#update as HTML
+ Parameters: {"partial"=>{"post_type_id"=>"1"}, "id"=>"1"}
+ [1m[36mPulitzer::Partial Load (0.1ms)[0m [1mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ?[0m [["post_type_id", 1], ["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::PostType Load (0.0ms)[0m [1mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms)
+ [1m[35mPulitzer::ContentElement Load (0.0ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]]
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.1ms)
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/partials/_show.html.erb (4.7ms)
+Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.4ms)
+ [1m[36mPulitzer::Partial Load (0.0ms)[0m [1mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::PostType Load (0.0ms)[0m SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 1"], ["created_at", "2016-07-05 17:34:46.344641"], ["updated_at", "2016-07-05 17:34:46.344641"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "The north 2"], ["hierarchical", "t"], ["created_at", "2016-07-05 17:34:46.348886"], ["updated_at", "2016-07-05 17:34:46.348886"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by Pulitzer::TagsController#index as HTML
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms)
+Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 3"], ["created_at", "2016-07-05 17:34:46.364001"], ["updated_at", "2016-07-05 17:34:46.364001"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 4' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "The north 4"], ["hierarchical", "t"], ["created_at", "2016-07-05 17:34:46.366337"], ["updated_at", "2016-07-05 17:34:46.366337"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by Pulitzer::TagsController#index as HTML
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.3ms)
+Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[36mPulitzer::Tag Load (0.1ms)[0m [1mSELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f'[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 5' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 5"], ["created_at", "2016-07-05 17:34:46.378083"], ["updated_at", "2016-07-05 17:34:46.378083"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 6' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 6"], ["hierarchical", "t"], ["created_at", "2016-07-05 17:34:46.380506"], ["updated_at", "2016-07-05 17:34:46.380506"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by Pulitzer::TagsController#index as HTML
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.3ms)
+Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
+ [1m[35mPulitzer::Tag Load (0.1ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' AND "pulitzer_tags"."parent_id" IS NULL
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 7' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 7"], ["created_at", "2016-07-05 17:34:46.391543"], ["updated_at", "2016-07-05 17:34:46.391543"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by Pulitzer::TagsController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mPulitzer::Tag Load (0.1ms)[0m [1mSELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1[0m [["id", 1]]
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms)
+Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 8' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 8"], ["created_at", "2016-07-05 17:34:46.403047"], ["updated_at", "2016-07-05 17:34:46.403047"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by Pulitzer::TagsController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mPulitzer::Tag Load (0.1ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]]
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.3ms)
+Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+ [1m[36m (2.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+Processing by Pulitzer::TagsController#new as HTML
+ Parameters: {"tag"=>{"hierarchical"=>true}}
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (1.3ms)
+Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+Processing by Pulitzer::TagsController#new as HTML
+ Parameters: {"tag"=>{"hierarchical"=>true}}
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.3ms)
+Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+Processing by Pulitzer::TagsController#new as HTML
+ Parameters: {"tag"=>{"hierarchical"=>false}}
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms)
+Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_tags"[0m
+Processing by Pulitzer::TagsController#create as HTML
+ Parameters: {"tag"=>{"name"=>"The north 9"}}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 9' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 9"], ["created_at", "2016-07-05 17:34:46.457015"], ["updated_at", "2016-07-05 17:34:46.457015"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms)
+Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_tags"
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+Processing by Pulitzer::TagsController#create as HTML
+ Parameters: {"tag"=>{"name"=>"The north 10"}}
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 10' LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 10"], ["created_at", "2016-07-05 17:34:46.468736"], ["updated_at", "2016-07-05 17:34:46.468736"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms)
+Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "awesomesauce"], ["created_at", "2016-07-05 17:34:46.474960"], ["updated_at", "2016-07-05 17:34:46.474960"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_tags"[0m
+Processing by Pulitzer::TagsController#create as HTML
+ Parameters: {"tag"=>{"name"=>"awesomesauce"}}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1[0m
+ [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms)
+Completed 409 Conflict in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_tags"[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-07-05 17:34:46.489324"], ["updated_at", "2016-07-05 17:34:46.489324"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by Pulitzer::TagsController#create as HTML
+ Parameters: {"tag"=>{"name"=>"awesomesauce"}}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1[0m
+ [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms)
+Completed 409 Conflict in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 13' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 13"], ["created_at", "2016-07-05 17:34:46.501492"], ["updated_at", "2016-07-05 17:34:46.501492"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by Pulitzer::TagsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mPulitzer::Tag Load (0.1ms)[0m [1mSELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1[0m [["id", 1]]
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms)
+Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 14' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 14"], ["created_at", "2016-07-05 17:34:46.513773"], ["updated_at", "2016-07-05 17:34:46.513773"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by Pulitzer::TagsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mPulitzer::Tag Load (0.1ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]]
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms)
+Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 15' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 15"], ["created_at", "2016-07-05 17:34:46.535699"], ["updated_at", "2016-07-05 17:34:46.535699"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by Pulitzer::TagsController#update as HTML
+ Parameters: {"tag"=>{"name"=>"The north 16"}, "id"=>"1"}
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.3ms)
+Completed 409 Conflict in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 17' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 17"], ["created_at", "2016-07-05 17:34:46.548924"], ["updated_at", "2016-07-05 17:34:46.548924"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by Pulitzer::TagsController#update as HTML
+ Parameters: {"tag"=>{"name"=>"The north 18"}, "id"=>"1"}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'The north 18' AND "pulitzer_tags"."id" != 1) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mUPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ?[0m [["name", "The north 18"], ["updated_at", "2016-07-05 17:34:46.557284"], ["id", 1]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms)
+Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "sadpanda"], ["created_at", "2016-07-05 17:34:46.563727"], ["updated_at", "2016-07-05 17:34:46.563727"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 20' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 20"], ["created_at", "2016-07-05 17:34:46.567353"], ["updated_at", "2016-07-05 17:34:46.567353"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by Pulitzer::TagsController#update as HTML
+ Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1
+ [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms)
+Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-07-05 17:34:46.579770"], ["updated_at", "2016-07-05 17:34:46.579770"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 22' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 22"], ["created_at", "2016-07-05 17:34:46.583567"], ["updated_at", "2016-07-05 17:34:46.583567"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by Pulitzer::TagsController#update as HTML
+ Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1[0m
+ [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms)
+Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 23' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 23"], ["created_at", "2016-07-05 17:34:46.596095"], ["updated_at", "2016-07-05 17:34:46.596095"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by Pulitzer::TagsController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ Rendered text template (0.0ms)
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 24' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 24"], ["created_at", "2016-07-05 17:34:46.605661"], ["updated_at", "2016-07-05 17:34:46.605661"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by Pulitzer::TagsController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::PostTag Load (0.1ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"]]
+ [1m[36mPulitzer::Tag Load (0.1ms)[0m [1mSELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ?[0m [["parent_id", 1]]
+ [1m[35mSQL (0.3ms)[0m DELETE FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? [["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ Rendered text template (0.0ms)
+Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.7ms)
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:46.626025"], ["updated_at", "2016-07-05 17:34:46.626025"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-07-05 17:34:46.722851"], ["updated_at", "2016-07-05 17:34:46.722851"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:46.726114"], ["updated_at", "2016-07-05 17:34:46.726114"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-07-05 17:34:46.728313"], ["updated_at", "2016-07-05 17:34:46.728313"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", "2016-07-05 17:34:46.741047"], ["updated_at", "2016-07-05 17:34:46.741047"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-07-05 17:34:46.743363"], ["updated_at", "2016-07-05 17:34:46.743363"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-07-05 17:34:46.745899"], ["updated_at", "2016-07-05 17:34:46.745899"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-07-05 17:34:46.747217"], ["updated_at", "2016-07-05 17:34:46.747217"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", "2016-07-05 17:34:46.749673"], ["updated_at", "2016-07-05 17:34:46.749673"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-07-05 17:34:46.751206"], ["updated_at", "2016-07-05 17:34:46.751206"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-07-05 17:34:46.755246"], ["updated_at", "2016-07-05 17:34:46.755246"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.3.0/bin/rspec
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-07-05 17:34:46.743363"], ["updated_at", "2016-07-05 17:34:46.743363"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-07-05 17:34:46.763591"], ["id", 4]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-07-05 17:34:46.747217"], ["updated_at", "2016-07-05 17:34:46.747217"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-07-05 17:34:46.768873"], ["id", 5]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-07-05 17:34:46.751206"], ["updated_at", "2016-07-05 17:34:46.751206"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-07-05 17:34:46.775009"], ["id", 6]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::FreeFormSection Load (0.1ms)[0m [1mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 2]]
+ [1m[35mPulitzer::PostTag Load (0.1ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-07-05 17:34:46.779527"], ["id", 3]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
+ [1m[36m (1.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:46.789976"], ["updated_at", "2016-07-05 17:34:46.789976"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-2"]]
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-07-05 17:34:46.793107"], ["updated_at", "2016-07-05 17:34:46.793107"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-07-05 17:34:46.794943"], ["updated_at", "2016-07-05 17:34:46.794943"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:46.796851"], ["updated_at", "2016-07-05 17:34:46.796851"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?)[0m [["name", "section A"], ["version_id", 2]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section B"], ["version_id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?)[0m [["name", "section C"], ["version_id", 2]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 2]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-07-05 17:34:46.803368"], ["updated_at", "2016-07-05 17:34:46.803368"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.3.0/bin/rspec
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+ [1m[35mPulitzer::ContentElement Load (0.0ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
+ [1m[36mPulitzer::FreeFormSection Load (0.0ms)[0m [1mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?)[0m [["name", "section A"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Partial Load (0.1ms)[0m [1mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC[0m [["free_form_section_id", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ?[0m [["version_id", 3], ["id", 4]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section B"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Partial Load (0.0ms)[0m SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 5]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?)[0m [["name", "section C"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Partial Load (0.0ms)[0m [1mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC[0m [["free_form_section_id", 3]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ?[0m [["version_id", 3], ["id", 6]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-07-05 17:34:46.817654"], ["id", 3]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 3]]
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:46.826780"], ["updated_at", "2016-07-05 17:34:46.826780"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-07-05 17:34:46.829658"], ["updated_at", "2016-07-05 17:34:46.829658"]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:46.832416"], ["updated_at", "2016-07-05 17:34:46.832416"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-07-05 17:34:46.834482"], ["updated_at", "2016-07-05 17:34:46.834482"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", "2016-07-05 17:34:46.837483"], ["updated_at", "2016-07-05 17:34:46.837483"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-07-05 17:34:46.839171"], ["updated_at", "2016-07-05 17:34:46.839171"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-07-05 17:34:46.842681"], ["updated_at", "2016-07-05 17:34:46.842681"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-07-05 17:34:46.844613"], ["updated_at", "2016-07-05 17:34:46.844613"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", "2016-07-05 17:34:46.847842"], ["updated_at", "2016-07-05 17:34:46.847842"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-07-05 17:34:46.849872"], ["updated_at", "2016-07-05 17:34:46.849872"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-07-05 17:34:46.851912"], ["updated_at", "2016-07-05 17:34:46.851912"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.3.0/bin/rspec
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+ [1m[35mPulitzer::ContentElement Load (0.0ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-07-05 17:34:46.839171"], ["updated_at", "2016-07-05 17:34:46.839171"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-07-05 17:34:46.858933"], ["id", 4]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-07-05 17:34:46.844613"], ["updated_at", "2016-07-05 17:34:46.844613"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-07-05 17:34:46.864343"], ["id", 5]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-07-05 17:34:46.849872"], ["updated_at", "2016-07-05 17:34:46.849872"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-07-05 17:34:46.870190"], ["id", 6]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::FreeFormSection Load (0.0ms)[0m SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]]
+ [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-07-05 17:34:46.873365"], ["id", 3]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Load (0.2ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1[0m [["version_id", 3]]
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:46.883101"], ["updated_at", "2016-07-05 17:34:46.883101"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-07-05 17:34:46.890441"], ["updated_at", "2016-07-05 17:34:46.890441"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-07-05 17:34:46.893085"], ["updated_at", "2016-07-05 17:34:46.893085"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 8"], ["created_at", "2016-07-05 17:34:46.895666"], ["updated_at", "2016-07-05 17:34:46.895666"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-07-05 17:34:46.897177"], ["updated_at", "2016-07-05 17:34:46.897177"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1[0m
+ [1m[35mSQL (0.0ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-07-05 17:34:46.899295"], ["updated_at", "2016-07-05 17:34:46.899295"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-07-05 17:34:46.900782"], ["updated_at", "2016-07-05 17:34:46.900782"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "test"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::FreeFormSection Load (0.0ms)[0m [1mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?)[0m [["post_type_id", 1], ["free_form_section_id", 1], ["sort_order", 1]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ?[0m [["partial_id", 1]]
+ [1m[35mPulitzer::PostType Load (0.0ms)[0m SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::PostTypeContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC[0m [["post_type_id", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-07-05 17:34:46.912851"], ["updated_at", "2016-07-05 17:34:46.912851"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-07-05 17:34:46.917630"], ["updated_at", "2016-07-05 17:34:46.917630"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-07-05 17:34:46.922320"], ["updated_at", "2016-07-05 17:34:46.922320"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:46.927607"], ["updated_at", "2016-07-05 17:34:46.927607"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 10"], ["created_at", "2016-07-05 17:34:46.930530"], ["updated_at", "2016-07-05 17:34:46.930530"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-07-05 17:34:46.932491"], ["updated_at", "2016-07-05 17:34:46.932491"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-07-05 17:34:46.935322"], ["updated_at", "2016-07-05 17:34:46.935322"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-07-05 17:34:46.937110"], ["updated_at", "2016-07-05 17:34:46.937110"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 12"], ["created_at", "2016-07-05 17:34:46.939433"], ["updated_at", "2016-07-05 17:34:46.939433"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-07-05 17:34:46.940879"], ["updated_at", "2016-07-05 17:34:46.940879"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-07-05 17:34:46.944246"], ["updated_at", "2016-07-05 17:34:46.944246"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:46.945979"], ["updated_at", "2016-07-05 17:34:46.945979"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mPulitzer::PostTypeContentElementType Load (0.0ms)[0m SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-07-05 17:34:46.952687"], ["updated_at", "2016-07-05 17:34:46.952687"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["version_id", 1], ["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-07-05 17:34:46.956438"], ["updated_at", "2016-07-05 17:34:46.956438"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-07-05 17:34:46.960231"], ["updated_at", "2016-07-05 17:34:46.960231"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::FreeFormSectionType Load (0.1ms)[0m SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:46.968666"], ["updated_at", "2016-07-05 17:34:46.968666"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?)[0m [["name", "Main Body"], ["post_type_id", 1]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Side Bar"], ["post_type_id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?)[0m [["name", "Footer List"], ["post_type_id", 1]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "test"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "test"], ["post_type_id", 1], ["slug", "test"], ["created_at", "2016-07-05 17:34:46.976203"], ["updated_at", "2016-07-05 17:34:46.976203"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:46.977882"], ["updated_at", "2016-07-05 17:34:46.977882"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
+ [1m[36mPulitzer::PostType Load (0.1ms)[0m [1mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::PostTypeContentElementType Load (0.1ms)[0m SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]]
+ [1m[36mPulitzer::FreeFormSectionType Load (0.0ms)[0m [1mSELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Main Body"], ["version_id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Side Bar"], ["version_id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Footer List"], ["version_id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:46.995519"], ["updated_at", "2016-07-05 17:34:46.995519"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-07-05 17:34:46.998177"], ["updated_at", "2016-07-05 17:34:46.998177"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.000091"], ["updated_at", "2016-07-05 17:34:47.000091"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-07-05 17:34:47.001953"], ["updated_at", "2016-07-05 17:34:47.001953"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 13"], ["created_at", "2016-07-05 17:34:47.006084"], ["updated_at", "2016-07-05 17:34:47.006084"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-07-05 17:34:47.008207"], ["updated_at", "2016-07-05 17:34:47.008207"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-07-05 17:34:47.012032"], ["updated_at", "2016-07-05 17:34:47.012032"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-07-05 17:34:47.014598"], ["updated_at", "2016-07-05 17:34:47.014598"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 15"], ["created_at", "2016-07-05 17:34:47.019651"], ["updated_at", "2016-07-05 17:34:47.019651"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-07-05 17:34:47.021913"], ["updated_at", "2016-07-05 17:34:47.021913"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-07-05 17:34:47.026828"], ["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Load (0.2ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-07-05 17:34:47.035461"], ["updated_at", "2016-07-05 17:34:47.035461"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 4e1f22c0-9e45-408f-b725-0b2115625556) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[36mPulitzer::Post Load (0.1ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] /Users/eric/.rvm/gems/ruby-2.3.0/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-07-05 17:34:47.008207"], ["updated_at", "2016-07-05 17:34:47.008207"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-07-05 17:34:47.047742"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 8"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-07-05 17:34:47.014598"], ["updated_at", "2016-07-05 17:34:47.014598"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-07-05 17:34:47.052219"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-07-05 17:34:47.021913"], ["updated_at", "2016-07-05 17:34:47.021913"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-07-05 17:34:47.056600"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[36mPulitzer::FreeFormSection Load (0.0ms)[0m [1mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-07-05 17:34:47.059058"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.72ms
+ [1m[35mPulitzer::Post Load (0.1ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:47.073654"], ["updated_at", "2016-07-05 17:34:47.073654"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-07-05 17:34:47.076382"], ["updated_at", "2016-07-05 17:34:47.076382"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.078338"], ["updated_at", "2016-07-05 17:34:47.078338"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-07-05 17:34:47.079888"], ["updated_at", "2016-07-05 17:34:47.079888"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 16"], ["created_at", "2016-07-05 17:34:47.083091"], ["updated_at", "2016-07-05 17:34:47.083091"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-07-05 17:34:47.084663"], ["updated_at", "2016-07-05 17:34:47.084663"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-07-05 17:34:47.087612"], ["updated_at", "2016-07-05 17:34:47.087612"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-07-05 17:34:47.089525"], ["updated_at", "2016-07-05 17:34:47.089525"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 18"], ["created_at", "2016-07-05 17:34:47.092049"], ["updated_at", "2016-07-05 17:34:47.092049"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-07-05 17:34:47.093397"], ["updated_at", "2016-07-05 17:34:47.093397"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-07-05 17:34:47.095689"], ["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Load (0.0ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-07-05 17:34:47.098116"], ["updated_at", "2016-07-05 17:34:47.098116"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] /Users/eric/.rvm/gems/ruby-2.3.0/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-07-05 17:34:47.084663"], ["updated_at", "2016-07-05 17:34:47.084663"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-07-05 17:34:47.105704"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-07-05 17:34:47.089525"], ["updated_at", "2016-07-05 17:34:47.089525"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-07-05 17:34:47.110194"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-07-05 17:34:47.093397"], ["updated_at", "2016-07-05 17:34:47.093397"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-07-05 17:34:47.114503"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[36mPulitzer::FreeFormSection Load (0.0ms)[0m [1mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-07-05 17:34:47.117837"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.12ms
+ [1m[35mPulitzer::Post Load (0.1ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-07-05 17:34:47.125271"], ["id", 3]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-07-05 17:34:47.127697"], ["updated_at", "2016-07-05 17:34:47.127697"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: a931436b-6a45-4e03-8186-b90001533b4d) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] /Users/eric/.rvm/gems/ruby-2.3.0/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[35mPulitzer::ContentElement Load (0.1ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 10"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-07-05 17:34:47.084663"], ["updated_at", "2016-07-05 17:34:47.084663"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-07-05 17:34:47.136172"], ["id", 7]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-07-05 17:34:47.089525"], ["updated_at", "2016-07-05 17:34:47.089525"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-07-05 17:34:47.141077"], ["id", 8]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 12"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-07-05 17:34:47.093397"], ["updated_at", "2016-07-05 17:34:47.093397"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-07-05 17:34:47.145739"], ["id", 9]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[35mPulitzer::FreeFormSection Load (0.0ms)[0m SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-07-05 17:34:47.148074"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.56ms
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 4]]
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:47.158828"], ["updated_at", "2016-07-05 17:34:47.158828"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-07-05 17:34:47.161206"], ["updated_at", "2016-07-05 17:34:47.161206"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.162829"], ["updated_at", "2016-07-05 17:34:47.162829"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-07-05 17:34:47.164108"], ["updated_at", "2016-07-05 17:34:47.164108"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 19"], ["created_at", "2016-07-05 17:34:47.168330"], ["updated_at", "2016-07-05 17:34:47.168330"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-07-05 17:34:47.170293"], ["updated_at", "2016-07-05 17:34:47.170293"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-07-05 17:34:47.173339"], ["updated_at", "2016-07-05 17:34:47.173339"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-07-05 17:34:47.175027"], ["updated_at", "2016-07-05 17:34:47.175027"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 21"], ["created_at", "2016-07-05 17:34:47.186827"], ["updated_at", "2016-07-05 17:34:47.186827"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-07-05 17:34:47.188574"], ["updated_at", "2016-07-05 17:34:47.188574"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-07-05 17:34:47.190735"], ["id", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Load (0.1ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-07-05 17:34:47.194816"], ["updated_at", "2016-07-05 17:34:47.194816"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 5bce1acb-d2b4-4143-99c1-8c9ec2465a2a) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] /Users/eric/.rvm/gems/ruby-2.3.0/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-07-05 17:34:47.170293"], ["updated_at", "2016-07-05 17:34:47.170293"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-07-05 17:34:47.204694"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 14"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-07-05 17:34:47.175027"], ["updated_at", "2016-07-05 17:34:47.175027"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-07-05 17:34:47.209830"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-07-05 17:34:47.188574"], ["updated_at", "2016-07-05 17:34:47.188574"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-07-05 17:34:47.214596"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[36mPulitzer::FreeFormSection Load (0.0ms)[0m [1mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-07-05 17:34:47.217529"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.43ms
+ [1m[35mPulitzer::Post Load (0.1ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-07-05 17:34:47.224365"], ["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The North Remembers' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The North Remembers"], ["created_at", "2016-07-05 17:34:47.234553"], ["updated_at", "2016-07-05 17:34:47.234553"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:47.237228"], ["updated_at", "2016-07-05 17:34:47.237228"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-8"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-07-05 17:34:47.239970"], ["updated_at", "2016-07-05 17:34:47.239970"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-07-05 17:34:47.242083"], ["updated_at", "2016-07-05 17:34:47.242083"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.243634"], ["updated_at", "2016-07-05 17:34:47.243634"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-07-05 17:34:47.246599"], ["updated_at", "2016-07-05 17:34:47.246599"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-07-05 17:34:47.248258"], ["updated_at", "2016-07-05 17:34:47.248258"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 23"], ["created_at", "2016-07-05 17:34:47.251458"], ["updated_at", "2016-07-05 17:34:47.251458"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-07-05 17:34:47.253099"], ["updated_at", "2016-07-05 17:34:47.253099"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-07-05 17:34:47.256011"], ["updated_at", "2016-07-05 17:34:47.256011"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-07-05 17:34:47.257415"], ["updated_at", "2016-07-05 17:34:47.257415"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-07-05 17:34:47.264273"], ["updated_at", "2016-07-05 17:34:47.264273"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The South Forgets' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The South Forgets"], ["created_at", "2016-07-05 17:34:47.267096"], ["updated_at", "2016-07-05 17:34:47.267096"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-07-05 17:34:47.269742"], ["updated_at", "2016-07-05 17:34:47.269742"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Load (0.1ms)[0m [1mSELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ?[0m [["version_id", 2], ["label_type", "Pulitzer::Tag"]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-07-05 17:34:47.274831"], ["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-07-05 17:34:47.276749"], ["updated_at", "2016-07-05 17:34:47.276749"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: c044d505-1cd2-4a44-9770-340fc0c5a4b9) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] /Users/eric/.rvm/gems/ruby-2.3.0/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35mPulitzer::ContentElement Load (0.0ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 16"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-07-05 17:34:47.248258"], ["updated_at", "2016-07-05 17:34:47.248258"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-07-05 17:34:47.284834"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-07-05 17:34:47.253099"], ["updated_at", "2016-07-05 17:34:47.253099"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-07-05 17:34:47.290217"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 18"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-07-05 17:34:47.257415"], ["updated_at", "2016-07-05 17:34:47.257415"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-07-05 17:34:47.294379"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35mPulitzer::FreeFormSection Load (0.0ms)[0m SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-07-05 17:34:47.298066"], ["updated_at", "2016-07-05 17:34:47.298066"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 2], ["label_type", "Pulitzer::Tag"], ["version_id", 3], ["created_at", "2016-07-05 17:34:47.299839"], ["updated_at", "2016-07-05 17:34:47.299839"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-07-05 17:34:47.301237"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.6ms
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]]
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 25' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 25"], ["created_at", "2016-07-05 17:34:47.314197"], ["updated_at", "2016-07-05 17:34:47.314197"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 26' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 26"], ["created_at", "2016-07-05 17:34:47.325031"], ["updated_at", "2016-07-05 17:34:47.325031"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 27' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 27"], ["created_at", "2016-07-05 17:34:47.330118"], ["updated_at", "2016-07-05 17:34:47.330118"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 28' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 28"], ["created_at", "2016-07-05 17:34:47.334856"], ["updated_at", "2016-07-05 17:34:47.334856"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", "2016-07-05 17:34:47.340103"], ["updated_at", "2016-07-05 17:34:47.340103"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-07-05 17:34:47.341875"], ["updated_at", "2016-07-05 17:34:47.341875"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-07-05 17:34:47.349761"], ["updated_at", "2016-07-05 17:34:47.349761"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 24"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-07-05 17:34:47.351510"], ["updated_at", "2016-07-05 17:34:47.351510"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 29' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 29"], ["created_at", "2016-07-05 17:34:47.357035"], ["updated_at", "2016-07-05 17:34:47.357035"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 30' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 30"], ["created_at", "2016-07-05 17:34:47.361966"], ["updated_at", "2016-07-05 17:34:47.361966"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Image"], ["created_at", "2016-07-05 17:34:47.367627"], ["updated_at", "2016-07-05 17:34:47.367627"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:47.544483"], ["updated_at", "2016-07-05 17:34:47.544483"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]]
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:47.561212"], ["updated_at", "2016-07-05 17:34:47.561212"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-10"]]
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-07-05 17:34:47.564264"], ["updated_at", "2016-07-05 17:34:47.564264"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-07-05 17:34:47.569362"], ["updated_at", "2016-07-05 17:34:47.569362"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.574657"], ["updated_at", "2016-07-05 17:34:47.574657"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 1], ["post_id", 1], ["created_at", "2016-07-05 17:34:47.576804"], ["updated_at", "2016-07-05 17:34:47.576804"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:47.584084"], ["updated_at", "2016-07-05 17:34:47.584084"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-11"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 11"], ["post_type_id", 1], ["slug", "winterfell-news-11"], ["created_at", "2016-07-05 17:34:47.587191"], ["updated_at", "2016-07-05 17:34:47.587191"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.589493"], ["updated_at", "2016-07-05 17:34:47.589493"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:47.594933"], ["updated_at", "2016-07-05 17:34:47.594933"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-12"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 12"], ["post_type_id", 1], ["slug", "winterfell-news-12"], ["created_at", "2016-07-05 17:34:47.598880"], ["updated_at", "2016-07-05 17:34:47.598880"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.601619"], ["updated_at", "2016-07-05 17:34:47.601619"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "the-new-king-in-the-north"]]
+ [1m[35mSQL (0.2ms)[0m UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-07-05 17:34:47.604834"], ["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 25' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 25"], ["created_at", "2016-07-05 17:34:47.610361"], ["updated_at", "2016-07-05 17:34:47.610361"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:47.613662"], ["updated_at", "2016-07-05 17:34:47.613662"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-13"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 13"], ["post_type_id", 1], ["slug", "winterfell-news-13"], ["created_at", "2016-07-05 17:34:47.616348"], ["updated_at", "2016-07-05 17:34:47.616348"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.618232"], ["updated_at", "2016-07-05 17:34:47.618232"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-07-05 17:34:47.619880"], ["updated_at", "2016-07-05 17:34:47.619880"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:47.642087"], ["updated_at", "2016-07-05 17:34:47.642087"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 31' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 31"], ["created_at", "2016-07-05 17:34:47.646364"], ["updated_at", "2016-07-05 17:34:47.646364"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 26' LIMIT 1
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Load (0.2ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-07-05 17:34:47.694857"], ["updated_at", "2016-07-05 17:34:47.694857"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1
+ [1m[36mPulitzer::Tag Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 27' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 27"], ["hierarchical", "t"], ["created_at", "2016-07-05 17:34:47.711932"], ["updated_at", "2016-07-05 17:34:47.711932"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 28' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 28"], ["created_at", "2016-07-05 17:34:47.717150"], ["updated_at", "2016-07-05 17:34:47.717150"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Load (0.1ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't'
+ [1m[36mPulitzer::Tag Load (0.1ms)[0m [1mSELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't'[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:47.725706"], ["updated_at", "2016-07-05 17:34:47.725706"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-14"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 14"], ["post_type_id", 1], ["slug", "winterfell-news-14"], ["created_at", "2016-07-05 17:34:47.728651"], ["updated_at", "2016-07-05 17:34:47.728651"]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.730870"], ["updated_at", "2016-07-05 17:34:47.730870"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 1], ["post_id", 1], ["created_at", "2016-07-05 17:34:47.733485"], ["updated_at", "2016-07-05 17:34:47.733485"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 29' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 29"], ["created_at", "2016-07-05 17:34:47.735552"], ["updated_at", "2016-07-05 17:34:47.735552"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-07-05 17:34:47.737952"], ["updated_at", "2016-07-05 17:34:47.737952"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.2ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" INNER JOIN "pulitzer_versions" ON "pulitzer_posts"."id" = "pulitzer_versions"."post_id" INNER JOIN "pulitzer_post_tags" ON "pulitzer_versions"."id" = "pulitzer_post_tags"."version_id" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_posts"."id" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["id", 1]]
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 30' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "The north 30"], ["hierarchical", "t"], ["created_at", "2016-07-05 17:34:47.746115"], ["updated_at", "2016-07-05 17:34:47.746115"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 31' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 31"], ["created_at", "2016-07-05 17:34:47.749479"], ["updated_at", "2016-07-05 17:34:47.749479"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Load (0.1ms)[0m [1mSELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f'[0m
+ [1m[35mPulitzer::Tag Load (0.1ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f'
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 32' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 32"], ["created_at", "2016-07-05 17:34:47.756047"], ["updated_at", "2016-07-05 17:34:47.756047"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 33' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "The north 33"], ["parent_id", 1], ["created_at", "2016-07-05 17:34:47.758583"], ["updated_at", "2016-07-05 17:34:47.758583"]]
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_tags" SET "updated_at" = '2016-07-05 17:34:47.759680' WHERE "pulitzer_tags"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 34' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 34"], ["parent_id", 1], ["created_at", "2016-07-05 17:34:47.762005"], ["updated_at", "2016-07-05 17:34:47.762005"]]
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_tags" SET "updated_at" = '2016-07-05 17:34:47.762905' WHERE "pulitzer_tags"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ?[0m [["parent_id", 1], ["id", 2]]
+ [1m[35mPulitzer::Tag Exists (0.0ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 3]]
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 35' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "The north 35"], ["hierarchical", "t"], ["created_at", "2016-07-05 17:34:47.769962"], ["updated_at", "2016-07-05 17:34:47.769962"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 36' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 36"], ["created_at", "2016-07-05 17:34:47.772441"], ["updated_at", "2016-07-05 17:34:47.772441"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 37' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "The north 37"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-07-05 17:34:47.775020"], ["updated_at", "2016-07-05 17:34:47.775020"]]
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_tags" SET "updated_at" = '2016-07-05 17:34:47.775851' WHERE "pulitzer_tags"."id" = ? [["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 38' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 38"], ["hierarchical", "t"], ["created_at", "2016-07-05 17:34:47.780253"], ["updated_at", "2016-07-05 17:34:47.780253"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 39' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 39"], ["created_at", "2016-07-05 17:34:47.783086"], ["updated_at", "2016-07-05 17:34:47.783086"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 40' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 40"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-07-05 17:34:47.786070"], ["updated_at", "2016-07-05 17:34:47.786070"]]
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE "pulitzer_tags" SET "updated_at" = '2016-07-05 17:34:47.786951' WHERE "pulitzer_tags"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 41' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "The north 41"], ["hierarchical", "t"], ["created_at", "2016-07-05 17:34:47.792105"], ["updated_at", "2016-07-05 17:34:47.792105"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 42' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 42"], ["created_at", "2016-07-05 17:34:47.794469"], ["updated_at", "2016-07-05 17:34:47.794469"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 43' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "The north 43"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-07-05 17:34:47.797478"], ["updated_at", "2016-07-05 17:34:47.797478"]]
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_tags" SET "updated_at" = '2016-07-05 17:34:47.798343' WHERE "pulitzer_tags"."id" = ? [["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:47.803793"], ["updated_at", "2016-07-05 17:34:47.803793"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-15"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 15"], ["post_type_id", 1], ["slug", "winterfell-news-15"], ["created_at", "2016-07-05 17:34:47.807584"], ["updated_at", "2016-07-05 17:34:47.807584"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.809778"], ["updated_at", "2016-07-05 17:34:47.809778"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 44' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 44"], ["created_at", "2016-07-05 17:34:47.830517"], ["updated_at", "2016-07-05 17:34:47.830517"]]
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-07-05 17:34:47.834741"], ["updated_at", "2016-07-05 17:34:47.834741"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-16"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 16"], ["post_type_id", 1], ["slug", "winterfell-news-16"], ["created_at", "2016-07-05 17:34:47.838098"], ["updated_at", "2016-07-05 17:34:47.838098"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.839568"], ["updated_at", "2016-07-05 17:34:47.839568"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-07-05 17:34:47.841872"], ["updated_at", "2016-07-05 17:34:47.841872"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-07-05 17:34:47.844346"], ["updated_at", "2016-07-05 17:34:47.844346"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]]
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_post_tags"."label_id" = ?[0m [["version_id", 2], ["label_type", "Pulitzer::Tag"], ["label_id", 1]]
+ [1m[35mPulitzer::PostTag Load (0.1ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]]
+ [1m[36mPulitzer::Tag Load (0.0ms)[0m [1mSELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.8ms)[0m rollback transaction