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 @@  (0.1ms) 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"]]  (0.1ms) 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]] Pulitzer::PostTag Load (0.1ms) 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"]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (1.0ms) 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)  +  (1.2ms) 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) +  (0.9ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)  +  (1.0ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar) +  (0.8ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)  +  (0.8ms) 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) +  (0.8ms) 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)  +  (0.9ms) 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) +  (0.8ms) 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, "kind" integer DEFAULT 0)  +  (0.7ms) 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) +  (0.1ms) select sqlite_version(*) +  (1.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") +  (1.0ms) CREATE 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)  +  (0.8ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") +  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  +  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) SELECT version FROM "schema_migrations" +  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160609214139') + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreatePulitzerPostTypes (20150618224344) +  (0.1ms) begin transaction +  (0.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +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) +  (0.0ms) rollback transaction +  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  +  (0.1ms) select sqlite_version(*) +  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreatePulitzerPostTypes (20150618224344) +  (0.1ms) begin transaction +  (0.4ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]] +  (0.8ms) commit transaction +Migrating to CreatePulitzerContentElementTypes (20150618225402) +  (0.0ms) begin transaction +  (0.4ms) 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) + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]] +  (0.7ms) commit transaction +Migrating to CreatePulitzerPosts (20150619204615) +  (0.1ms) begin transaction +  (0.4ms) 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) + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]] +  (0.8ms) commit transaction +Migrating to CreatePulitzerContentElements (20150619204708) +  (0.1ms) begin transaction +  (0.5ms) 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) + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]] +  (0.8ms) commit transaction +Migrating to CreatePulitzerTags (20150619213436) +  (0.1ms) begin transaction +  (0.4ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]] +  (0.7ms) commit transaction +Migrating to CreatePulitzerPostTags (20150619213457) +  (0.1ms) begin transaction +  (0.4ms) 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) + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]] +  (0.7ms) commit transaction +Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914) +  (0.1ms) begin transaction +  (0.4ms) 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) + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]] +  (0.8ms) commit transaction +Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832) +  (0.1ms) begin transaction +  (2.3ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean +  (0.3ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]] +  (1.7ms) commit transaction +Migrating to AddPulitzerContentElementTypes (20150702150819) +  (0.1ms) begin transaction + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 + SQL (0.3ms) 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"]] + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 + SQL (0.0ms) 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"]] + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.0ms) 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"]] + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]] +  (0.8ms) commit transaction +Migrating to AddSlugToPulitzerPosts (20150724150230) +  (0.1ms) begin transaction +  (0.4ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar +  (0.3ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]] +  (1.0ms) commit transaction +Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741) +  (0.1ms) begin transaction +  (0.5ms) CREATE 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)  +  (0.0ms) SELECT * FROM "pulitzer_post_tags" +  (0.4ms) DROP TABLE "pulitzer_post_tags" +  (0.1ms) 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) +  (0.0ms) SELECT * FROM "apulitzer_post_tags" +  (3.1ms) DROP TABLE "apulitzer_post_tags" + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]] +  (1.4ms) commit transaction +Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630) +  (0.1ms) begin transaction +  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar + SQL (0.1ms) UPDATE "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) + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]] +  (0.7ms) commit transaction +Migrating to CreatePulitzerVersions (20151029194354) +  (0.0ms) begin transaction +  (0.3ms) CREATE 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)  + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]] +  (1.2ms) commit transaction +Migrating to ChangePostElementsToVersions (20151029220558) +  (0.1ms) begin transaction +  (0.6ms) CREATE 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)  +  (0.1ms) SELECT * FROM "pulitzer_content_elements" +  (0.5ms) DROP TABLE "pulitzer_content_elements" +  (0.1ms) 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) +  (0.1ms) SELECT * FROM "apulitzer_content_elements" +  (0.1ms) DROP TABLE "apulitzer_content_elements" +  (0.2ms) CREATE 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)  +  (0.0ms) SELECT * FROM "pulitzer_post_tags" +  (0.4ms) DROP TABLE "pulitzer_post_tags" +  (0.1ms) 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) +  (0.1ms) SELECT * FROM "apulitzer_post_tags" +  (0.1ms) DROP TABLE "apulitzer_post_tags" + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1000 + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]] +  (5.8ms) commit transaction +Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344) +  (0.1ms) begin transaction +  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar +  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100 +  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100 +  (0.2ms) 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 + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1000 + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]] +  (2.5ms) commit transaction +Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508) +  (0.1ms) begin transaction +  (0.2ms) CREATE 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)  +  (0.0ms) SELECT * FROM "pulitzer_post_types" +  (0.3ms) DROP TABLE "pulitzer_post_types" +  (0.1ms) 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) +  (0.0ms) SELECT * FROM "apulitzer_post_types" +  (0.1ms) DROP TABLE "apulitzer_post_types" +  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]] +  (1.1ms) commit transaction +Migrating to AddKindToPulitzerContentElements (20151118031237) +  (0.1ms) begin transaction +  (0.8ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]] +  (0.6ms) commit transaction +Migrating to AddErrorsToVersion (20160122204201) +  (0.1ms) begin transaction +  (0.4ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]] +  (0.7ms) commit transaction +Migrating to CreatePartials (20160511192041) +  (0.0ms) begin transaction +  (0.3ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]] +  (0.8ms) commit transaction +Migrating to AddParentIdToPulitzerTag (20160511201527) +  (0.1ms) begin transaction +  (0.4ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer +  (0.2ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL +  (0.1ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]] +  (1.1ms) commit transaction +Migrating to AddPartialToContentElement (20160512214545) +  (0.1ms) begin transaction +  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]] +  (0.9ms) commit transaction +Migrating to CreateFreeFormSectionType (20160513153209) +  (0.1ms) begin transaction +  (0.4ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]] +  (0.6ms) commit transaction +Migrating to CreateFreeFormSection (20160513153214) +  (0.0ms) begin transaction +  (0.3ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]] +  (0.8ms) commit transaction +Migrating to FixPostTypeKinds (20160516150237) +  (0.1ms) begin transaction + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2) + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]] +  (0.7ms) commit transaction +Migrating to CreateLayouts (20160517181706) +  (0.1ms) begin transaction +  (0.4ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]] +  (0.8ms) commit transaction +Migrating to AddLayoutToPartial (20160517182500) +  (0.1ms) begin transaction +  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]] +  (0.7ms) commit transaction +Migrating to AddLabelToPartial (20160519181030) +  (0.1ms) begin transaction +  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]] +  (0.7ms) commit transaction +Migrating to RemoveTitleFromContentElements (20160609214139) +  (0.1ms) begin transaction +  (0.3ms) CREATE 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)  +  (0.1ms) SELECT * FROM "pulitzer_content_elements" +  (0.3ms) DROP TABLE "pulitzer_content_elements" +  (0.1ms) 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) +  (0.0ms) SELECT * FROM "apulitzer_content_elements" +  (0.1ms) DROP TABLE "apulitzer_content_elements" + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]] +  (0.9ms) commit transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) 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' + +  (0.3ms)  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' + + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (2.0ms) DELETE FROM "pulitzer_content_element_types"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.8ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types'; +  (0.8ms) DELETE FROM "pulitzer_posts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts'; +  (0.8ms) DELETE FROM "pulitzer_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags'; +  (0.8ms) DELETE FROM "pulitzer_post_type_content_element_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types'; +  (0.8ms) DELETE FROM "pulitzer_versions"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions'; +  (1.0ms) DELETE FROM "pulitzer_post_tags"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags'; +  (0.7ms) DELETE FROM "pulitzer_post_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types'; +  (0.7ms) DELETE FROM "pulitzer_partials"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials'; +  (0.7ms) DELETE FROM "pulitzer_free_form_section_types"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types'; +  (0.7ms) DELETE FROM "pulitzer_free_form_sections"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections'; +  (0.7ms) DELETE FROM "pulitzer_layouts"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts'; +  (0.7ms) DELETE FROM "pulitzer_content_elements"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements'; +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#new as HTML + Parameters: {"post_type_id"=>"1"} + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["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) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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.116160"], ["updated_at", "2016-07-05 17:34:46.116160"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#create as HTML + Parameters: {"free_form_section_type"=>{"post_type_id"=>"1", "name"=>"test sidebar"}} + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 1], ["name", "test sidebar"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.1ms) 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) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" ORDER BY "pulitzer_free_form_section_types"."id" DESC LIMIT 1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.139393"], ["updated_at", "2016-07-05 17:34:46.139393"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.3ms) 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) +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#update as HTML + Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_section_types" SET "name" = ? WHERE "pulitzer_free_form_section_types"."id" = ? [["name", "edited name"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) 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) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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.181655"], ["updated_at", "2016-07-05 17:34:46.181655"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML + Parameters: {"id"=>"1"} + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] + Rendered text template (0.0ms) +Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.3ms) + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.9ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#new as HTML + Parameters: {"partial"=>{"free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) + Pulitzer::PostType Load (0.6ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] + Pulitzer::Layout Load (0.1ms) 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) +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#create as HTML + Parameters: {"partial"=>{"post_type_id"=>"1", "free_form_section_id"=>"1"}} + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) 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]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.2ms) 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) + Pulitzer::ContentElement Load (0.1ms) 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 (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) + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT 1 +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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.282809"], ["updated_at", "2016-07-05 17:34:46.282809"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["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) + Pulitzer::Layout Load (0.1ms) 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) +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 2], ["free_form_section_id", 1], ["sort_order", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::PartialsController#update as HTML + Parameters: {"partial"=>{"post_type_id"=>"1"}, "id"=>"1"} + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_id", 1], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) + Pulitzer::ContentElement Load (0.0ms) 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) + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-07-05 17:34:46.344641"], ["updated_at", "2016-07-05 17:34:46.344641"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 2"], ["hierarchical", "t"], ["created_at", "2016-07-05 17:34:46.348886"], ["updated_at", "2016-07-05 17:34:46.348886"]] +  (0.0ms) 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) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2016-07-05 17:34:46.364001"], ["updated_at", "2016-07-05 17:34:46.364001"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 4' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 4"], ["hierarchical", "t"], ["created_at", "2016-07-05 17:34:46.366337"], ["updated_at", "2016-07-05 17:34:46.366337"]] +  (0.1ms) 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) + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 5' LIMIT 1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 6' LIMIT 1 + SQL (0.4ms) 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"]] +  (0.0ms) 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.8ms | ActiveRecord: 0.0ms) + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' AND "pulitzer_tags"."parent_id" IS NULL +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 7' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 7"], ["created_at", "2016-07-05 17:34:46.391543"], ["updated_at", "2016-07-05 17:34:46.391543"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) 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.2ms) +Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 8' LIMIT 1 + SQL (0.2ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#show as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) 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) +  (2.5ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) 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) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) 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) +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) 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) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.2ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 9"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 9' LIMIT 1 + SQL (0.3ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + 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) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"The north 10"}} +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 10' LIMIT 1 + SQL (0.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 10"], ["created_at", "2016-07-05 17:34:46.468736"], ["updated_at", "2016-07-05 17:34:46.468736"]] +  (0.1ms) 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) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-07-05 17:34:46.474960"], ["updated_at", "2016-07-05 17:34:46.474960"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.0ms) 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) +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 + SQL (0.2ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#create as HTML + Parameters: {"tag"=>{"name"=>"awesomesauce"}} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1 +  (0.0ms) 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) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 13' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 13"], ["created_at", "2016-07-05 17:34:46.501492"], ["updated_at", "2016-07-05 17:34:46.501492"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) 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 3ms (Views: 2.1ms | ActiveRecord: 0.1ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 14' LIMIT 1 + SQL (0.3ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#edit as HTML + Parameters: {"id"=>"1"} + Pulitzer::Tag Load (0.1ms) 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) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 15' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 15"], ["created_at", "2016-07-05 17:34:46.535699"], ["updated_at", "2016-07-05 17:34:46.535699"]] +  (0.2ms) 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) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 17' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 17"], ["created_at", "2016-07-05 17:34:46.548924"], ["updated_at", "2016-07-05 17:34:46.548924"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"The north 18"}, "id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'The north 18' AND "pulitzer_tags"."id" != 1) LIMIT 1 + SQL (0.4ms) UPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ? [["name", "The north 18"], ["updated_at", "2016-07-05 17:34:46.557284"], ["id", 1]] +  (0.0ms) 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) +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-07-05 17:34:46.563727"], ["updated_at", "2016-07-05 17:34:46.563727"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 20' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 20"], ["created_at", "2016-07-05 17:34:46.567353"], ["updated_at", "2016-07-05 17:34:46.567353"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) 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) +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'sadpanda' LIMIT 1 + SQL (0.5ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 22' LIMIT 1 + SQL (0.4ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#update as HTML + Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1 +  (0.0ms) 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) +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 23' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 23"], ["created_at", "2016-07-05 17:34:46.596095"], ["updated_at", "2016-07-05 17:34:46.596095"]] +  (0.0ms) 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) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 24' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 24"], ["created_at", "2016-07-05 17:34:46.605661"], ["updated_at", "2016-07-05 17:34:46.605661"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Pulitzer::TagsController#destroy as HTML + Parameters: {"id"=>"1"} +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.1ms) 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"]] + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] + SQL (0.3ms) DELETE FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.7ms) +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.626025"], ["updated_at", "2016-07-05 17:34:46.626025"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] + SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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"]] + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:46.728313"], ["updated_at", "2016-07-05 17:34:46.728313"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-07-05 17:34:46.741047"], ["updated_at", "2016-07-05 17:34:46.741047"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-07-05 17:34:46.749673"], ["updated_at", "2016-07-05 17:34:46.749673"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.0/bin/rspec + Pulitzer::Version Load (0.1ms) 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]] + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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.763591"], ["id", 4]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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.775009"], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-07-05 17:34:46.779527"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (1.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]] + SQL (0.4ms) 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"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:46.794943"], ["updated_at", "2016-07-05 17:34:46.794943"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section A"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section B"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section C"], ["version_id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) 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.803368"], ["updated_at", "2016-07-05 17:34:46.803368"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.0/bin/rspec + Pulitzer::Version Load (0.1ms) 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]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section A"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 4]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section B"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 5]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section C"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 3]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 6]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-07-05 17:34:46.817654"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 3]] +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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.826780"], ["updated_at", "2016-07-05 17:34:46.826780"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] + SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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"]] + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:46.834482"], ["updated_at", "2016-07-05 17:34:46.834482"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-07-05 17:34:46.837483"], ["updated_at", "2016-07-05 17:34:46.837483"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_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"], ["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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-07-05 17:34:46.847842"], ["updated_at", "2016-07-05 17:34:46.847842"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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.851912"], ["updated_at", "2016-07-05 17:34:46.851912"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Pulitzer::CloneVersion !!! +/Users/eric/.rvm/gems/ruby-2.3.0/bin/rspec + Pulitzer::Version Load (0.0ms) 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]] + Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_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"], ["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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) 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.864343"], ["id", 5]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_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"], ["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] + Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-07-05 17:34:46.873365"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1 + SQL (0.4ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-07-05 17:34:46.895666"], ["updated_at", "2016-07-05 17:34:46.895666"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 + SQL (0.0ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "test"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 1]] + SQL (0.1ms) 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]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? [["partial_id", 1]] + Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.927607"], ["updated_at", "2016-07-05 17:34:46.927607"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1 + SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-07-05 17:34:46.930530"], ["updated_at", "2016-07-05 17:34:46.930530"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1 + SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-07-05 17:34:46.939433"], ["updated_at", "2016-07-05 17:34:46.939433"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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"]] + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) 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]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] + Pulitzer::PostTypeContentElementType Load (0.0ms) 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]] + Pulitzer::Version Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] + SQL (0.1ms) 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 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::FreeFormSectionType Load (0.1ms) 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]] + Pulitzer::Version Load (0.0ms) 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]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Main Body"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Side Bar"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Footer List"], ["post_type_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "test"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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"]] + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::Version Load (0.0ms) 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]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::PostTypeContentElementType Load (0.1ms) 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]] + Pulitzer::FreeFormSectionType Load (0.0ms) 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]] + Pulitzer::Version Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Main Body"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Side Bar"], ["version_id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) 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]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Footer List"], ["version_id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) 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]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] +  (0.8ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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.995519"], ["updated_at", "2016-07-05 17:34:46.995519"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]] + SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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"]] + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.001953"], ["updated_at", "2016-07-05 17:34:47.001953"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-07-05 17:34:47.006084"], ["updated_at", "2016-07-05 17:34:47.006084"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-07-05 17:34:47.019651"], ["updated_at", "2016-07-05 17:34:47.019651"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-07-05 17:34:47.026828"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.2ms) 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"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 4e1f22c0-9e45-408f-b725-0b2115625556) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.1ms) 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] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["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] Pulitzer::Version Load (0.0ms) 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] Pulitzer::ContentElement Load (0.0ms) 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] [4e1f22c0-9e45-408f-b725-0b2115625556] Pulitzer::ContentElementType Load (0.0ms) 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]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] SQL (0.1ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] SQL (0.1ms) 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.047742"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] SQL (0.1ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] Pulitzer::ContentElementType Load (0.0ms) 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]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] SQL (0.1ms) 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]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] SQL (0.0ms) 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.056600"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] Pulitzer::PostTag Load (0.0ms) 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]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] SQL (0.1ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [4e1f22c0-9e45-408f-b725-0b2115625556] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.72ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] + Pulitzer::Version Load (0.0ms) 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]] + Pulitzer::Version Load (0.1ms) 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]] + Pulitzer::Version Load (0.0ms) 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]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.073654"], ["updated_at", "2016-07-05 17:34:47.073654"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]] + SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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"]] + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.079888"], ["updated_at", "2016-07-05 17:34:47.079888"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-07-05 17:34:47.083091"], ["updated_at", "2016-07-05 17:34:47.083091"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_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"], ["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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-07-05 17:34:47.092049"], ["updated_at", "2016-07-05 17:34:47.092049"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-07-05 17:34:47.095689"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.0ms) 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"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) 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] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["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] Pulitzer::Version Load (0.0ms) 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] Pulitzer::ContentElement Load (0.0ms) 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] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] Pulitzer::ContentElementType Load (0.0ms) 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]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] SQL (0.1ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] SQL (0.1ms) 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.105704"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] SQL (0.1ms) 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] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] SQL (0.1ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] Pulitzer::ContentElementType Load (0.0ms) 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]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] SQL (0.1ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] SQL (0.1ms) 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.114503"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6]  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] Pulitzer::PostTag Load (0.0ms) 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]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] SQL (0.1ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c0128e5d-69ac-4833-b60d-9e0ef8c1d8c6] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.12ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) 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]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-07-05 17:34:47.125271"], ["id", 3]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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.127697"], ["updated_at", "2016-07-05 17:34:47.127697"]] +  (0.0ms) 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] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["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] Pulitzer::Post Load (0.0ms) 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] Pulitzer::Version Load (0.0ms) 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] [a931436b-6a45-4e03-8186-b90001533b4d] Pulitzer::ContentElement Load (0.1ms) 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] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] SQL (0.1ms) 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] [a931436b-6a45-4e03-8186-b90001533b4d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] SQL (0.1ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] Pulitzer::ContentElementType Load (0.0ms) 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]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] SQL (0.1ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] SQL (0.1ms) 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.141077"], ["id", 8]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] SQL (0.1ms) 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] [a931436b-6a45-4e03-8186-b90001533b4d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] SQL (0.1ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] Pulitzer::FreeFormSection Load (0.0ms) 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] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-07-05 17:34:47.148074"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [a931436b-6a45-4e03-8186-b90001533b4d] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.56ms + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) 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]] + Pulitzer::Version Load (0.0ms) 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]] + Pulitzer::Version Load (0.0ms) 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]] +  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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.158828"], ["updated_at", "2016-07-05 17:34:47.158828"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] + SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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"]] + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.164108"], ["updated_at", "2016-07-05 17:34:47.164108"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-07-05 17:34:47.168330"], ["updated_at", "2016-07-05 17:34:47.168330"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-07-05 17:34:47.186827"], ["updated_at", "2016-07-05 17:34:47.186827"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-07-05 17:34:47.190735"], ["id", 2]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) 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"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 5bce1acb-d2b4-4143-99c1-8c9ec2465a2a) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 +[ActiveJob] Pulitzer::Version Load (0.0ms) 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] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["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] Pulitzer::Version Load (0.1ms) 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] Pulitzer::ContentElement Load (0.1ms) 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] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] Pulitzer::ContentElementType Load (0.0ms) 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]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] SQL (0.1ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] SQL (0.1ms) 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.204694"], ["id", 4]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] SQL (0.0ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] Pulitzer::ContentElementType Load (0.0ms) 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]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] SQL (0.1ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] SQL (0.1ms) 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.214596"], ["id", 6]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] Pulitzer::PostTag Load (0.0ms) 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]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] SQL (0.0ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [5bce1acb-d2b4-4143-99c1-8c9ec2465a2a] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.43ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-07-05 17:34:47.224365"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) 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]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] + Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.0ms) 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]] + Pulitzer::Version Load (0.0ms) 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]] + Pulitzer::Version Load (0.0ms) 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]] +  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The North Remembers' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The North Remembers"], ["created_at", "2016-07-05 17:34:47.234553"], ["updated_at", "2016-07-05 17:34:47.234553"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] + SQL (0.1ms) 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"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.242083"], ["updated_at", "2016-07-05 17:34:47.242083"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-07-05 17:34:47.251458"], ["updated_at", "2016-07-05 17:34:47.251458"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The South Forgets' LIMIT 1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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", 2], ["created_at", "2016-07-05 17:34:47.269742"], ["updated_at", "2016-07-05 17:34:47.269742"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) 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"]] + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-07-05 17:34:47.274831"], ["id", 2]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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.276749"], ["updated_at", "2016-07-05 17:34:47.276749"]] +  (0.1ms) 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] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["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] Pulitzer::Post Load (0.0ms) 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] Pulitzer::Version Load (0.0ms) 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] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] Pulitzer::ContentElement Load (0.0ms) 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] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] SQL (0.1ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] Pulitzer::ContentElementType Load (0.1ms) 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]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] SQL (0.1ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] SQL (0.1ms) 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.290217"], ["id", 5]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] SQL (0.0ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] Pulitzer::FreeFormSection Load (0.0ms) 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] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] SQL (0.1ms) 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", 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9]  (0.1ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] SQL (0.1ms) 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]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9]  (0.0ms) SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-07-05 17:34:47.301237"], ["id", 3]] +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9]  (0.0ms) RELEASE SAVEPOINT active_record_1 +[ActiveJob] [Pulitzer::CloneVersionJob] [c044d505-1cd2-4a44-9770-340fc0c5a4b9] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.6ms + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 25' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 25"], ["created_at", "2016-07-05 17:34:47.314197"], ["updated_at", "2016-07-05 17:34:47.314197"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.2ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 26' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 26"], ["created_at", "2016-07-05 17:34:47.325031"], ["updated_at", "2016-07-05 17:34:47.325031"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 27' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 27"], ["created_at", "2016-07-05 17:34:47.330118"], ["updated_at", "2016-07-05 17:34:47.330118"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 28' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 28"], ["created_at", "2016-07-05 17:34:47.334856"], ["updated_at", "2016-07-05 17:34:47.334856"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-07-05 17:34:47.340103"], ["updated_at", "2016-07-05 17:34:47.340103"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.2ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 29' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 29"], ["created_at", "2016-07-05 17:34:47.357035"], ["updated_at", "2016-07-05 17:34:47.357035"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 30' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 30"], ["created_at", "2016-07-05 17:34:47.361966"], ["updated_at", "2016-07-05 17:34:47.361966"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-07-05 17:34:47.367627"], ["updated_at", "2016-07-05 17:34:47.367627"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]] +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]] + SQL (0.5ms) 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"]] + SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.569362"], ["updated_at", "2016-07-05 17:34:47.569362"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-07-05 17:34:47.576804"], ["updated_at", "2016-07-05 17:34:47.576804"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] +  (0.8ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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.584084"], ["updated_at", "2016-07-05 17:34:47.584084"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-11"]] + SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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"]] + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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.594933"], ["updated_at", "2016-07-05 17:34:47.594933"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-12"]] + SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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"]] + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] + SQL (0.2ms) 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]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 25' LIMIT 1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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.613662"], ["updated_at", "2016-07-05 17:34:47.613662"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-13"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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"]] + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.619880"], ["updated_at", "2016-07-05 17:34:47.619880"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 31' LIMIT 1 + SQL (0.4ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 26' LIMIT 1 +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) begin transaction + Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 27' LIMIT 1 + SQL (0.4ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 28' LIMIT 1 + SQL (0.4ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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.725706"], ["updated_at", "2016-07-05 17:34:47.725706"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-14"]] + SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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"]] + SQL (0.2ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-07-05 17:34:47.733485"], ["updated_at", "2016-07-05 17:34:47.733485"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 29' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 29"], ["created_at", "2016-07-05 17:34:47.735552"], ["updated_at", "2016-07-05 17:34:47.735552"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.2ms) 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]] +  (0.7ms) rollback transaction +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 30' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 30"], ["hierarchical", "t"], ["created_at", "2016-07-05 17:34:47.746115"], ["updated_at", "2016-07-05 17:34:47.746115"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 31' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 31"], ["created_at", "2016-07-05 17:34:47.749479"], ["updated_at", "2016-07-05 17:34:47.749479"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' + Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 32' LIMIT 1 + SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 32"], ["created_at", "2016-07-05 17:34:47.756047"], ["updated_at", "2016-07-05 17:34:47.756047"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 33' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-07-05 17:34:47.759680' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 34' LIMIT 1 + SQL (0.1ms) 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"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-07-05 17:34:47.762905' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 2]] + Pulitzer::Tag Exists (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 3]] +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 35' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 35"], ["hierarchical", "t"], ["created_at", "2016-07-05 17:34:47.769962"], ["updated_at", "2016-07-05 17:34:47.769962"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 36' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 36"], ["created_at", "2016-07-05 17:34:47.772441"], ["updated_at", "2016-07-05 17:34:47.772441"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 37' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-07-05 17:34:47.775851' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 38' LIMIT 1 + SQL (0.2ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 39' LIMIT 1 + SQL (0.4ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 40' LIMIT 1 + SQL (0.1ms) 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"]] + SQL (0.2ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-07-05 17:34:47.786951' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 41' LIMIT 1 + SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 41"], ["hierarchical", "t"], ["created_at", "2016-07-05 17:34:47.792105"], ["updated_at", "2016-07-05 17:34:47.792105"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 42' LIMIT 1 + SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 42"], ["created_at", "2016-07-05 17:34:47.794469"], ["updated_at", "2016-07-05 17:34:47.794469"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 43' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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"]] + SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2016-07-05 17:34:47.798343' WHERE "pulitzer_tags"."id" = ? [["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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.803793"], ["updated_at", "2016-07-05 17:34:47.803793"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-15"]] + SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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"]] + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.6ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.0ms) begin transaction +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 44' LIMIT 1 + SQL (0.3ms) 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"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) 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.834741"], ["updated_at", "2016-07-05 17:34:47.834741"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-16"]] + SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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"]] + SQL (0.1ms) 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"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-07-05 17:34:47.841872"], ["updated_at", "2016-07-05 17:34:47.841872"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) 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"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) 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"]] +  (0.1ms) 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]] + Pulitzer::PostTag Load (0.1ms) 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"]] + Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] +  (0.8ms) rollback transaction