(1.1ms) 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.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.8ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)   (0.7ms) 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.7ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)   (0.7ms) 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, "required" boolean DEFAULT 'f')  (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)   (1.0ms) 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.2ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")  (0.9ms) 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.6ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160927160910') 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.2ms) 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.1ms) rollback transaction  (4.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.5ms) select sqlite_version(*)  (0.9ms) 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.9ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.7ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.3ms) 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.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.0ms) begin transaction  (0.3ms) 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.0ms) begin transaction  (0.4ms) 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.9ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (0.9ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.1ms) begin transaction  (0.7ms) 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.8ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.8ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.8ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.0ms) 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.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2017-02-06 22:33:45.079299"], ["updated_at", "2017-02-06 22:33:45.079299"]] 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", "2017-02-06 22:33:45.081920"], ["updated_at", "2017-02-06 22:33:45.081920"]] 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", "2017-02-06 22:33:45.083257"], ["updated_at", "2017-02-06 22:33:45.083257"]] 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.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.9ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.2ms) begin transaction  (0.3ms) 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.1ms) SELECT * FROM "pulitzer_post_tags"  (1.0ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.8ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) begin transaction  (0.4ms) 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.9ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.0ms) begin transaction  (0.4ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.8ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.0ms) begin transaction  (0.2ms) 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.3ms) 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.0ms) SELECT * FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) 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.1ms) SELECT * FROM "pulitzer_post_tags"  (0.2ms) DROP TABLE "pulitzer_post_tags"  (0.5ms) 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"]]  (3.4ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.8ms) 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.1ms) SELECT * FROM "pulitzer_post_types"  (0.5ms) DROP TABLE "pulitzer_post_types"  (0.3ms) 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.1ms) SELECT * FROM "apulitzer_post_types"  (0.3ms) DROP TABLE "apulitzer_post_types"  (0.3ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (1.7ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.8ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.8ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]  (0.8ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.1ms) begin transaction  (0.3ms) 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"]]  (0.7ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.0ms) 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.8ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.0ms) begin transaction  (0.3ms) 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.8ms) 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.2ms) 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.5ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (0.9ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.9ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.8ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.0ms) begin transaction  (0.2ms) 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.1ms) SELECT * FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.8ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.7ms) 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.1ms)  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.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) DELETE FROM "pulitzer_content_element_types";  (0.1ms) 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.7ms) 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.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (0.7ms) 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.7ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.7ms) 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.2ms) 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.8ms) 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.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2017-02-06 22:33:54.747719"], ["updated_at", "2017-02-06 22:33:54.747719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Flock of birds", "kind"=>"template", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["plural", "t"], ["created_at", "2017-02-06 22:34:12.215808"], ["updated_at", "2017-02-06 22:34:12.215808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (14.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (18.2ms) Completed 200 OK in 17495ms (Views: 34.2ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (1.0ms) 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.7ms) DELETE FROM "pulitzer_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (0.7ms) 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.6ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.7ms) DELETE FROM "pulitzer_post_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';  (0.8ms) 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.9ms) 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.9ms) 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.8ms) 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.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2017-02-06 22:35:20.508861"], ["updated_at", "2017-02-06 22:35:20.508861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Flock of birds", "kind"=>"template", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["plural", "t"], ["created_at", "2017-02-06 22:35:20.520533"], ["updated_at", "2017-02-06 22:35:20.520533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (7.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (11.3ms) Completed 200 OK in 24ms (Views: 20.0ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5.8ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (1.3ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.9ms) DELETE FROM "pulitzer_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (1.3ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (1.2ms) DELETE FROM "pulitzer_versions";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.0ms) DELETE FROM "pulitzer_post_tags";  (0.2ms) 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.9ms) 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.6ms) 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.9ms) DELETE FROM "pulitzer_layouts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';  (0.8ms) 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.2ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2017-02-06 22:35:45.097156"], ["updated_at", "2017-02-06 22:35:45.097156"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Flock of birds", "kind"=>"template", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["plural", "t"], ["created_at", "2017-02-06 22:35:45.109720"], ["updated_at", "2017-02-06 22:35:45.109720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (7.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (11.5ms) Completed 200 OK in 23ms (Views: 19.9ms | ActiveRecord: 0.2ms)  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) DELETE FROM "pulitzer_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_content_element_types';  (0.8ms) DELETE FROM "pulitzer_posts";  (0.2ms) 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.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (0.7ms) 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.7ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.7ms) 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.9ms) 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.9ms) DELETE FROM "pulitzer_partials";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';  (0.9ms) 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.8ms) 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 Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Flock of birds", "kind"=>"template", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["plural", "t"], ["created_at", "2017-02-06 22:36:22.694534"], ["updated_at", "2017-02-06 22:36:22.694534"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (6.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (11.1ms) Completed 200 OK in 32ms (Views: 19.4ms | ActiveRecord: 0.9ms)  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) 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.7ms) DELETE FROM "pulitzer_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (0.7ms) 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.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.8ms) DELETE FROM "pulitzer_post_tags";  (0.2ms) 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.9ms) 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 Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Flock of birds", "kind"=>"template", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["plural", "t"], ["created_at", "2017-02-06 22:58:32.284997"], ["updated_at", "2017-02-06 22:58:32.284997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (7.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (11.6ms) Completed 200 OK in 34ms (Views: 22.5ms | ActiveRecord: 0.8ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Flock of birs"]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.1ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (0.9ms) 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.7ms) DELETE FROM "pulitzer_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (0.7ms) 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.7ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.7ms) DELETE FROM "pulitzer_post_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';  (1.1ms) 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.8ms) 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.8ms) 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 Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Flock of birds", "kind"=>"template", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["plural", "t"], ["created_at", "2017-02-06 22:58:43.196794"], ["updated_at", "2017-02-06 22:58:43.196794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (11.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (15.2ms) Completed 200 OK in 37ms (Views: 25.6ms | ActiveRecord: 0.9ms) Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Flock of birds"]] Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.8ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) 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.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (0.7ms) 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.7ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.8ms) 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';  (1.0ms) DELETE FROM "pulitzer_post_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.8ms) 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.8ms) 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.1ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Flock of birds", "kind"=>"template", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["plural", "t"], ["created_at", "2017-02-06 22:58:57.012774"], ["updated_at", "2017-02-06 22:58:57.012774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (11.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (17.1ms) Completed 200 OK in 41ms (Views: 27.8ms | ActiveRecord: 1.0ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Flock of birds"]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]]  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.0ms) DELETE FROM "pulitzer_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_content_element_types';  (0.9ms) 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.7ms) DELETE FROM "pulitzer_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (0.7ms) 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.7ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.8ms) 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.8ms) 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.9ms) 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.6ms) 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 Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Flock of birds", "kind"=>"template", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["plural", "t"], ["created_at", "2017-02-06 23:00:32.903203"], ["updated_at", "2017-02-06 23:00:32.903203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (8.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (12.4ms) Completed 200 OK in 35ms (Views: 23.4ms | ActiveRecord: 0.9ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Flock of birds"]] Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Crow", "kind"=>"template", "plural"=>"0"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Crow"], ["plural", "f"], ["created_at", "2017-02-06 23:00:32.967983"], ["updated_at", "2017-02-06 23:00:32.967983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 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", "crow"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Crow"], ["post_type_id", 1], ["slug", "crow"], ["created_at", "2017-02-06 23:00:33.068482"], ["updated_at", "2017-02-06 23:00:33.068482"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-06 23:00:33.074288"], ["updated_at", "2017-02-06 23:00:33.074288"]]  (0.0ms) RELEASE SAVEPOINT active_record_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.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::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (8.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (9.2ms) Completed 200 OK in 128ms (Views: 9.5ms | ActiveRecord: 1.7ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Crow"]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) 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.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (0.7ms) 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.7ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.7ms) DELETE FROM "pulitzer_post_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';  (1.0ms) DELETE FROM "pulitzer_post_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.9ms) DELETE FROM "pulitzer_partials";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';  (0.8ms) 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 Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Flock of birds", "kind"=>"template", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["plural", "t"], ["created_at", "2017-02-06 23:01:30.248536"], ["updated_at", "2017-02-06 23:01:30.248536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (7.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (11.1ms) Completed 200 OK in 33ms (Views: 21.0ms | ActiveRecord: 0.8ms) Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Flock of birds"]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Crow", "kind"=>"template", "plural"=>"0"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Crow"], ["plural", "f"], ["created_at", "2017-02-06 23:01:30.315728"], ["updated_at", "2017-02-06 23:01:30.315728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 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", "crow"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Crow"], ["post_type_id", 1], ["slug", "crow"], ["created_at", "2017-02-06 23:01:30.407299"], ["updated_at", "2017-02-06 23:01:30.407299"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-06 23:01:30.413487"], ["updated_at", "2017-02-06 23:01:30.413487"]]  (0.1ms) RELEASE SAVEPOINT active_record_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.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]] 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::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (17.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (17.7ms) Completed 200 OK in 134ms (Views: 18.1ms | ActiveRecord: 2.4ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Crow"]]  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.8ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (1.0ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.9ms) DELETE FROM "pulitzer_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (1.3ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.2ms) 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';  (1.1ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.1ms) DELETE FROM "pulitzer_post_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';  (1.0ms) DELETE FROM "pulitzer_post_types";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (1.0ms) DELETE FROM "pulitzer_partials";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';  (1.6ms) DELETE FROM "pulitzer_free_form_section_types";  (0.2ms) 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';  (1.1ms) DELETE FROM "pulitzer_free_form_sections";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';  (1.2ms) DELETE FROM "pulitzer_layouts";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';  (1.1ms) DELETE FROM "pulitzer_content_elements";  (0.3ms) 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.1ms) commit transaction  (0.1ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Flock of birds", "kind"=>"template", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["plural", "t"], ["created_at", "2017-02-06 23:02:57.033412"], ["updated_at", "2017-02-06 23:02:57.033412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (15.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (19.9ms) Completed 200 OK in 43ms (Views: 30.0ms | ActiveRecord: 0.9ms) Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Flock of birds"]] Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]]  (3.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Crow", "kind"=>"template", "plural"=>"0"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Crow"], ["plural", "f"], ["created_at", "2017-02-06 23:02:57.098104"], ["updated_at", "2017-02-06 23:02:57.098104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 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", "crow"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Crow"], ["post_type_id", 1], ["slug", "crow"], ["created_at", "2017-02-06 23:02:57.197665"], ["updated_at", "2017-02-06 23:02:57.197665"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-06 23:02:57.203499"], ["updated_at", "2017-02-06 23:02:57.203499"]]  (0.0ms) RELEASE SAVEPOINT active_record_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.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::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (7.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (8.1ms) Completed 200 OK in 126ms (Views: 8.4ms | ActiveRecord: 1.8ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Crow"]]  (3.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.0ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (0.7ms) 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.1ms) 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.7ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.9ms) DELETE FROM "pulitzer_post_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';  (0.9ms) 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.5ms) 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 Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Flock of birds", "kind"=>"template", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["plural", "t"], ["created_at", "2017-02-06 23:03:14.991033"], ["updated_at", "2017-02-06 23:03:14.991033"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (7.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (11.4ms) Completed 200 OK in 34ms (Views: 21.1ms | ActiveRecord: 0.9ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Flock of birds"]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]]  (3.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Crow", "kind"=>"template", "plural"=>"0"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Crow"], ["plural", "f"], ["created_at", "2017-02-06 23:03:15.048209"], ["updated_at", "2017-02-06 23:03:15.048209"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "crow"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Crow"], ["post_type_id", 1], ["slug", "crow"], ["created_at", "2017-02-06 23:03:15.148886"], ["updated_at", "2017-02-06 23:03:15.148886"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-06 23:03:15.155163"], ["updated_at", "2017-02-06 23:03:15.155163"]]  (0.0ms) RELEASE SAVEPOINT active_record_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.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]] 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::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (9.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (9.4ms) Completed 200 OK in 130ms (Views: 9.8ms | ActiveRecord: 2.0ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Crow"]]  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.6ms) DELETE FROM "pulitzer_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_content_element_types';  (0.7ms) 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.7ms) DELETE FROM "pulitzer_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (0.7ms) 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.7ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.7ms) DELETE FROM "pulitzer_post_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';  (1.0ms) 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.8ms) 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.8ms) 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.8ms) 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 Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Flock of birds", "kind"=>"template", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["plural", "t"], ["created_at", "2017-02-06 23:03:53.345011"], ["updated_at", "2017-02-06 23:03:53.345011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (8.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (11.8ms) Completed 200 OK in 32ms (Views: 20.5ms | ActiveRecord: 0.8ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Flock of birds"]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]]  (3.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Crow", "kind"=>"template", "plural"=>"0"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Crow"], ["plural", "f"], ["created_at", "2017-02-06 23:03:53.402058"], ["updated_at", "2017-02-06 23:03:53.402058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "crow"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Crow"], ["post_type_id", 1], ["slug", "crow"], ["created_at", "2017-02-06 23:03:53.513321"], ["updated_at", "2017-02-06 23:03:53.513321"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-06 23:03:53.519580"], ["updated_at", "2017-02-06 23:03:53.519580"]]  (0.0ms) RELEASE SAVEPOINT active_record_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.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::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (9.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (9.4ms) Completed 200 OK in 139ms (Views: 9.8ms | ActiveRecord: 1.8ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Crow"]]  (0.2ms) SELECT COUNT(*) FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]  (3.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.1ms) DELETE FROM "pulitzer_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_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.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (0.7ms) 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.7ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.8ms) DELETE FROM "pulitzer_post_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';  (0.9ms) 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';  (1.4ms) DELETE FROM "pulitzer_partials";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';  (1.1ms) DELETE FROM "pulitzer_free_form_section_types";  (0.2ms) 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.8ms) 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.8ms) 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 Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Flock of birds", "kind"=>"template", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["plural", "t"], ["created_at", "2017-02-06 23:04:28.560476"], ["updated_at", "2017-02-06 23:04:28.560476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (10.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (13.9ms) Completed 200 OK in 39ms (Views: 25.0ms | ActiveRecord: 1.0ms) Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Flock of birds"]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Crow", "kind"=>"template", "plural"=>"0"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Crow"], ["plural", "f"], ["created_at", "2017-02-06 23:04:28.623738"], ["updated_at", "2017-02-06 23:04:28.623738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "crow"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Crow"], ["post_type_id", 1], ["slug", "crow"], ["created_at", "2017-02-06 23:04:28.730705"], ["updated_at", "2017-02-06 23:04:28.730705"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-06 23:04:28.739853"], ["updated_at", "2017-02-06 23:04:28.739853"]]  (0.1ms) RELEASE SAVEPOINT active_record_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.2ms) 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::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (8.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (8.5ms) Completed 200 OK in 139ms (Views: 8.7ms | ActiveRecord: 2.4ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Crow"]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.8ms) DELETE FROM "pulitzer_content_element_types";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (0.9ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.9ms) DELETE FROM "pulitzer_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (1.2ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (1.3ms) DELETE FROM "pulitzer_versions";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (2.4ms) DELETE FROM "pulitzer_post_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';  (0.8ms) 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.8ms) 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.6ms) 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.6ms) 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 Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Flock of birds", "kind"=>"template", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["plural", "t"], ["created_at", "2017-02-06 23:04:40.867087"], ["updated_at", "2017-02-06 23:04:40.867087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (8.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (12.9ms) Completed 200 OK in 34ms (Views: 21.2ms | ActiveRecord: 0.9ms) Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Flock of birds"]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]]  (3.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Crow", "kind"=>"template", "plural"=>"0"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Crow"], ["plural", "f"], ["created_at", "2017-02-06 23:04:40.924067"], ["updated_at", "2017-02-06 23:04:40.924067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "crow"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Crow"], ["post_type_id", 1], ["slug", "crow"], ["created_at", "2017-02-06 23:04:41.030231"], ["updated_at", "2017-02-06 23:04:41.030231"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-06 23:04:41.037378"], ["updated_at", "2017-02-06 23:04:41.037378"]]  (0.1ms) RELEASE SAVEPOINT active_record_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.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::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (9.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (9.2ms) Completed 200 OK in 136ms (Views: 9.4ms | ActiveRecord: 2.0ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Crow"]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]]  (3.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5.2ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (0.9ms) 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.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (0.7ms) 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.6ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.6ms) 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';  (1.0ms) 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.8ms) 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.1ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Flock of birds", "kind"=>"template", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["plural", "t"], ["created_at", "2017-02-06 23:04:45.117327"], ["updated_at", "2017-02-06 23:04:45.117327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (7.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (10.9ms) Completed 200 OK in 31ms (Views: 19.5ms | ActiveRecord: 0.9ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Flock of birds"]] Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]]  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Crow", "kind"=>"template", "plural"=>"0"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Crow"], ["plural", "f"], ["created_at", "2017-02-06 23:04:45.170137"], ["updated_at", "2017-02-06 23:04:45.170137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 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", "crow"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Crow"], ["post_type_id", 1], ["slug", "crow"], ["created_at", "2017-02-06 23:04:45.270724"], ["updated_at", "2017-02-06 23:04:45.270724"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-06 23:04:45.276601"], ["updated_at", "2017-02-06 23:04:45.276601"]]  (0.0ms) RELEASE SAVEPOINT active_record_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.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::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (9.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (10.1ms) Completed 200 OK in 129ms (Views: 10.4ms | ActiveRecord: 1.8ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Crow"]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]]  (1.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) DELETE FROM "pulitzer_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (1.1ms) 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';  (1.2ms) DELETE FROM "pulitzer_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (0.9ms) 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.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.8ms) DELETE FROM "pulitzer_post_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';  (1.1ms) DELETE FROM "pulitzer_post_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (1.2ms) DELETE FROM "pulitzer_partials";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';  (1.5ms) DELETE FROM "pulitzer_free_form_section_types";  (0.2ms) 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';  (1.5ms) DELETE FROM "pulitzer_free_form_sections";  (0.2ms) 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';  (1.0ms) 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.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2017-02-27 21:00:17.646780"], ["updated_at", "2017-02-27 21:00:17.646780"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::FreeFormSectionTypesController#new as HTML Parameters: {"post_type_id"=>"1"} Pulitzer::PostType Load (0.2ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (9.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (46.4ms) Completed 200 OK in 88ms (Views: 61.8ms | ActiveRecord: 0.5ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2017-02-27 21:00:17.755160"], ["updated_at", "2017-02-27 21:00:17.755160"]]  (0.1ms) 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.2ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (8.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (10.4ms) Completed 200 OK in 18ms (Views: 12.4ms | ActiveRecord: 0.6ms) 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.5ms) 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", "free as a bird"], ["plural", "t"], ["created_at", "2017-02-27 21:00:17.783643"], ["updated_at", "2017-02-27 21:00:17.783643"]]  (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", "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.2ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (8.5ms) Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2017-02-27 21:00:17.806008"], ["updated_at", "2017-02-27 21:00:17.806008"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (7.5ms) Completed 200 OK in 12ms (Views: 8.0ms | 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.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2017-02-27 21:00:17.831448"], ["updated_at", "2017-02-27 21:00:17.831448"]]  (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", "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.1ms) 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 text template (0.0ms) Completed 200 OK in 8ms (Views: 4.3ms | 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.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2017-02-27 21:00:17.851445"], ["updated_at", "2017-02-27 21:00:17.851445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::PartialsController#new as HTML Parameters: {"partial"=>{"free_form_section_id"=>"1"}} Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] Pulitzer::PostType Load (0.1ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_new.html.erb (15.0ms) Completed 200 OK in 32ms (Views: 20.3ms | ActiveRecord: 0.8ms)  (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", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2017-02-27 21:00:17.902098"], ["updated_at", "2017-02-27 21:00:17.902098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]  (0.1ms) 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.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) 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.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]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.3ms) Pulitzer::ContentElement Load (0.2ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (4.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_show.html.erb (13.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (16.4ms) Completed 200 OK in 30ms (Views: 18.5ms | ActiveRecord: 1.1ms) Pulitzer::Partial Load (0.5ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT 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.4ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", "2017-02-27 21:00:17.948762"], ["updated_at", "2017-02-27 21:00:17.948762"]]  (0.1ms) 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.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.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::PartialsController#edit as HTML Parameters: {"id"=>"1"} Pulitzer::Partial Load (0.3ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_form.html.erb (32.9ms) Completed 200 OK in 37ms (Views: 35.1ms | ActiveRecord: 0.5ms)  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Left Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2017-02-27 21:00:18.001437"], ["updated_at", "2017-02-27 21:00:18.001437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", "2017-02-27 21:00:18.011259"], ["updated_at", "2017-02-27 21:00:18.011259"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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) 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.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_show.html.erb (6.8ms) Completed 200 OK in 9ms (Views: 7.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 Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Flock of birds", "kind"=>"template", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["plural", "t"], ["created_at", "2017-02-27 21:00:18.044559"], ["updated_at", "2017-02-27 21:00:18.044559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (14.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (16.7ms) Completed 200 OK in 26ms (Views: 21.6ms | ActiveRecord: 0.7ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Flock of birds"]] Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"name"=>"Crow", "kind"=>"template", "plural"=>"0"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Crow"], ["plural", "f"], ["created_at", "2017-02-27 21:00:18.089074"], ["updated_at", "2017-02-27 21:00:18.089074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "crow"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Crow"], ["post_type_id", 1], ["slug", "crow"], ["created_at", "2017-02-27 21:00:18.215067"], ["updated_at", "2017-02-27 21:00:18.215067"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:18.223947"], ["updated_at", "2017-02-27 21:00:18.223947"]]  (0.1ms) RELEASE SAVEPOINT active_record_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.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::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::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (13.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (13.6ms) Completed 200 OK in 157ms (Views: 14.0ms | ActiveRecord: 2.2ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT 1 [["name", "Crow"]]  (0.2ms) SELECT COUNT(*) FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 [["post_type_id", 1]]  (1.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", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2017-02-27 21:00:18.252832"], ["updated_at", "2017-02-27 21:00:18.252832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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.2ms) 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", "2017-02-27 21:00:18.256831"], ["updated_at", "2017-02-27 21:00:18.256831"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:18.260317"], ["updated_at", "2017-02-27 21:00:18.260317"]]  (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", "2017-02-27 21:00:18.263429"], ["updated_at", "2017-02-27 21:00:18.263429"]]  (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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2017-02-27 21:00:18.280926"], ["updated_at", "2017-02-27 21:00:18.280926"]]  (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 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", "2017-02-27 21:00:18.283563"], ["updated_at", "2017-02-27 21:00:18.283563"]]  (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.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2017-02-27 21:00:18.286316"], ["updated_at", "2017-02-27 21:00:18.286316"]]  (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", "2017-02-27 21:00:18.287922"], ["updated_at", "2017-02-27 21:00:18.287922"]]  (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 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2017-02-27 21:00:18.292817"], ["updated_at", "2017-02-27 21:00:18.292817"]]  (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 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", "2017-02-27 21:00:18.295799"], ["updated_at", "2017-02-27 21:00:18.295799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"abandoned", "id"=>"2"} Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Version Load (0.2ms) 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", "2017-02-27 21:00:18.310357"], ["id", 2]]  (0.1ms) 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 Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? [["post_id", 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 [["version_id", 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", 1]] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 1]] 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]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 3]] 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]] SQL (0.0ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "pulitzer_posts" WHERE "pulitzer_posts"."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]] Completed 200 OK in 35ms (Views: 0.2ms | ActiveRecord: 2.1ms) Pulitzer::Version Load (0.1ms) 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]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) commit transaction  (0.0ms) begin transaction  (0.1ms) 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", "2017-02-27 21:00:18.347568"], ["updated_at", "2017-02-27 21:00:18.347568"]]  (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.1ms) 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", "2017-02-27 21:00:18.350986"], ["updated_at", "2017-02-27 21:00:18.350986"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:18.353105"], ["updated_at", "2017-02-27 21:00:18.353105"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:18.355673"], ["updated_at", "2017-02-27 21:00:18.355673"]]  (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 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2017-02-27 21:00:18.361298"], ["updated_at", "2017-02-27 21:00:18.361298"]]  (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 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", "2017-02-27 21:00:18.363180"], ["updated_at", "2017-02-27 21:00:18.363180"]]  (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 5' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2017-02-27 21:00:18.366362"], ["updated_at", "2017-02-27 21:00:18.366362"]]  (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 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", "2017-02-27 21:00:18.368026"], ["updated_at", "2017-02-27 21:00:18.368026"]]  (0.2ms) 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 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2017-02-27 21:00:18.371728"], ["updated_at", "2017-02-27 21:00:18.371728"]]  (0.1ms) 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 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", "2017-02-27 21:00:18.374834"], ["updated_at", "2017-02-27 21:00:18.374834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' 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]] 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.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2017-02-27 21:00:18.384283"], ["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.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2017-02-27 21:00:18.387460"], ["updated_at", "2017-02-27 21:00:18.387460"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 3c4414c9-d253-4937-8119-f67a5af1aa57) 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] [3c4414c9-d253-4937-8119-f67a5af1aa57] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57] 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] [3c4414c9-d253-4937-8119-f67a5af1aa57] 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] [3c4414c9-d253-4937-8119-f67a5af1aa57] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57] 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", "2017-02-27 21:00:18.363180"], ["updated_at", "2017-02-27 21:00:18.363180"]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:18.403419"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57] 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", "2017-02-27 21:00:18.368026"], ["updated_at", "2017-02-27 21:00:18.368026"]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:18.411711"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57] 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] [3c4414c9-d253-4937-8119-f67a5af1aa57]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57] 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", "2017-02-27 21:00:18.374834"], ["updated_at", "2017-02-27 21:00:18.374834"]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:18.417394"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57] 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] [3c4414c9-d253-4937-8119-f67a5af1aa57] 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] [3c4414c9-d253-4937-8119-f67a5af1aa57]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2017-02-27 21:00:18.420002"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c4414c9-d253-4937-8119-f67a5af1aa57] Performed Pulitzer::CloneVersionJob from Inline(default) in 30.56ms 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"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]] Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"abandoned", "id"=>"2"} Pulitzer::Version Load (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2017-02-27 21:00:18.433213"], ["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"]] 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.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."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/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (3.9ms) 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", 3], ["label_type", "Pulitzer::Tag"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (5.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (8.2ms) 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", 3], ["label_type", "SearchLocation"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (3.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (3.4ms) Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 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]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (10.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (43.1ms) Completed 200 OK in 55ms (Views: 0.3ms | ActiveRecord: 1.0ms) 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]]  (1.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", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2017-02-27 21:00:18.495351"], ["updated_at", "2017-02-27 21:00:18.495351"]]  (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.1ms) 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", "2017-02-27 21:00:18.498182"], ["updated_at", "2017-02-27 21:00:18.498182"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:18.500376"], ["updated_at", "2017-02-27 21:00:18.500376"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:18.501909"], ["updated_at", "2017-02-27 21:00:18.501909"]]  (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 7' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2017-02-27 21:00:18.505631"], ["updated_at", "2017-02-27 21:00:18.505631"]]  (0.1ms) 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 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", "2017-02-27 21:00:18.509380"], ["updated_at", "2017-02-27 21:00:18.509380"]]  (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 8' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2017-02-27 21:00:18.512925"], ["updated_at", "2017-02-27 21:00:18.512925"]]  (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 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", "2017-02-27 21:00:18.514895"], ["updated_at", "2017-02-27 21:00:18.514895"]]  (0.2ms) 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", "2017-02-27 21:00:18.517690"], ["updated_at", "2017-02-27 21:00:18.517690"]]  (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 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", "2017-02-27 21:00:18.519237"], ["updated_at", "2017-02-27 21:00:18.519237"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' 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]] 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", "2017-02-27 21:00:18.526079"], ["id", 2]]  (0.1ms) 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.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2017-02-27 21:00:18.529785"], ["updated_at", "2017-02-27 21:00:18.529785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 2ccbdd43-a296-4d18-b5a7-56995d23cca5) 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] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] 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] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] 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] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] 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] [2ccbdd43-a296-4d18-b5a7-56995d23cca5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] 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 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", "2017-02-27 21:00:18.509380"], ["updated_at", "2017-02-27 21:00:18.509380"]] [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:18.543460"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] 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] [2ccbdd43-a296-4d18-b5a7-56995d23cca5]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] 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", "2017-02-27 21:00:18.514895"], ["updated_at", "2017-02-27 21:00:18.514895"]] [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:18.550406"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] 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] [2ccbdd43-a296-4d18-b5a7-56995d23cca5]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] 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", "2017-02-27 21:00:18.519237"], ["updated_at", "2017-02-27 21:00:18.519237"]] [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:18.556590"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] 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] [2ccbdd43-a296-4d18-b5a7-56995d23cca5]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2017-02-27 21:00:18.560746"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2ccbdd43-a296-4d18-b5a7-56995d23cca5] Performed Pulitzer::CloneVersionJob from Inline(default) in 31.36ms 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"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"abandoned", "id"=>"3"} Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] 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"."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", "2017-02-27 21:00:18.572522"], ["id", 3]]  (0.1ms) 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", 3], ["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", "2017-02-27 21:00:18.576607"], ["updated_at", "2017-02-27 21:00:18.576607"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: b0a76b8b-4a8e-4a37-befd-4dd61aacf55e) 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] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] 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] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] 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] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] 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] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] 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", "2017-02-27 21:00:18.509380"], ["updated_at", "2017-02-27 21:00:18.509380"]] [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2017-02-27 21:00:18.588414"], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] 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] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] 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", "2017-02-27 21:00:18.514895"], ["updated_at", "2017-02-27 21:00:18.514895"]] [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2017-02-27 21:00:18.594259"], ["id", 8]] [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] 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] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] 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", "2017-02-27 21:00:18.519237"], ["updated_at", "2017-02-27 21:00:18.519237"]] [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2017-02-27 21:00:18.598730"], ["id", 9]] [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] 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] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] 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] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2017-02-27 21:00:18.601732"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b0a76b8b-4a8e-4a37-befd-4dd61aacf55e] Performed Pulitzer::CloneVersionJob from Inline(default) in 28.03ms 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"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (9.0ms) Completed 200 OK in 48ms (Views: 0.2ms | ActiveRecord: 2.9ms) Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] 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" = ? 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]]  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "required", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["label", "test"], ["required", "t"], ["created_at", "2017-02-27 21:00:18.633018"], ["updated_at", "2017-02-27 21:00:18.633018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", "2017-02-27 21:00:18.636636"], ["updated_at", "2017-02-27 21:00:18.636636"]]  (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-4"]] SQL (0.2ms) 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", "2017-02-27 21:00:18.640882"], ["updated_at", "2017-02-27 21:00:18.640882"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:18.644492"], ["updated_at", "2017-02-27 21:00:18.644492"]]  (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", "2017-02-27 21:00:18.646658"], ["updated_at", "2017-02-27 21:00:18.646658"]]  (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.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2017-02-27 21:00:18.649962"], ["updated_at", "2017-02-27 21:00:18.649962"]]  (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 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", "2017-02-27 21:00:18.676475"], ["updated_at", "2017-02-27 21:00:18.676475"]]  (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.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2017-02-27 21:00:18.679103"], ["updated_at", "2017-02-27 21:00:18.679103"]]  (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 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", "2017-02-27 21:00:18.680403"], ["updated_at", "2017-02-27 21:00:18.680403"]]  (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", "2017-02-27 21:00:18.682623"], ["updated_at", "2017-02-27 21:00:18.682623"]]  (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 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", "2017-02-27 21:00:18.684458"], ["updated_at", "2017-02-27 21:00:18.684458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.3ms) 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", 2]] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "body" = NULL, "post_type_content_element_type_id" = 1 WHERE "pulitzer_content_elements"."id" = ? [["id", 1]] Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"active", "id"=>"2"} Pulitzer::Version Load (0.1ms) 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::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = 't' 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]] Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_show_wrapper.html.erb (0.6ms) Pulitzer::PostTag Load (0.0ms) 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"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (3.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (3.4ms) 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", "SearchLocation"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (3.1ms) Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_content_element_types"."id" = "pulitzer_post_type_content_element_types"."content_element_type_id" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 1]] Pulitzer::FreeFormSectionType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? LIMIT 1 [["post_type_id", 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]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (6.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (19.1ms) Completed 409 Conflict in 23ms (Views: 0.5ms | ActiveRecord: 0.6ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2017-02-27 21:00:18.727752"], ["updated_at", "2017-02-27 21:00:18.727752"]]  (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 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 2"], ["hierarchical", "t"], ["created_at", "2017-02-27 21:00:18.731293"], ["updated_at", "2017-02-27 21:00:18.731293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#index as HTML Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.2ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (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 3' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2017-02-27 21:00:18.747471"], ["updated_at", "2017-02-27 21:00:18.747471"]]  (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.0ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 4"], ["hierarchical", "t"], ["created_at", "2017-02-27 21:00:18.749575"], ["updated_at", "2017-02-27 21:00:18.749575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#index as HTML Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.3ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f'  (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 5' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 5"], ["created_at", "2017-02-27 21:00:18.761427"], ["updated_at", "2017-02-27 21:00:18.761427"]]  (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 6' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 6"], ["hierarchical", "t"], ["created_at", "2017-02-27 21:00:18.763627"], ["updated_at", "2017-02-27 21:00:18.763627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#index as HTML Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_index.html.erb (0.4ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' AND "pulitzer_tags"."parent_id" IS NULL  (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.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 7' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 7"], ["created_at", "2017-02-27 21:00:18.774258"], ["updated_at", "2017-02-27 21:00:18.774258"]]  (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/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) 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 8' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 8"], ["created_at", "2017-02-27 21:00:18.785495"], ["updated_at", "2017-02-27 21:00:18.785495"]]  (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/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)  (0.5ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.2ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Processing by Pulitzer::TagsController#new as HTML Parameters: {"tag"=>{"hierarchical"=>true}} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.4ms) Completed 200 OK in 2ms (Views: 1.0ms | 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"=>false}} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 9"], ["created_at", "2017-02-27 21:00:18.831443"], ["updated_at", "2017-02-27 21:00:18.831443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.7ms)  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags"  (0.7ms) 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.1ms) 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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 10"], ["created_at", "2017-02-27 21:00:18.845593"], ["updated_at", "2017-02-27 21:00:18.845593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms) Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.5ms)  (0.4ms) rollback transaction  (0.0ms) 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.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2017-02-27 21:00:18.850710"], ["updated_at", "2017-02-27 21:00:18.850710"]]  (0.0ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) Completed 409 Conflict in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags"  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) 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", "2017-02-27 21:00:18.867754"], ["updated_at", "2017-02-27 21:00:18.867754"]]  (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.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) Completed 409 Conflict in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)  (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 13' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 13"], ["created_at", "2017-02-27 21:00:18.880573"], ["updated_at", "2017-02-27 21:00:18.880573"]]  (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/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (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 14' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 14"], ["created_at", "2017-02-27 21:00:18.893242"], ["updated_at", "2017-02-27 21:00:18.893242"]]  (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/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) Completed 200 OK in 1ms (Views: 0.5ms | 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", "2017-02-27 21:00:18.916632"], ["updated_at", "2017-02-27 21:00:18.916632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#update as HTML Parameters: {"tag"=>{"name"=>"The north 16"}, "id"=>"1"} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.4ms) Completed 409 Conflict in 1ms (Views: 1.1ms | 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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 17"], ["created_at", "2017-02-27 21:00:18.929561"], ["updated_at", "2017-02-27 21:00:18.929561"]]  (0.1ms) 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.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'The north 18' AND "pulitzer_tags"."id" != 1) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ? [["name", "The north 18"], ["updated_at", "2017-02-27 21:00:18.936497"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms)  (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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2017-02-27 21:00:18.944013"], ["updated_at", "2017-02-27 21:00:18.944013"]]  (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 20' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 20"], ["created_at", "2017-02-27 21:00:18.947293"], ["updated_at", "2017-02-27 21:00:18.947293"]]  (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.2ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.4ms) Completed 409 Conflict in 4ms (Views: 1.1ms | ActiveRecord: 0.3ms)  (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" = 'sadpanda' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2017-02-27 21:00:18.961845"], ["updated_at", "2017-02-27 21:00:18.961845"]]  (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 22' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 22"], ["created_at", "2017-02-27 21:00:18.964799"], ["updated_at", "2017-02-27 21:00:18.964799"]]  (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.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.3ms) Completed 409 Conflict in 4ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (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 23' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 23"], ["created_at", "2017-02-27 21:00:18.977769"], ["updated_at", "2017-02-27 21:00:18.977769"]]  (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.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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 24' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 24"], ["created_at", "2017-02-27 21:00:18.988703"], ["updated_at", "2017-02-27 21:00:18.988703"]]  (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.1ms) 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 4ms (Views: 0.3ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) 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", "2017-02-27 21:00:19.001756"], ["updated_at", "2017-02-27 21:00:19.001756"]]  (0.1ms) 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-5"]] SQL (0.1ms) 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", "2017-02-27 21:00:19.005172"], ["updated_at", "2017-02-27 21:00:19.005172"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:19.007750"], ["updated_at", "2017-02-27 21:00:19.007750"]]  (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", "2017-02-27 21:00:19.010447"], ["updated_at", "2017-02-27 21:00:19.010447"]]  (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 13' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2017-02-27 21:00:19.013338"], ["updated_at", "2017-02-27 21:00:19.013338"]]  (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 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", "2017-02-27 21:00:19.014938"], ["updated_at", "2017-02-27 21:00:19.014938"]]  (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 14' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2017-02-27 21:00:19.017278"], ["updated_at", "2017-02-27 21:00:19.017278"]]  (0.2ms) 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", "2017-02-27 21:00:19.027253"], ["updated_at", "2017-02-27 21:00:19.027253"]]  (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", "2017-02-27 21:00:19.032896"], ["updated_at", "2017-02-27 21:00:19.032896"]]  (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", "2017-02-27 21:00:19.034701"], ["updated_at", "2017-02-27 21:00:19.034701"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.2ms) 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", "2017-02-27 21:00:19.042919"], ["updated_at", "2017-02-27 21:00:19.042919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/goma/.rbenv/versions/2.3.1/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.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.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (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 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", "2017-02-27 21:00:19.014938"], ["updated_at", "2017-02-27 21:00:19.014938"]]  (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", "2017-02-27 21:00:19.052367"], ["id", 4]]  (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", 2]]  (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 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", "2017-02-27 21:00:19.027253"], ["updated_at", "2017-02-27 21:00:19.027253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", "2017-02-27 21:00:19.059367"], ["id", 5]]  (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", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) 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", "2017-02-27 21:00:19.034701"], ["updated_at", "2017-02-27 21:00:19.034701"]]  (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", "2017-02-27 21:00:19.063757"], ["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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2017-02-27 21:00:19.066394"], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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", "2017-02-27 21:00:19.079765"], ["updated_at", "2017-02-27 21:00:19.079765"]]  (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-6"]] SQL (0.1ms) 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", "2017-02-27 21:00:19.082372"], ["updated_at", "2017-02-27 21:00:19.082372"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:19.083815"], ["updated_at", "2017-02-27 21:00:19.083815"]]  (0.1ms) 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", "2017-02-27 21:00:19.085974"], ["updated_at", "2017-02-27 21:00:19.085974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section A"], ["version_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section B"], ["version_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section C"], ["version_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."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", "2017-02-27 21:00:19.095853"], ["updated_at", "2017-02-27 21:00:19.095853"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/goma/.rbenv/versions/2.3.1/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::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.1ms) 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.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section B"]]  (0.1ms) 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", 2]]  (0.1ms) 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", 5]]  (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 C"]]  (0.1ms) 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", 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.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2017-02-27 21:00:19.112015"], ["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.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) 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", "2017-02-27 21:00:19.121749"], ["updated_at", "2017-02-27 21:00:19.121749"]]  (0.1ms) 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-7"]] SQL (0.2ms) 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", "2017-02-27 21:00:19.125980"], ["updated_at", "2017-02-27 21:00:19.125980"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:19.128256"], ["updated_at", "2017-02-27 21:00:19.128256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:19.129727"], ["updated_at", "2017-02-27 21:00:19.129727"]]  (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 16' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2017-02-27 21:00:19.132005"], ["updated_at", "2017-02-27 21:00:19.132005"]]  (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", "2017-02-27 21:00:19.133548"], ["updated_at", "2017-02-27 21:00:19.133548"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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" = 'Text 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2017-02-27 21:00:19.137061"], ["updated_at", "2017-02-27 21:00:19.137061"]]  (0.1ms) 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 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", "2017-02-27 21:00:19.140322"], ["updated_at", "2017-02-27 21:00:19.140322"]]  (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 18' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2017-02-27 21:00:19.145056"], ["updated_at", "2017-02-27 21:00:19.145056"]]  (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 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", "2017-02-27 21:00:19.147779"], ["updated_at", "2017-02-27 21:00:19.147779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2017-02-27 21:00:19.149690"], ["updated_at", "2017-02-27 21:00:19.149690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/goma/.rbenv/versions/2.3.1/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.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 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", "2017-02-27 21:00:19.133548"], ["updated_at", "2017-02-27 21:00:19.133548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", "2017-02-27 21:00:19.158539"], ["id", 4]]  (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", 2]]  (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 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", "2017-02-27 21:00:19.140322"], ["updated_at", "2017-02-27 21:00:19.140322"]]  (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", "2017-02-27 21:00:19.164978"], ["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 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", "2017-02-27 21:00:19.147779"], ["updated_at", "2017-02-27 21:00:19.147779"]]  (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", "2017-02-27 21:00:19.174422"], ["id", 6]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2017-02-27 21:00:19.178830"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 LIMIT 1 [["version_id", 3]] 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]]  (1.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) 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", "2017-02-27 21:00:19.191863"], ["updated_at", "2017-02-27 21:00:19.191863"]]  (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 19' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2017-02-27 21:00:19.195705"], ["updated_at", "2017-02-27 21:00:19.195705"]]  (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", "2017-02-27 21:00:19.197099"], ["updated_at", "2017-02-27 21:00:19.197099"]]  (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.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2017-02-27 21:00:19.199353"], ["updated_at", "2017-02-27 21:00:19.199353"]]  (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 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2017-02-27 21:00:19.200529"], ["updated_at", "2017-02-27 21:00:19.200529"]]  (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 21' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2017-02-27 21:00:19.203000"], ["updated_at", "2017-02-27 21:00:19.203000"]]  (0.1ms) 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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2017-02-27 21:00:19.206076"], ["updated_at", "2017-02-27 21:00:19.206076"]]  (0.1ms) 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", "2017-02-27 21:00:19.221590"], ["updated_at", "2017-02-27 21:00:19.221590"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 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", "2017-02-27 21:00:19.234276"], ["updated_at", "2017-02-27 21:00:19.234276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.6ms) 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", "2017-02-27 21:00:19.239163"], ["updated_at", "2017-02-27 21:00:19.239163"]]  (0.1ms) 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 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2017-02-27 21:00:19.245458"], ["updated_at", "2017-02-27 21:00:19.245458"]]  (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 22' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2017-02-27 21:00:19.248297"], ["updated_at", "2017-02-27 21:00:19.248297"]]  (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 4"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2017-02-27 21:00:19.249534"], ["updated_at", "2017-02-27 21:00:19.249534"]]  (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 23' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2017-02-27 21:00:19.251656"], ["updated_at", "2017-02-27 21:00:19.251656"]]  (0.1ms) 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 5"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2017-02-27 21:00:19.254283"], ["updated_at", "2017-02-27 21:00:19.254283"]]  (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 24' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2017-02-27 21:00:19.259322"], ["updated_at", "2017-02-27 21:00:19.259322"]]  (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 6"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2017-02-27 21:00:19.260736"], ["updated_at", "2017-02-27 21:00:19.260736"]]  (0.0ms) RELEASE SAVEPOINT active_record_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 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", "2017-02-27 21:00:19.264167"], ["updated_at", "2017-02-27 21:00:19.264167"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:19.265614"], ["updated_at", "2017-02-27 21:00:19.265614"]]  (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.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::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.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", 1]] SQL (0.4ms) 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", "2017-02-27 21:00:19.274254"], ["updated_at", "2017-02-27 21:00:19.274254"]]  (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 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.0ms) 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", "2017-02-27 21:00:19.279292"], ["updated_at", "2017-02-27 21:00:19.279292"]]  (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 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.2ms) 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", "2017-02-27 21:00:19.284570"], ["updated_at", "2017-02-27 21:00:19.284570"]]  (0.1ms) 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.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.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_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.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2017-02-27 21:00:19.295025"], ["updated_at", "2017-02-27 21:00:19.295025"]]  (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", "Main Body"], ["post_type_id", 1]]  (0.1ms) 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", "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.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "test"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "test"], ["post_type_id", 1], ["slug", "test"], ["created_at", "2017-02-27 21:00:19.302036"], ["updated_at", "2017-02-27 21:00:19.302036"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:19.305285"], ["updated_at", "2017-02-27 21:00:19.305285"]]  (0.1ms) 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.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]] 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]] 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.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", "Side Bar"], ["version_id", 1]]  (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 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Footer List"], ["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.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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", "2017-02-27 21:00:19.326355"], ["updated_at", "2017-02-27 21:00:19.326355"]]  (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-9"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2017-02-27 21:00:19.329119"], ["updated_at", "2017-02-27 21:00:19.329119"]] SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:19.330622"], ["updated_at", "2017-02-27 21:00:19.330622"]]  (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", "2017-02-27 21:00:19.333715"], ["updated_at", "2017-02-27 21:00:19.333715"]]  (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 25' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 25"], ["created_at", "2017-02-27 21:00:19.338139"], ["updated_at", "2017-02-27 21:00:19.338139"]]  (0.1ms) 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 19"], ["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", "2017-02-27 21:00:19.341272"], ["updated_at", "2017-02-27 21:00:19.341272"]]  (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 26' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 26"], ["created_at", "2017-02-27 21:00:19.344895"], ["updated_at", "2017-02-27 21:00:19.344895"]]  (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 20"], ["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", "2017-02-27 21:00:19.346580"], ["updated_at", "2017-02-27 21:00:19.346580"]]  (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 27' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 27"], ["created_at", "2017-02-27 21:00:19.348892"], ["updated_at", "2017-02-27 21:00:19.348892"]]  (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 21"], ["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", "2017-02-27 21:00:19.350524"], ["updated_at", "2017-02-27 21:00:19.350524"]]  (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" = ? 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", "2017-02-27 21:00:19.353935"], ["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", "2017-02-27 21:00:19.359214"], ["updated_at", "2017-02-27 21:00:19.359214"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80) 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] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] 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] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] 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] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] 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] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] 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 19"], ["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", "2017-02-27 21:00:19.341272"], ["updated_at", "2017-02-27 21:00:19.341272"]] [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:19.367239"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] 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] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] 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 20"], ["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", "2017-02-27 21:00:19.346580"], ["updated_at", "2017-02-27 21:00:19.346580"]] [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:19.374207"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] 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 21"], ["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", "2017-02-27 21:00:19.350524"], ["updated_at", "2017-02-27 21:00:19.350524"]] [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:19.379487"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] 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] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] 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] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2017-02-27 21:00:19.381669"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fdf1ccd7-66fa-4a7c-8c49-c7fc8e861d80] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.13ms 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]] 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"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 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]] 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.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_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.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2017-02-27 21:00:19.399400"], ["updated_at", "2017-02-27 21:00:19.399400"]]  (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-10"]] SQL (0.2ms) 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", "2017-02-27 21:00:19.402213"], ["updated_at", "2017-02-27 21:00:19.402213"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:19.404669"], ["updated_at", "2017-02-27 21:00:19.404669"]]  (0.1ms) 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", "2017-02-27 21:00:19.409055"], ["updated_at", "2017-02-27 21:00:19.409055"]]  (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 28' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 28"], ["created_at", "2017-02-27 21:00:19.411946"], ["updated_at", "2017-02-27 21:00:19.411946"]]  (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 22"], ["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", "2017-02-27 21:00:19.413425"], ["updated_at", "2017-02-27 21:00:19.413425"]]  (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 29' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 29"], ["created_at", "2017-02-27 21:00:19.415689"], ["updated_at", "2017-02-27 21:00:19.415689"]]  (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 23"], ["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", "2017-02-27 21:00:19.416978"], ["updated_at", "2017-02-27 21:00:19.416978"]]  (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 30' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 30"], ["created_at", "2017-02-27 21:00:19.421753"], ["updated_at", "2017-02-27 21:00:19.421753"]]  (0.1ms) 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 24"], ["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", "2017-02-27 21:00:19.424770"], ["updated_at", "2017-02-27 21:00:19.424770"]]  (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" = ? 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", "2017-02-27 21:00:19.427823"], ["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", "2017-02-27 21:00:19.430180"], ["updated_at", "2017-02-27 21:00:19.430180"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 7ee6c0a8-1202-4888-a530-39ac2de36381) 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] [7ee6c0a8-1202-4888-a530-39ac2de36381] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381] 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] [7ee6c0a8-1202-4888-a530-39ac2de36381] 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] [7ee6c0a8-1202-4888-a530-39ac2de36381] 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] [7ee6c0a8-1202-4888-a530-39ac2de36381]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381] 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 22"], ["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", "2017-02-27 21:00:19.413425"], ["updated_at", "2017-02-27 21:00:19.413425"]] [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:19.440437"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381] 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] [7ee6c0a8-1202-4888-a530-39ac2de36381]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["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", "2017-02-27 21:00:19.416978"], ["updated_at", "2017-02-27 21:00:19.416978"]] [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:19.446076"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381] 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] [7ee6c0a8-1202-4888-a530-39ac2de36381]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381] 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 24"], ["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", "2017-02-27 21:00:19.424770"], ["updated_at", "2017-02-27 21:00:19.424770"]] [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:19.450628"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381] 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] [7ee6c0a8-1202-4888-a530-39ac2de36381] 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] [7ee6c0a8-1202-4888-a530-39ac2de36381]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2017-02-27 21:00:19.453793"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [7ee6c0a8-1202-4888-a530-39ac2de36381] Performed Pulitzer::CloneVersionJob from Inline(default) in 27.0ms 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.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2017-02-27 21:00:19.462865"], ["id", 3]]  (0.1ms) 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", 3], ["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", "2017-02-27 21:00:19.465327"], ["updated_at", "2017-02-27 21:00:19.465327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 70ff4c18-35e0-437c-9425-7382a21c59d2) 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] [70ff4c18-35e0-437c-9425-7382a21c59d2] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2] 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] [70ff4c18-35e0-437c-9425-7382a21c59d2] 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] [70ff4c18-35e0-437c-9425-7382a21c59d2] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2] 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 22"], ["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", "2017-02-27 21:00:19.413425"], ["updated_at", "2017-02-27 21:00:19.413425"]] [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2017-02-27 21:00:19.476906"], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2] 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] [70ff4c18-35e0-437c-9425-7382a21c59d2]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 23"], ["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", "2017-02-27 21:00:19.416978"], ["updated_at", "2017-02-27 21:00:19.416978"]] [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2017-02-27 21:00:19.480888"], ["id", 8]] [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2] 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] [70ff4c18-35e0-437c-9425-7382a21c59d2]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2] 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 24"], ["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", "2017-02-27 21:00:19.424770"], ["updated_at", "2017-02-27 21:00:19.424770"]] [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2017-02-27 21:00:19.485484"], ["id", 9]] [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2] 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] [70ff4c18-35e0-437c-9425-7382a21c59d2] 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] [70ff4c18-35e0-437c-9425-7382a21c59d2]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2017-02-27 21:00:19.488988"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [70ff4c18-35e0-437c-9425-7382a21c59d2] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.58ms 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]]  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2017-02-27 21:00:19.504855"], ["updated_at", "2017-02-27 21:00:19.504855"]]  (0.1ms) 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-11"]] SQL (0.1ms) 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", "2017-02-27 21:00:19.509635"], ["updated_at", "2017-02-27 21:00:19.509635"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:19.511314"], ["updated_at", "2017-02-27 21:00:19.511314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:19.512718"], ["updated_at", "2017-02-27 21:00:19.512718"]]  (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 31' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 31"], ["created_at", "2017-02-27 21:00:19.514936"], ["updated_at", "2017-02-27 21:00:19.514936"]]  (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 25"], ["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", "2017-02-27 21:00:19.516338"], ["updated_at", "2017-02-27 21:00:19.516338"]]  (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 32' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 32"], ["created_at", "2017-02-27 21:00:19.520038"], ["updated_at", "2017-02-27 21:00:19.520038"]]  (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 26"], ["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", "2017-02-27 21:00:19.522252"], ["updated_at", "2017-02-27 21:00:19.522252"]]  (0.2ms) 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 33' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 33"], ["created_at", "2017-02-27 21:00:19.526903"], ["updated_at", "2017-02-27 21:00:19.526903"]]  (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 27"], ["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", "2017-02-27 21:00:19.528342"], ["updated_at", "2017-02-27 21:00:19.528342"]]  (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.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2017-02-27 21:00:19.530448"], ["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", "2017-02-27 21:00:19.533053"], ["updated_at", "2017-02-27 21:00:19.533053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 5999e924-3ba4-428d-a1ba-4e35b1477d06) 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] [5999e924-3ba4-428d-a1ba-4e35b1477d06] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06] 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] [5999e924-3ba4-428d-a1ba-4e35b1477d06] 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] [5999e924-3ba4-428d-a1ba-4e35b1477d06] 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] [5999e924-3ba4-428d-a1ba-4e35b1477d06]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06] 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 25"], ["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", "2017-02-27 21:00:19.516338"], ["updated_at", "2017-02-27 21:00:19.516338"]] [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:19.545604"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06] 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] [5999e924-3ba4-428d-a1ba-4e35b1477d06]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06] 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 26"], ["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", "2017-02-27 21:00:19.522252"], ["updated_at", "2017-02-27 21:00:19.522252"]] [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:19.551052"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06] 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 27"], ["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", "2017-02-27 21:00:19.528342"], ["updated_at", "2017-02-27 21:00:19.528342"]] [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:19.559501"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06] 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] [5999e924-3ba4-428d-a1ba-4e35b1477d06] 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] [5999e924-3ba4-428d-a1ba-4e35b1477d06]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2017-02-27 21:00:19.562106"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5999e924-3ba4-428d-a1ba-4e35b1477d06] Performed Pulitzer::CloneVersionJob from Inline(default) in 27.61ms 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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2017-02-27 21:00:19.567458"], ["id", 2]]  (0.0ms) 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.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"."id" = ? LIMIT 1 [["id", 2]] 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"."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.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The North Remembers"], ["created_at", "2017-02-27 21:00:19.581532"], ["updated_at", "2017-02-27 21:00:19.581532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2017-02-27 21:00:19.584112"], ["updated_at", "2017-02-27 21:00:19.584112"]]  (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-12"]] SQL (0.1ms) 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", "2017-02-27 21:00:19.588746"], ["updated_at", "2017-02-27 21:00:19.588746"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:19.591159"], ["updated_at", "2017-02-27 21:00:19.591159"]]  (0.1ms) 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", "2017-02-27 21:00:19.593444"], ["updated_at", "2017-02-27 21:00:19.593444"]]  (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 34' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 34"], ["created_at", "2017-02-27 21:00:19.595877"], ["updated_at", "2017-02-27 21:00:19.595877"]]  (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 28"], ["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", "2017-02-27 21:00:19.597240"], ["updated_at", "2017-02-27 21:00:19.597240"]]  (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 35' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 35"], ["created_at", "2017-02-27 21:00:19.599480"], ["updated_at", "2017-02-27 21:00:19.599480"]]  (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 29"], ["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", "2017-02-27 21:00:19.600727"], ["updated_at", "2017-02-27 21:00:19.600727"]]  (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 36' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 36"], ["created_at", "2017-02-27 21:00:19.605987"], ["updated_at", "2017-02-27 21:00:19.605987"]]  (0.1ms) 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 30"], ["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", "2017-02-27 21:00:19.609134"], ["updated_at", "2017-02-27 21:00:19.609134"]]  (0.1ms) 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", "2017-02-27 21:00:19.616567"], ["updated_at", "2017-02-27 21:00:19.616567"]]  (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 South Forgets' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The South Forgets"], ["created_at", "2017-02-27 21:00:19.621922"], ["updated_at", "2017-02-27 21:00:19.621922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", "2017-02-27 21:00:19.625154"], ["updated_at", "2017-02-27 21:00:19.625154"]]  (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", "2017-02-27 21:00:19.629099"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2017-02-27 21:00:19.630602"], ["updated_at", "2017-02-27 21:00:19.630602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 54707927-90e1-4118-9ce4-0390e3c84be6) 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] [54707927-90e1-4118-9ce4-0390e3c84be6] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6] 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] [54707927-90e1-4118-9ce4-0390e3c84be6] 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] [54707927-90e1-4118-9ce4-0390e3c84be6] 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] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6] 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 28"], ["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", "2017-02-27 21:00:19.597240"], ["updated_at", "2017-02-27 21:00:19.597240"]] [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:19.641581"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6] 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] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6] 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 29"], ["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", "2017-02-27 21:00:19.600727"], ["updated_at", "2017-02-27 21:00:19.600727"]] [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:19.646729"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6] 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 30"], ["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", "2017-02-27 21:00:19.609134"], ["updated_at", "2017-02-27 21:00:19.609134"]] [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2017-02-27 21:00:19.660093"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6] 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] [54707927-90e1-4118-9ce4-0390e3c84be6] 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] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6] 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", "2017-02-27 21:00:19.663073"], ["updated_at", "2017-02-27 21:00:19.663073"]] [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6] SQL (0.0ms) 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", "2017-02-27 21:00:19.664674"], ["updated_at", "2017-02-27 21:00:19.664674"]] [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2017-02-27 21:00:19.666283"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [54707927-90e1-4118-9ce4-0390e3c84be6] Performed Pulitzer::CloneVersionJob from Inline(default) in 39.2ms 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]]  (0.6ms) 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) 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 37' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 37"], ["created_at", "2017-02-27 21:00:19.680523"], ["updated_at", "2017-02-27 21:00:19.680523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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 38' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 38"], ["created_at", "2017-02-27 21:00:19.693766"], ["updated_at", "2017-02-27 21:00:19.693766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 39' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 39"], ["created_at", "2017-02-27 21:00:19.698194"], ["updated_at", "2017-02-27 21:00:19.698194"]]  (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.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 40' LIMIT 1 SQL (0.7ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 40"], ["created_at", "2017-02-27 21:00:19.703941"], ["updated_at", "2017-02-27 21:00:19.703941"]]  (0.1ms) 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" = 'Video' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2017-02-27 21:00:19.711948"], ["updated_at", "2017-02-27 21:00:19.711948"]]  (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", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 35"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2017-02-27 21:00:19.713529"], ["updated_at", "2017-02-27 21:00:19.713529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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" = 'Video' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2017-02-27 21:00:19.719473"], ["updated_at", "2017-02-27 21:00:19.719473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 36"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2017-02-27 21:00:19.722208"], ["updated_at", "2017-02-27 21:00:19.722208"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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" = 'Text 41' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 41"], ["created_at", "2017-02-27 21:00:19.728830"], ["updated_at", "2017-02-27 21:00:19.728830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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 42' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 42"], ["created_at", "2017-02-27 21:00:19.733571"], ["updated_at", "2017-02-27 21:00:19.733571"]]  (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 Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2017-02-27 21:00:19.742147"], ["updated_at", "2017-02-27 21:00:19.742147"]]  (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.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2017-02-27 21:00:19.947206"], ["updated_at", "2017-02-27 21:00:19.947206"]]  (0.1ms) 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-13"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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.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", "2017-02-27 21:00:19.964222"], ["updated_at", "2017-02-27 21:00:19.964222"]]  (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-14"]] SQL (0.1ms) 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", "2017-02-27 21:00:19.966935"], ["updated_at", "2017-02-27 21:00:19.966935"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:19.969742"], ["updated_at", "2017-02-27 21:00:19.969742"]]  (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", "2017-02-27 21:00:19.972803"], ["updated_at", "2017-02-27 21:00:19.972803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2017-02-27 21:00:19.974447"], ["updated_at", "2017-02-27 21:00:19.974447"]]  (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" = ? LIMIT 1 [["post_id", 1], ["status", 1]]  (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", "2017-02-27 21:00:19.981439"], ["updated_at", "2017-02-27 21:00:19.981439"]]  (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-15"]] SQL (0.2ms) 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", "2017-02-27 21:00:19.984574"], ["updated_at", "2017-02-27 21:00:19.984574"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:19.986773"], ["updated_at", "2017-02-27 21:00:19.986773"]]  (0.1ms) 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 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2017-02-27 21:00:19.991425"], ["updated_at", "2017-02-27 21:00:19.991425"]]  (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-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", "2017-02-27 21:00:19.994486"], ["updated_at", "2017-02-27 21:00:19.994486"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:19.996017"], ["updated_at", "2017-02-27 21:00:19.996017"]]  (0.1ms) 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" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.1ms) 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", "2017-02-27 21:00:19.998172"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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 25' LIMIT 1 SQL (0.7ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 25"], ["created_at", "2017-02-27 21:00:20.003591"], ["updated_at", "2017-02-27 21:00:20.003591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2017-02-27 21:00:20.009003"], ["updated_at", "2017-02-27 21:00:20.009003"]]  (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-17"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 17"], ["post_type_id", 1], ["slug", "winterfell-news-17"], ["created_at", "2017-02-27 21:00:20.011771"], ["updated_at", "2017-02-27 21:00:20.011771"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:20.013437"], ["updated_at", "2017-02-27 21:00:20.013437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:20.014903"], ["updated_at", "2017-02-27 21:00:20.014903"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.3ms) 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.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", "2017-02-27 21:00:20.041327"], ["updated_at", "2017-02-27 21:00:20.041327"]]  (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 43' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 43"], ["created_at", "2017-02-27 21:00:20.044637"], ["updated_at", "2017-02-27 21:00:20.044637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) 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.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.8ms) begin transaction  (0.2ms) commit transaction  (0.4ms) begin transaction  (0.3ms) 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.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) 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.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 Pulitzer::Tag Exists (0.1ms) 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.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2017-02-27 21:00:20.102451"], ["updated_at", "2017-02-27 21:00:20.102451"]]  (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.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1  (1.6ms) 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.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 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", "2017-02-27 21:00:20.116768"], ["updated_at", "2017-02-27 21:00:20.116768"]]  (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 28' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 28"], ["created_at", "2017-02-27 21:00:20.119876"], ["updated_at", "2017-02-27 21:00:20.119876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.2ms) 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.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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", "2017-02-27 21:00:20.129858"], ["updated_at", "2017-02-27 21:00:20.129858"]]  (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-18"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 18"], ["post_type_id", 1], ["slug", "winterfell-news-18"], ["created_at", "2017-02-27 21:00:20.132654"], ["updated_at", "2017-02-27 21:00:20.132654"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:20.134693"], ["updated_at", "2017-02-27 21:00:20.134693"]]  (0.1ms) 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", 1], ["post_id", 1], ["created_at", "2017-02-27 21:00:20.137969"], ["updated_at", "2017-02-27 21:00:20.137969"]]  (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", "2017-02-27 21:00:20.140296"], ["updated_at", "2017-02-27 21:00:20.140296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2017-02-27 21:00:20.142377"], ["updated_at", "2017-02-27 21:00:20.142377"]]  (0.0ms) 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.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.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", "2017-02-27 21:00:20.150278"], ["updated_at", "2017-02-27 21:00:20.150278"]]  (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 31' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 31"], ["created_at", "2017-02-27 21:00:20.153569"], ["updated_at", "2017-02-27 21:00:20.153569"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.4ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' Pulitzer::Tag Load (0.3ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f'  (0.5ms) 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" = 'The north 32' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 32"], ["created_at", "2017-02-27 21:00:20.161642"], ["updated_at", "2017-02-27 21:00:20.161642"]]  (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.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 33"], ["parent_id", 1], ["created_at", "2017-02-27 21:00:20.164033"], ["updated_at", "2017-02-27 21:00:20.164033"]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-02-27 21:00:20.164869' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (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 34' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 34"], ["parent_id", 1], ["created_at", "2017-02-27 21:00:20.166671"], ["updated_at", "2017-02-27 21:00:20.166671"]] SQL (0.2ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-02-27 21:00:20.167644' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.6ms) 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.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 35' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 35"], ["hierarchical", "t"], ["created_at", "2017-02-27 21:00:20.176272"], ["updated_at", "2017-02-27 21:00:20.176272"]]  (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.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 36"], ["created_at", "2017-02-27 21:00:20.180630"], ["updated_at", "2017-02-27 21:00:20.180630"]]  (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", "2017-02-27 21:00:20.183149"], ["updated_at", "2017-02-27 21:00:20.183149"]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-02-27 21:00:20.184653' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.1ms) 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::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 38' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 38"], ["hierarchical", "t"], ["created_at", "2017-02-27 21:00:20.189276"], ["updated_at", "2017-02-27 21:00:20.189276"]]  (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 39' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 39"], ["created_at", "2017-02-27 21:00:20.191647"], ["updated_at", "2017-02-27 21:00:20.191647"]]  (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 40' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 40"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2017-02-27 21:00:20.193695"], ["updated_at", "2017-02-27 21:00:20.193695"]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-02-27 21:00:20.194444' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 41' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 41"], ["hierarchical", "t"], ["created_at", "2017-02-27 21:00:20.198787"], ["updated_at", "2017-02-27 21:00:20.198787"]]  (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 42' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 42"], ["created_at", "2017-02-27 21:00:20.202278"], ["updated_at", "2017-02-27 21:00:20.202278"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) 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", "2017-02-27 21:00:20.207125"], ["updated_at", "2017-02-27 21:00:20.207125"]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-02-27 21:00:20.208129' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (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", "2017-02-27 21:00:20.212546"], ["updated_at", "2017-02-27 21:00:20.212546"]]  (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-19"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 19"], ["post_type_id", 1], ["slug", "winterfell-news-19"], ["created_at", "2017-02-27 21:00:20.215270"], ["updated_at", "2017-02-27 21:00:20.215270"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:20.217057"], ["updated_at", "2017-02-27 21:00:20.217057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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.1ms) 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) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 44' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 44"], ["created_at", "2017-02-27 21:00:20.237781"], ["updated_at", "2017-02-27 21:00:20.237781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2017-02-27 21:00:20.241819"], ["updated_at", "2017-02-27 21:00:20.241819"]]  (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-20"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 20"], ["post_type_id", 1], ["slug", "winterfell-news-20"], ["created_at", "2017-02-27 21:00:20.244003"], ["updated_at", "2017-02-27 21:00:20.244003"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:20.245626"], ["updated_at", "2017-02-27 21:00:20.245626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2017-02-27 21:00:20.247023"], ["updated_at", "2017-02-27 21:00:20.247023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2017-02-27 21:00:20.248861"], ["updated_at", "2017-02-27 21:00:20.248861"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.9ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (0.7ms) commit transaction ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 14:32:42 UTC], ["updated_at", 2017-05-11 14:32:42 UTC]]  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.3ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (1.7ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.8ms) delete from pulitzer_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_posts;  (1.2ms) delete from pulitzer_posts;  (0.2ms) TRUNCATE TABLE pulitzer_tags;  (1.4ms) delete from pulitzer_tags;  (0.2ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (2.1ms) delete from pulitzer_post_type_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_versions;  (2.4ms) delete from pulitzer_versions;  (0.2ms) TRUNCATE TABLE pulitzer_post_tags;  (2.4ms) delete from pulitzer_post_tags;  (0.9ms) TRUNCATE TABLE pulitzer_post_types;  (1.1ms) delete from pulitzer_post_types;  (0.2ms) TRUNCATE TABLE pulitzer_partials;  (1.0ms) delete from pulitzer_partials;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (2.5ms) delete from pulitzer_free_form_section_types;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_sections;  (1.0ms) delete from pulitzer_free_form_sections;  (0.3ms) TRUNCATE TABLE pulitzer_layouts;  (1.2ms) delete from pulitzer_layouts;  (0.2ms) TRUNCATE TABLE pulitzer_content_elements;  (1.1ms) delete from pulitzer_content_elements;  (0.2ms) TRUNCATE TABLE ar_internal_metadata;  (4.7ms) delete from ar_internal_metadata;  (0.2ms) TRUNCATE TABLE pulitzer_partial_types;  (2.0ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (1.3ms) commit transaction  (0.2ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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]] Pulitzer::FreeFormSectionType Load (0.2ms) 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]] SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 1], ["label", "Hero Title 1"], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["sort_order", 1]]  (1.3ms) commit transaction  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 1], ["label", "Hero Title 2"], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["sort_order", 2]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 1], ["label", "Hero Title 3"], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["sort_order", 3]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 1], ["label", "Guest Title"], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["sort_order", 4]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 1], ["label", "Guest Text"], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["sort_order", 5]]  (25.2ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 1], ["label", "Footer Title"], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["sort_order", 6]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 1], ["label", "Footer Text"], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["sort_order", 7]]  (2.2ms) commit transaction  (0.2ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 1], ["label", "Metadata title"], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["sort_order", 8]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 1], ["label", "Metadata description"], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["sort_order", 9]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 1], ["label", "Metadata keywords"], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["sort_order", 10]]  (1.0ms) commit transaction  (4.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (1.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (0.8ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["plural", true]]  (0.5ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["plural", true]]  (0.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (1.3ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.2ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 14:33:05 UTC], ["id", 1]]  (1.0ms) commit transaction Pulitzer::Tag Load (0.3ms) 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC]]  (0.9ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.8ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:33:05 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (2.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::ContentElementType Load (0.7ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::PostTypeContentElementType Load (0.5ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (1.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:33:05 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::PostTypeContentElementType Load (0.4ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (1.8ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:33:05 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (1.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::PostTypeContentElementType Load (0.8ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:33:05 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.8ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (2.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:33:05 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (1.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (4.0ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:33:06 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (3.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:33:06 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.9ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:33:06 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (2.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:33:06 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::PostTypeContentElementType Load (0.5ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 1], ["created_at", 2017-05-11 14:33:05 UTC], ["updated_at", 2017-05-11 14:33:05 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:33:06 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (1.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::FreeFormSection Load (0.3ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.2ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::Partial Load (0.3ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.4ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Pulitzer::PostTag Load (0.3ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] SQL (0.6ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 14:33:06 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f]  (1.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f] Performed Pulitzer::CloneVersionJob from Inline(default) in 281.68ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 86d8b3e6-a1ad-46d4-90a9-9097b9e9b97f) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.4ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]  (0.1ms) begin transaction SQL (4.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 14:33:06 UTC], ["id", 1]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 14:33:06 UTC], ["id", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (1.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 14:33:06 UTC], ["id", 3]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 14:33:06 UTC], ["id", 4]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 14:33:06 UTC], ["id", 5]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 14:33:06 UTC], ["id", 6]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 14:33:06 UTC], ["id", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 14:33:06 UTC], ["id", 8]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 14:33:06 UTC], ["id", 9]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 14:33:06 UTC], ["id", 10]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.9ms) 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.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (1.0ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]  (1.0ms) 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.0ms) 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.0ms) begin transaction  (0.3ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.8ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.8ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 14:35:56 UTC], ["updated_at", 2017-05-11 14:35:56 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 14:35:56 UTC], ["updated_at", 2017-05-11 14:35:56 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 14:35:56 UTC], ["updated_at", 2017-05-11 14:35:56 UTC]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.9ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.9ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.2ms) DROP TABLE "apulitzer_post_tags" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (1.0ms) 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.8ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.4ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.7ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (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)  (0.1ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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, "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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.2ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.2ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (2.0ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.2ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.3ms) 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.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.8ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.0ms) begin transaction  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"  (0.5ms) 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"  (0.1ms) DROP TABLE "apulitzer_post_types"  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.9ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.7ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.0ms) 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.3ms) begin transaction  (0.4ms) 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.7ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.0ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.2ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL  (0.2ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]  (0.7ms) 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"]]  (1.7ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.1ms) begin transaction  (0.8ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]  (0.8ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.5ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]  (1.0ms) 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.8ms) 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.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.7ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (1.2ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.8ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (1.0ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.3ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (0.8ms) commit transaction ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 14:35:56 UTC], ["updated_at", 2017-05-11 14:35:56 UTC]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (2.3ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (2.3ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.9ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (2.4ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.8ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (11.8ms) delete from pulitzer_post_type_content_element_types;  (0.3ms) TRUNCATE TABLE pulitzer_versions;  (1.0ms) delete from pulitzer_versions;  (0.3ms) TRUNCATE TABLE pulitzer_post_tags;  (4.3ms) delete from pulitzer_post_tags;  (0.2ms) TRUNCATE TABLE pulitzer_post_types;  (1.1ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (6.2ms) delete from pulitzer_partials;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (7.0ms) delete from pulitzer_free_form_section_types;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_sections;  (3.6ms) delete from pulitzer_free_form_sections;  (0.2ms) TRUNCATE TABLE pulitzer_layouts;  (5.8ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (3.6ms) delete from pulitzer_content_elements;  (0.2ms) TRUNCATE TABLE pulitzer_partial_types;  (0.9ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 14:36:01 UTC], ["updated_at", 2017-05-11 14:36:01 UTC], ["plural", true]]  (3.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 14:36:01 UTC], ["updated_at", 2017-05-11 14:36:01 UTC]]  (5.3ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 14:36:01 UTC], ["updated_at", 2017-05-11 14:36:01 UTC]]  (6.4ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 14:36:01 UTC], ["updated_at", 2017-05-11 14:36:01 UTC]]  (2.5ms) commit transaction  (0.1ms) begin transaction 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]] Pulitzer::FreeFormSectionType Load (0.5ms) 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]] SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 14:36:01 UTC], ["updated_at", 2017-05-11 14:36:01 UTC], ["sort_order", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 14:36:01 UTC], ["updated_at", 2017-05-11 14:36:01 UTC], ["sort_order", 2]]  (3.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 14:36:01 UTC], ["updated_at", 2017-05-11 14:36:01 UTC], ["sort_order", 3]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 14:36:01 UTC], ["updated_at", 2017-05-11 14:36:01 UTC], ["sort_order", 4]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 14:36:01 UTC], ["updated_at", 2017-05-11 14:36:01 UTC], ["sort_order", 5]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 14:36:01 UTC], ["updated_at", 2017-05-11 14:36:01 UTC], ["sort_order", 6]]  (3.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 14:36:01 UTC], ["updated_at", 2017-05-11 14:36:01 UTC], ["sort_order", 7]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 14:36:01 UTC], ["updated_at", 2017-05-11 14:36:01 UTC], ["sort_order", 8]]  (2.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 14:36:01 UTC], ["updated_at", 2017-05-11 14:36:01 UTC], ["sort_order", 9]]  (3.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 14:36:01 UTC], ["updated_at", 2017-05-11 14:36:01 UTC], ["sort_order", 10]]  (2.4ms) commit transaction  (0.3ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (2.5ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 14:36:01 UTC], ["updated_at", 2017-05-11 14:36:01 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 14:36:01 UTC], ["updated_at", 2017-05-11 14:36:01 UTC]]  (1.9ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC]]  (2.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC]]  (2.5ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC]]  (2.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC]]  (2.8ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.2ms) begin transaction Pulitzer::ContentElementType Load (2.5ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC]]  (1.0ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (2.7ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC]]  (4.0ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC]]  (2.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC]]  (3.0ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC]]  (3.3ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC]]  (1.0ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (2.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC], ["plural", true]]  (3.1ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC], ["plural", true]]  (3.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC], ["slug", "ski-jump-competition"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC], ["plural", true]]  (2.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC]]  (2.0ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 1]]  (0.8ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC]]  (2.4ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] 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 [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (2.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (3.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.2ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (2.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.8ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (3.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (2.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.7ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (4.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (3.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (2.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (2.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (4.3ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (4.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:36:02 UTC], ["updated_at", 2017-05-11 14:36:02 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (3.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.3ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (3.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.4ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.5ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (3.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] SQL (0.5ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [58118821-83b0-4950-8747-640dd251dd22] Performed Pulitzer::CloneVersionJob from Inline(default) in 202.85ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 58118821-83b0-4950-8747-640dd251dd22) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 1]]  (3.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 2]]  (3.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 3]]  (3.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 4]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 5]]  (3.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 6]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 7]]  (3.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 8]]  (3.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 9]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 14:36:02 UTC], ["id", 10]]  (3.4ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (1.0ms) 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.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (2.3ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) begin transaction  (0.6ms) 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 (8.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (0.9ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (0.5ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (2.6ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction  (0.9ms) 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.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]  (1.0ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction  (1.1ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (6.0ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.2ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.9ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (1.5ms) begin transaction  (0.7ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (1.0ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (6.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (2.2ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 14:37:09 UTC], ["updated_at", 2017-05-11 14:37:09 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 14:37:09 UTC], ["updated_at", 2017-05-11 14:37:09 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 14:37:09 UTC], ["updated_at", 2017-05-11 14:37:09 UTC]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (1.1ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.2ms) select sqlite_version(*)  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.7ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.9ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.1ms) begin transaction  (0.6ms) 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"]]  (1.1ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.4ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.8ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.0ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.2ms) 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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (3.5ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) 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 ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (1.4ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction  (0.5ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"  (0.6ms) 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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.2ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.1ms) 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.9ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.0ms) begin transaction  (0.4ms) 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.2ms) 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"]]  (0.9ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.4ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]  (0.8ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.0ms) 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.7ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]  (0.9ms) 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.9ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.0ms) 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.9ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.4ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.9ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.7ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.4ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (1.0ms) DROP TABLE "pulitzer_content_elements"  (0.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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.9ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.7ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.3ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (1.0ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.8ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (0.9ms) commit transaction ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 14:37:10 UTC], ["updated_at", 2017-05-11 14:37:10 UTC]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (1.5ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (1.5ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (3.3ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (1.0ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (2.6ms) delete from pulitzer_tags;  (0.2ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (5.0ms) delete from pulitzer_post_type_content_element_types;  (0.3ms) TRUNCATE TABLE pulitzer_versions;  (2.7ms) delete from pulitzer_versions;  (0.2ms) TRUNCATE TABLE pulitzer_post_tags;  (5.2ms) delete from pulitzer_post_tags;  (0.2ms) TRUNCATE TABLE pulitzer_post_types;  (3.7ms) delete from pulitzer_post_types;  (0.2ms) TRUNCATE TABLE pulitzer_partials;  (4.5ms) delete from pulitzer_partials;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (6.3ms) delete from pulitzer_free_form_section_types;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_sections;  (15.0ms) delete from pulitzer_free_form_sections;  (0.2ms) TRUNCATE TABLE pulitzer_layouts;  (10.1ms) delete from pulitzer_layouts;  (0.2ms) TRUNCATE TABLE pulitzer_content_elements;  (4.1ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.9ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["plural", true]]  (2.4ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC]]  (2.4ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC]]  (3.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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.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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["sort_order", 1]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["sort_order", 2]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["sort_order", 3]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["sort_order", 4]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["sort_order", 5]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["sort_order", 6]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["sort_order", 7]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["sort_order", 8]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["sort_order", 9]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["sort_order", 10]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (2.4ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC]]  (2.3ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC]]  (2.8ms) commit transaction Pulitzer::Version Load (0.7ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC]]  (2.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC]]  (2.8ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC]]  (3.2ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC]]  (2.3ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC]]  (2.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC]]  (10.5ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC]]  (1.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC]]  (2.2ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 14:37:16 UTC], ["updated_at", 2017-05-11 14:37:16 UTC], ["plural", true]]  (2.4ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 14:37:16 UTC], ["updated_at", 2017-05-11 14:37:16 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 14:37:16 UTC], ["updated_at", 2017-05-11 14:37:16 UTC]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 14:37:16 UTC], ["updated_at", 2017-05-11 14:37:16 UTC], ["plural", true]]  (2.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 14:37:16 UTC], ["updated_at", 2017-05-11 14:37:16 UTC], ["slug", "ski-jump-competition"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 14:37:16 UTC], ["updated_at", 2017-05-11 14:37:16 UTC]]  (1.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 14:37:16 UTC], ["updated_at", 2017-05-11 14:37:16 UTC], ["plural", true]]  (2.4ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 14:37:16 UTC], ["updated_at", 2017-05-11 14:37:16 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 14:37:16 UTC], ["updated_at", 2017-05-11 14:37:16 UTC]]  (0.8ms) commit transaction Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 1]]  (2.8ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 14:37:16 UTC], ["updated_at", 2017-05-11 14:37:16 UTC]]  (0.9ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] 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 [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (2.3ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (3.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (3.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (4.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (2.3ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (1.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.3ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (2.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (3.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.4ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (5.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (1.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (3.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (2.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.6ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.7ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (3.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:37:15 UTC], ["updated_at", 2017-05-11 14:37:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (4.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (2.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.9ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (2.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (2.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] SQL (0.5ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [defefc27-451e-4ffc-9000-e603c05fc3ed] Performed Pulitzer::CloneVersionJob from Inline(default) in 212.49ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: defefc27-451e-4ffc-9000-e603c05fc3ed) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 1]]  (2.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 2]]  (3.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 4]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 5]]  (3.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 6]]  (3.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 7]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 8]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 9]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 14:37:16 UTC], ["id", 10]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::FreeFormSectionType Load (0.3ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" ORDER BY "pulitzer_free_form_section_types"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.5ms) 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.1ms) begin transaction  (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) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (1.6ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (4.0ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.2ms) begin transaction  (2.3ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]  (0.7ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction  (0.5ms) 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"]]  (1.1ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.1ms) begin transaction  (1.3ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.9ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.9ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 14:40:07 UTC], ["updated_at", 2017-05-11 14:40:07 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 14:40:07 UTC], ["updated_at", 2017-05-11 14:40:07 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 14:40:07 UTC], ["updated_at", 2017-05-11 14:40:07 UTC]] 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.1ms) select sqlite_version(*)  (0.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.8ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.7ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.1ms) begin transaction  (0.4ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (0.7ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.4ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.8ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.3ms) 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.2ms) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (1.9ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) 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 ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.7ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction  (0.3ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.7ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (1.0ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.7ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (0.4ms) 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.7ms) 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.2ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]  (1.8ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]  (0.8ms) 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.7ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]  (0.7ms) 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.9ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (2.6ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (1.0ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.2ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.8ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.8ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.9ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.3ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (1.2ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.8ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (2.6ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 14:40:07 UTC], ["updated_at", 2017-05-11 14:40:07 UTC]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.3ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (2.1ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.9ms) delete from ar_internal_metadata;  (0.2ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.7ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.7ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.6ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.6ms) delete from pulitzer_post_type_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_versions;  (0.8ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.8ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.7ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.7ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.6ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.5ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (0.5ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (0.6ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.8ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (0.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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]] 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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["sort_order", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["sort_order", 2]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["sort_order", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["sort_order", 4]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["sort_order", 5]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["sort_order", 6]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["sort_order", 7]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["sort_order", 8]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["sort_order", 9]]  (3.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["sort_order", 10]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (1.1ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (1.9ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (0.9ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (0.8ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.2ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (1.1ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (0.7ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (0.7ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 1]]  (0.7ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC]]  (0.7ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (2.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (1.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (1.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (1.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (1.0ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:40:38 UTC], ["updated_at", 2017-05-11 14:40:38 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (1.3ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.7ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::FreeFormSection Load (0.3ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.6ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (2.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.5ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (1.3ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.5ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Pulitzer::PostTag Load (0.3ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (0.2ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] SQL (0.6ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087]  (3.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [4c1a73d8-aa12-4957-8f30-7e4f9e838087] Performed Pulitzer::CloneVersionJob from Inline(default) in 204.19ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 4c1a73d8-aa12-4957-8f30-7e4f9e838087) to Inline(default) with arguments: #> Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 2]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 3]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 4]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 6]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 7]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 8]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 9]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 14:40:38 UTC], ["id", 10]]  (1.0ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 14:40:52 UTC], ["updated_at", 2017-05-11 14:40:52 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-11 14:40:52 UTC], ["updated_at", 2017-05-11 14:40:52 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 14:40:52 UTC], ["updated_at", 2017-05-11 14:40:52 UTC]]  (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", 5], ["created_at", 2017-05-11 14:40:52 UTC], ["updated_at", 2017-05-11 14:40:52 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.  (3.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (1.1ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) begin transaction  (0.5ms) 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.8ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (0.5ms) 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.7ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction  (0.4ms) 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"]]  (1.4ms) 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.9ms) 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.9ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.0ms) begin transaction  (0.3ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.8ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.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" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 14:46:21 UTC], ["updated_at", 2017-05-11 14:46:21 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 14:46:21 UTC], ["updated_at", 2017-05-11 14:46:21 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 14:46:21 UTC], ["updated_at", 2017-05-11 14:46:21 UTC]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.8ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.8ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (1.1ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.8ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) begin transaction  (0.3ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (0.7ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.5ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (1.0ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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, "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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (3.5ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) 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 ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.9ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.0ms) begin transaction  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"  (0.3ms) DROP TABLE "pulitzer_post_types"  (0.2ms) 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.8ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.8ms) 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.8ms) 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.7ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.1ms) 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"]]  (0.9ms) 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.7ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]  (0.7ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.4ms) 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"]]  (1.1ms) 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.8ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.3ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (1.1ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (1.0ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (1.4ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.9ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.9ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.2ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.5ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (0.9ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 14:46:21 UTC], ["updated_at", 2017-05-11 14:46:21 UTC]]  (0.6ms) 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.2ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (3.6ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.9ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.7ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.8ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.8ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.8ms) delete from pulitzer_post_type_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_versions;  (0.7ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.7ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.9ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.7ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.7ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.6ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (0.7ms) delete from pulitzer_layouts;  (0.2ms) TRUNCATE TABLE pulitzer_content_elements;  (0.7ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.6ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction 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.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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC], ["sort_order", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC], ["sort_order", 2]]  (0.9ms) commit transaction  (0.3ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC], ["sort_order", 3]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC], ["sort_order", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC], ["sort_order", 5]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC], ["sort_order", 6]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC], ["sort_order", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC], ["sort_order", 8]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC], ["sort_order", 9]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC], ["sort_order", 10]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC]]  (3.4ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (1.0ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC], ["plural", true]]  (0.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC], ["slug", "ski-jump-competition"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.2ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC]]  (0.9ms) commit transaction Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 1]]  (0.8ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC]]  (0.7ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] 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", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:26 UTC], ["updated_at", 2017-05-11 14:46:26 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:46:27 UTC], ["updated_at", 2017-05-11 14:46:27 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] 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", 2]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.2ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [5ed87755-1df6-4874-a711-0ad532e55b0c] Performed Pulitzer::CloneVersionJob from Inline(default) in 127.69ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 5ed87755-1df6-4874-a711-0ad532e55b0c) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 4]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 5]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 6]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 7]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 8]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 9]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 14:46:27 UTC], ["id", 10]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 14:48:22 UTC], ["updated_at", 2017-05-11 14:48:22 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 14:48:58 UTC], ["updated_at", 2017-05-11 14:48:58 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 6], ["name", "Winterfell news 2"], ["sort_order", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.2ms) 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.1ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.7ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) 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.8ms) 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.9ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.0ms) begin transaction  (0.3ms) 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.0ms) begin transaction  (0.3ms) 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.6ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.8ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (1.1ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.9ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 14:52:17 UTC], ["updated_at", 2017-05-11 14:52:17 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 14:52:17 UTC], ["updated_at", 2017-05-11 14:52:17 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 14:52:17 UTC], ["updated_at", 2017-05-11 14:52:17 UTC]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (2.3ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (7.2ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.8ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) begin transaction  (0.3ms) 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"]]  (2.6ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.4ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (15.5ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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, "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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.2ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (2.3ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) 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 ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (3.1ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"  (0.1ms) DROP TABLE "apulitzer_post_types"  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (2.1ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (1.0ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (2.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"]]  (31.3ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.1ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL  (0.3ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]  (0.9ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.1ms) begin transaction  (0.5ms) 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.5ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]  (9.6ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.4ms) 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"]]  (1.2ms) 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.8ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.0ms) 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"]]  (9.7ms) 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.8ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.8ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.0ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.4ms) DROP TABLE "apulitzer_content_elements" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (2.1ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.4ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (2.3ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.3ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (2.1ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.3ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (7.3ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 14:52:17 UTC], ["updated_at", 2017-05-11 14:52:17 UTC]]  (6.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.3ms) 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.2ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) TRUNCATE TABLE schema_migrations;  (1.2ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.8ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.8ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (1.6ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (1.2ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.9ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (1.0ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (3.5ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.7ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (1.5ms) delete from pulitzer_partials;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (1.1ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.8ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (0.7ms) delete from pulitzer_layouts;  (0.2ms) TRUNCATE TABLE pulitzer_content_elements;  (0.7ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (1.0ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["plural", true]]  (5.2ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (2.9ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (2.5ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (1.6ms) commit transaction  (0.1ms) begin transaction 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]] 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]] SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["sort_order", 1]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["sort_order", 2]]  (5.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["sort_order", 3]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["sort_order", 4]]  (4.4ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["sort_order", 5]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["sort_order", 6]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["sort_order", 7]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["sort_order", 8]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["sort_order", 9]]  (4.4ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["sort_order", 10]]  (3.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (1.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (1.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (0.9ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["plural", true]]  (0.5ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (0.9ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 1]]  (0.9ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC]]  (0.8ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] Pulitzer::Post Load (0.4ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] 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", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:52:45 UTC], ["updated_at", 2017-05-11 14:52:45 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] 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", 2]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.2ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [32808d84-7f65-4817-b1d7-7e13be8895d2] Performed Pulitzer::CloneVersionJob from Inline(default) in 129.38ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 32808d84-7f65-4817-b1d7-7e13be8895d2) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 2]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 3]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 5]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 6]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 7]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 8]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 9]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 14:52:45 UTC], ["id", 10]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 14:52:49 UTC], ["updated_at", 2017-05-11 14:52:49 UTC], ["plural", false]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 14:52:49 UTC], ["updated_at", 2017-05-11 14:52:49 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.4ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.8ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (0.9ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (0.6ms) 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.7ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction  (0.4ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]  (0.8ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.0ms) begin transaction  (0.3ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.0ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.0ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.9ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.9ms) 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" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 14:54:23 UTC], ["updated_at", 2017-05-11 14:54:23 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 14:54:23 UTC], ["updated_at", 2017-05-11 14:54:23 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 14:54:23 UTC], ["updated_at", 2017-05-11 14:54:23 UTC]] 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.1ms) select sqlite_version(*)  (0.3ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (1.2ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.2ms) 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.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (1.0ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.6ms) 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"]]  (0.7ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.4ms) DROP TABLE "pulitzer_content_elements"  (0.3ms) 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.2ms) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.2ms) DROP TABLE "apulitzer_content_elements"  (0.3ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.2ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (4.3ms) 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.2ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) 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.5ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (1.0ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction  (0.3ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"  (0.5ms) DROP TABLE "pulitzer_post_types"  (0.2ms) 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.8ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.8ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (0.9ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.6ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]  (0.7ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.2ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL  (0.2ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]  (1.0ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]  (0.9ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.0ms) 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.1ms) begin transaction  (0.4ms) 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.0ms) 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.5ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.0ms) 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.6ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.0ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.8ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.8ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) begin transaction  (0.2ms) 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.5ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.8ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.8ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (0.8ms) commit transaction ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 14:54:23 UTC], ["updated_at", 2017-05-11 14:54:23 UTC]]  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (1.2ms) delete from schema_migrations;  (0.2ms) TRUNCATE TABLE ar_internal_metadata;  (1.2ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.9ms) delete from pulitzer_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_posts;  (1.5ms) delete from pulitzer_posts;  (0.2ms) TRUNCATE TABLE pulitzer_tags;  (1.4ms) delete from pulitzer_tags;  (0.2ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (1.8ms) delete from pulitzer_post_type_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_versions;  (1.2ms) delete from pulitzer_versions;  (0.2ms) TRUNCATE TABLE pulitzer_post_tags;  (1.1ms) delete from pulitzer_post_tags;  (0.2ms) TRUNCATE TABLE pulitzer_post_types;  (0.9ms) delete from pulitzer_post_types;  (0.2ms) TRUNCATE TABLE pulitzer_partials;  (1.4ms) delete from pulitzer_partials;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (1.6ms) delete from pulitzer_free_form_section_types;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_sections;  (1.6ms) delete from pulitzer_free_form_sections;  (0.3ms) TRUNCATE TABLE pulitzer_layouts;  (1.7ms) delete from pulitzer_layouts;  (0.2ms) TRUNCATE TABLE pulitzer_content_elements;  (2.9ms) delete from pulitzer_content_elements;  (0.2ms) TRUNCATE TABLE pulitzer_partial_types;  (1.4ms) delete from pulitzer_partial_types;  (0.2ms) begin transaction SQL (1.0ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 14:59:23 UTC], ["updated_at", 2017-05-11 14:59:23 UTC], ["plural", true]]  (3.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 14:59:23 UTC], ["updated_at", 2017-05-11 14:59:23 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 14:59:23 UTC], ["updated_at", 2017-05-11 14:59:23 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 14:59:23 UTC], ["updated_at", 2017-05-11 14:59:23 UTC]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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.2ms) 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]] SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 14:59:23 UTC], ["updated_at", 2017-05-11 14:59:23 UTC], ["sort_order", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 14:59:23 UTC], ["updated_at", 2017-05-11 14:59:23 UTC], ["sort_order", 2]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 14:59:23 UTC], ["updated_at", 2017-05-11 14:59:23 UTC], ["sort_order", 3]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 14:59:23 UTC], ["updated_at", 2017-05-11 14:59:23 UTC], ["sort_order", 4]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 14:59:23 UTC], ["updated_at", 2017-05-11 14:59:23 UTC], ["sort_order", 5]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 14:59:23 UTC], ["updated_at", 2017-05-11 14:59:23 UTC], ["sort_order", 6]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 14:59:23 UTC], ["updated_at", 2017-05-11 14:59:23 UTC], ["sort_order", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 14:59:23 UTC], ["updated_at", 2017-05-11 14:59:23 UTC], ["sort_order", 8]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 14:59:23 UTC], ["updated_at", 2017-05-11 14:59:23 UTC], ["sort_order", 9]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 14:59:23 UTC], ["updated_at", 2017-05-11 14:59:23 UTC], ["sort_order", 10]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 14:59:23 UTC], ["updated_at", 2017-05-11 14:59:23 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC]]  (0.8ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC]]  (0.7ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC]]  (1.1ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC]]  (1.1ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC]]  (1.4ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.2ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC]]  (1.6ms) commit transaction Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC]]  (3.1ms) commit transaction Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC]]  (0.9ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC]]  (1.0ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC]]  (1.1ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC], ["plural", true]]  (1.4ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC]]  (0.7ms) commit transaction Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 1]]  (0.8ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC]]  (0.9ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] 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 [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (1.3ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.9ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (1.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (1.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.2ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::PostTypeContentElementType Load (0.4ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 14:59:24 UTC], ["updated_at", 2017-05-11 14:59:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::FreeFormSection Load (0.3ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.5ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (1.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [18adb48c-ca56-437f-be74-abd6891b52f8] Performed Pulitzer::CloneVersionJob from Inline(default) in 165.97ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 18adb48c-ca56-437f-be74-abd6891b52f8) to Inline(default) with arguments: #> Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 2]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 4]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 5]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 6]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 7]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 8]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 9]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 14:59:24 UTC], ["id", 10]]  (1.1ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 14:59:58 UTC], ["updated_at", 2017-05-11 14:59:58 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 15:00:08 UTC], ["updated_at", 2017-05-11 15:00:08 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 6], ["name", "Winterfell news 2"], ["sort_order", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 15:00:08 UTC], ["updated_at", 2017-05-11 15:00:08 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "post_type_id") VALUES (?, ?, ?, ?) [["free_form_section_type_id", 4], ["label", "Winterfell news 1"], ["sort_order", 1], ["post_type_id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.4ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.8ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) begin transaction  (0.5ms) 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"]]  (1.4ms) 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.7ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction  (0.4ms) 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.7ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (1.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.5ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.7ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.6ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 15:24:08 UTC], ["updated_at", 2017-05-11 15:24:08 UTC]] Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 15:24:08 UTC], ["updated_at", 2017-05-11 15:24:08 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 15:24:08 UTC], ["updated_at", 2017-05-11 15:24:08 UTC]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.9ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (2.2ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.2ms) begin transaction  (0.3ms) 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.2ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.5ms) DROP TABLE "pulitzer_post_tags"  (6.6ms) 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.2ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.2ms) DROP TABLE "apulitzer_post_tags" SQL (1.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (1.0ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.1ms) begin transaction  (2.4ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (1.3ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.2ms) begin transaction  (0.6ms) 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"]]  (2.1ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (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)  (0.1ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.2ms) 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.2ms) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.2ms) 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.2ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.2ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.2ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (4.2ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.3ms) 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 ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (1.9ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction  (0.3ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"  (0.6ms) DROP TABLE "pulitzer_post_types"  (0.3ms) 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.4ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"  (0.2ms) DROP TABLE "apulitzer_post_types"  (0.5ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (2.0ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (2.8ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (1.0ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (1.8ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (3.6ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (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) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]  (1.7ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.2ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.2ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL  (0.3ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]  (1.1ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.4ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]  (3.6ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.2ms) begin transaction  (0.6ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (1.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]  (3.1ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.7ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]  (2.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.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]  (1.3ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.1ms) begin transaction  (0.9ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (1.0ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.7ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.9ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) [36mbegin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.4ms) 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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.8ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (7.7ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (1.3ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.9ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.4ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (1.4ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.8ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (1.0ms) commit transaction ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 15:24:08 UTC], ["updated_at", 2017-05-11 15:24:08 UTC]]  (1.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms)  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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) TRUNCATE TABLE schema_migrations;  (1.6ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.6ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.6ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.6ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.6ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.7ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (1.0ms) delete from pulitzer_versions;  (0.2ms) TRUNCATE TABLE pulitzer_post_tags;  (1.1ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.9ms) delete from pulitzer_post_types;  (0.2ms) TRUNCATE TABLE pulitzer_partials;  (1.7ms) delete from pulitzer_partials;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (2.0ms) delete from pulitzer_free_form_section_types;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_sections;  (1.9ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (0.7ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (0.6ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (1.1ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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]] 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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["sort_order", 1]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["sort_order", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["sort_order", 3]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["sort_order", 4]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["sort_order", 5]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["sort_order", 6]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["sort_order", 7]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["sort_order", 8]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["sort_order", 9]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["sort_order", 10]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.6ms) commit transaction  (0.2ms) begin transaction Pulitzer::Post Exists (3.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC]]  (0.7ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC]]  (1.4ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.2ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC]]  (2.6ms) commit transaction Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC]]  (1.4ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC]]  (1.9ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC]]  (1.1ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC]]  (0.9ms) commit transaction Pulitzer::Version Load (1.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.3ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC]]  (0.9ms) commit transaction Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC]]  (1.0ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.7ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 15:24:37 UTC], ["updated_at", 2017-05-11 15:24:37 UTC], ["plural", true]]  (1.1ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 15:24:37 UTC], ["updated_at", 2017-05-11 15:24:37 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 15:24:37 UTC], ["updated_at", 2017-05-11 15:24:37 UTC]]  (0.7ms) commit transaction  (0.2ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 15:24:37 UTC], ["updated_at", 2017-05-11 15:24:37 UTC], ["plural", true]]  (2.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 15:24:37 UTC], ["updated_at", 2017-05-11 15:24:37 UTC], ["slug", "ski-jump-competition"]] SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 15:24:37 UTC], ["updated_at", 2017-05-11 15:24:37 UTC]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 15:24:37 UTC], ["updated_at", 2017-05-11 15:24:37 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 15:24:37 UTC], ["updated_at", 2017-05-11 15:24:37 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 15:24:37 UTC], ["updated_at", 2017-05-11 15:24:37 UTC]]  (0.9ms) commit transaction Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 1]]  (3.0ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 15:24:37 UTC], ["updated_at", 2017-05-11 15:24:37 UTC]]  (0.7ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::ContentElement Load (0.5ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (1.3ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (1.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::PostTypeContentElementType Load (0.4ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (1.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (1.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:24:36 UTC], ["updated_at", 2017-05-11 15:24:36 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::FreeFormSection Load (0.3ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.8ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (1.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.4ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (1.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [d6734b76-645c-40c7-85b4-b33b40e3171c] Performed Pulitzer::CloneVersionJob from Inline(default) in 179.49ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: d6734b76-645c-40c7-85b4-b33b40e3171c) to Inline(default) with arguments: #> Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.4ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 3]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 4]]  (0.9ms) commit transaction  (0.2ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 5]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 6]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 7]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 8]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 9]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 15:24:37 UTC], ["id", 10]]  (1.3ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 15:24:48 UTC], ["updated_at", 2017-05-11 15:24:48 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 15:24:48 UTC], ["updated_at", 2017-05-11 15:24:48 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 15:24:48 UTC], ["updated_at", 2017-05-11 15:24:48 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (1.2ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) begin transaction  (0.5ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (0.9ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (0.6ms) 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.7ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction  (0.7ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]  (0.9ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction  (0.6ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (1.0ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.9ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.7ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 15:32:28 UTC], ["updated_at", 2017-05-11 15:32:28 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 15:32:28 UTC], ["updated_at", 2017-05-11 15:32:28 UTC]] Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 15:32:28 UTC], ["updated_at", 2017-05-11 15:32:28 UTC]] SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.9ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.8ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.3ms) 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.2ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.5ms) DROP TABLE "pulitzer_post_tags"  (0.9ms) 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.2ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.3ms) DROP TABLE "apulitzer_post_tags" SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (1.1ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.2ms) begin transaction  (0.9ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar SQL (0.3ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (1.9ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.8ms) 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.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)  (0.2ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.7ms) DROP TABLE "pulitzer_content_elements"  (0.3ms) 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.2ms) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.2ms) DROP TABLE "apulitzer_content_elements"  (0.3ms) 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.2ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) DROP TABLE "pulitzer_post_tags"  (0.3ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (1.9ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) 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 ? [["LIMIT", 1000]] SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.8ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" 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.2ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"  (0.2ms) DROP TABLE "apulitzer_post_types"  (0.3ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.8ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.8ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.8ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.0ms) begin transaction  (0.4ms) 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.7ms) 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"]]  (0.8ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]  (0.7ms) 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.9ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.4ms) 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.9ms) 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.8ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.1ms) begin transaction  (0.7ms) 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.9ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.8ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.8ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.3ms) 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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (2.9ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.8ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (0.9ms) commit transaction ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 15:32:28 UTC], ["updated_at", 2017-05-11 15:32:28 UTC]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.3ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) TRUNCATE TABLE schema_migrations;  (0.9ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.8ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.8ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (1.0ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.9ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.7ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (0.8ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.7ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.7ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.8ms) delete from pulitzer_partials;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.9ms) delete from pulitzer_free_form_section_types;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.8ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (0.8ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (1.0ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.9ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 15:32:40 UTC], ["updated_at", 2017-05-11 15:32:40 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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]] Pulitzer::FreeFormSectionType Load (0.2ms) 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]] SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["sort_order", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["sort_order", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["sort_order", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["sort_order", 4]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["sort_order", 5]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["sort_order", 6]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["sort_order", 7]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["sort_order", 8]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["sort_order", 9]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["sort_order", 10]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.8ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.7ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.9ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.2ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.2ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.9ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 1]]  (0.8ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC]]  (0.9ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] 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 [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.3ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.7ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:32:41 UTC], ["updated_at", 2017-05-11 15:32:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] 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", 2]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.2ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1a94a704-5cb5-487f-8063-2c7a6a233dba] Performed Pulitzer::CloneVersionJob from Inline(default) in 154.44ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 1a94a704-5cb5-487f-8063-2c7a6a233dba) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 2]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 3]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 4]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 6]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 7]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 8]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 9]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 15:32:41 UTC], ["id", 10]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 15:33:42 UTC], ["updated_at", 2017-05-11 15:33:42 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 15:33:42 UTC], ["updated_at", 2017-05-11 15:33:42 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 15:33:42 UTC], ["updated_at", 2017-05-11 15:33:42 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]]  (0.2ms) 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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-11 15:37:06 UTC], ["updated_at", 2017-05-11 15:37:06 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 15:37:06 UTC], ["updated_at", 2017-05-11 15:37:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? ORDER BY "pulitzer_versions"."id" ASC LIMIT ? [["post_id", 5], ["LIMIT", 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", 6]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? ORDER BY "pulitzer_versions"."id" ASC LIMIT ? [["post_id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? ORDER BY "pulitzer_versions"."id" ASC LIMIT ? [["post_id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? ORDER BY "pulitzer_versions"."id" ASC LIMIT ? [["post_id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]]  (0.3ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.2ms) begin transaction  (0.9ms) 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"]]  (2.2ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.2ms) begin transaction  (0.6ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (4.1ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (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) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (2.9ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.2ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]  (1.0ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction  (0.8ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (0.9ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (1.7ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.8ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.7ms) 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.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 15:41:52 UTC], ["updated_at", 2017-05-11 15:41:52 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 15:41:52 UTC], ["updated_at", 2017-05-11 15:41:52 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 15:41:52 UTC], ["updated_at", 2017-05-11 15:41:52 UTC]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (3.6ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.2ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (1.0ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.9ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.6ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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.2ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.2ms) DROP TABLE "apulitzer_post_tags" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (1.2ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar SQL (0.2ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (0.8ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.4ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (1.3ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction  (0.1ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.4ms) DROP TABLE "pulitzer_content_elements"  (0.3ms) 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.2ms) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.3ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (3.3ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (1.2ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.4ms) 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.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (1.9ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction  (0.3ms) 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.2ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"  (0.5ms) DROP TABLE "pulitzer_post_types"  (0.3ms) 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.2ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"  (0.1ms) DROP TABLE "apulitzer_post_types"  (0.3ms) 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.6ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (1.1ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.9ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.2ms) begin transaction  (0.7ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]  (1.7ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.7ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.2ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL  (0.2ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]  (2.0ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]  (1.1ms) 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"]]  (1.1ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.4ms) 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"]]  (2.1ms) 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.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]  (1.2ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.1ms) begin transaction  (0.5ms) 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"]]  (4.2ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (1.3ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.9ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.5ms) DROP TABLE "pulitzer_content_elements"  (0.5ms) 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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.8ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.9ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (1.1ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (1.9ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.4ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (2.8ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.9ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (1.9ms) commit transaction ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 15:41:52 UTC], ["updated_at", 2017-05-11 15:41:52 UTC]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.3ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (2.2ms) delete from schema_migrations;  (0.2ms) TRUNCATE TABLE ar_internal_metadata;  (0.8ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.6ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.7ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.7ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (1.2ms) delete from pulitzer_post_type_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_versions;  (1.7ms) delete from pulitzer_versions;  (0.2ms) TRUNCATE TABLE pulitzer_post_tags;  (0.8ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.7ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.9ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (3.2ms) delete from pulitzer_free_form_section_types;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_sections;  (1.3ms) delete from pulitzer_free_form_sections;  (0.2ms) TRUNCATE TABLE pulitzer_layouts;  (1.4ms) delete from pulitzer_layouts;  (0.3ms) TRUNCATE TABLE pulitzer_content_elements;  (1.8ms) delete from pulitzer_content_elements;  (0.7ms) TRUNCATE TABLE pulitzer_partial_types;  (1.2ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 15:42:28 UTC], ["updated_at", 2017-05-11 15:42:28 UTC], ["plural", true]]  (2.4ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 15:42:28 UTC], ["updated_at", 2017-05-11 15:42:28 UTC]]  (1.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 15:42:28 UTC], ["updated_at", 2017-05-11 15:42:28 UTC]]  (0.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 15:42:28 UTC], ["updated_at", 2017-05-11 15:42:28 UTC]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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]] Pulitzer::FreeFormSectionType Load (0.2ms) 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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 15:42:28 UTC], ["updated_at", 2017-05-11 15:42:28 UTC], ["sort_order", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 15:42:28 UTC], ["updated_at", 2017-05-11 15:42:28 UTC], ["sort_order", 2]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 15:42:28 UTC], ["updated_at", 2017-05-11 15:42:28 UTC], ["sort_order", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (2.8ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 15:42:28 UTC], ["updated_at", 2017-05-11 15:42:28 UTC], ["sort_order", 4]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 15:42:28 UTC], ["updated_at", 2017-05-11 15:42:28 UTC], ["sort_order", 5]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 15:42:28 UTC], ["updated_at", 2017-05-11 15:42:28 UTC], ["sort_order", 6]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 15:42:28 UTC], ["updated_at", 2017-05-11 15:42:28 UTC], ["sort_order", 7]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 15:42:28 UTC], ["updated_at", 2017-05-11 15:42:28 UTC], ["sort_order", 8]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 15:42:28 UTC], ["updated_at", 2017-05-11 15:42:28 UTC], ["sort_order", 9]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 15:42:28 UTC], ["updated_at", 2017-05-11 15:42:28 UTC], ["sort_order", 10]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["slug", "welcome"]] SQL (1.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC]]  (2.3ms) commit transaction Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC]]  (1.0ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC]]  (1.0ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC]]  (0.7ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC]]  (1.1ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (1.2ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["plural", true]]  (1.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC]]  (0.7ms) commit transaction Pulitzer::Post Load (1.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 1]]  (0.7ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC]]  (0.6ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.7ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] 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 [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.9ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.4ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (1.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] SQL (0.5ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [11a84d7a-5a29-4715-80b5-c402d3da63e4] Performed Pulitzer::CloneVersionJob from Inline(default) in 155.97ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 11a84d7a-5a29-4715-80b5-c402d3da63e4) to Inline(default) with arguments: #> Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 3]]  (0.6ms) commit transaction  (0.3ms) begin transaction SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 4]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 5]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 6]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 7]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 8]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 9]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 15:42:29 UTC], ["id", 10]]  (1.2ms) commit transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (2.7ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 15:42:29 UTC], ["updated_at", 2017-05-11 15:42:29 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]]  (0.3ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (1.0ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (10.2ms) 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"]]  (3.0ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction  (0.4ms) 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"]]  (2.8ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction  (0.3ms) 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"]]  (7.3ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (4.3ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.1ms) begin transaction  (0.3ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (13.4ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.9ms) 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" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 15:43:55 UTC], ["updated_at", 2017-05-11 15:43:55 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 15:43:55 UTC], ["updated_at", 2017-05-11 15:43:55 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 15:43:55 UTC], ["updated_at", 2017-05-11 15:43:55 UTC]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (2.0ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (19.0ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.2ms) begin transaction  (0.3ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) DROP TABLE "pulitzer_post_tags"  (0.3ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (1.0ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.1ms) begin transaction  (0.4ms) 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"]]  (2.8ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.4ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (15.2ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.3ms) 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.2ms) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.2ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (0.8ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.7ms) 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 ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (1.0ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.0ms) begin transaction  (0.4ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" 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.2ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (2.1ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (2.8ms) 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"]]  (2.6ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (0.4ms) 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"]]  (24.2ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.5ms) 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"]]  (9.5ms) 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"]]  (1.0ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.0ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]  (9.6ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.4ms) 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"]]  (5.2ms) commit transaction Migrating to FixPostTypeKinds (20160516150237)  (0.1ms) begin transaction Pulitzer::PostType Load (0.6ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]  (1.2ms) 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"]]  (9.8ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.4ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.8ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.8ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.5ms) 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.3ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.2ms) DROP TABLE "apulitzer_content_elements" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (2.3ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.9ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (2.6ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (16.9ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 15:43:55 UTC], ["updated_at", 2017-05-11 15:43:55 UTC]]  (2.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.2ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (3.5ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.9ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.6ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.8ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (5.5ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.9ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (0.8ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.6ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.6ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.8ms) delete from pulitzer_partials;  (0.3ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.9ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.6ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (0.9ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (0.8ms) delete from pulitzer_content_elements;  (0.2ms) TRUNCATE TABLE pulitzer_partial_types;  (0.7ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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.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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["sort_order", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["sort_order", 2]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["sort_order", 3]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["sort_order", 4]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["sort_order", 5]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["sort_order", 6]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["sort_order", 7]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["sort_order", 8]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["sort_order", 9]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["sort_order", 10]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC]]  (1.9ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC]]  (1.5ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC]]  (1.0ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.2ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC], ["plural", true]]  (1.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC]]  (0.9ms) commit transaction Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 1]]  (0.7ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC]]  (1.1ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] 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 [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (1.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:11 UTC], ["updated_at", 2017-05-11 15:48:11 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.4ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [25698c7e-5f92-45e8-8499-a04022c77f32] Performed Pulitzer::CloneVersionJob from Inline(default) in 137.1ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 25698c7e-5f92-45e8-8499-a04022c77f32) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 3]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.8ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 5]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 6]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 8]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 9]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 15:48:12 UTC], ["id", 10]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 15:48:12 UTC], ["updated_at", 2017-05-11 15:48:12 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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", 6]]  (0.3ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (1.1ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (0.8ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction  (0.4ms) 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.9ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.0ms) begin transaction  (0.3ms) 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.0ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.7ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.8ms) 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" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 16:00:13 UTC], ["updated_at", 2017-05-11 16:00:13 UTC]] Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 16:00:13 UTC], ["updated_at", 2017-05-11 16:00:13 UTC]] Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 16:00:13 UTC], ["updated_at", 2017-05-11 16:00:13 UTC]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.8ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (1.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.8ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.9ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (0.8ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.5ms) 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"]]  (0.9ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.4ms) 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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (1.0ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.0ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) 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 ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.7ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.8ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.8ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.0ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.6ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.0ms) begin transaction  (0.4ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]  (0.9ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.3ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL  (0.6ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]  (0.9ms) 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.8ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.1ms) begin transaction  (0.5ms) 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.8ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.4ms) 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"]]  (1.0ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]  (1.1ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.5ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (1.2ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (1.9ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.5ms) 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.7ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (1.1ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.8ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.0ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.8ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (1.5ms) commit transaction ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 16:00:13 UTC], ["updated_at", 2017-05-11 16:00:13 UTC]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) TRUNCATE TABLE schema_migrations;  (3.8ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.7ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.6ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.6ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.7ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.7ms) delete from pulitzer_post_type_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_versions;  (0.8ms) delete from pulitzer_versions;  (0.2ms) TRUNCATE TABLE pulitzer_post_tags;  (0.8ms) delete from pulitzer_post_tags;  (0.2ms) TRUNCATE TABLE pulitzer_post_types;  (0.9ms) delete from pulitzer_post_types;  (0.2ms) TRUNCATE TABLE pulitzer_partials;  (0.7ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.7ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.7ms) delete from pulitzer_free_form_sections;  (0.2ms) TRUNCATE TABLE pulitzer_layouts;  (0.8ms) delete from pulitzer_layouts;  (0.2ms) TRUNCATE TABLE pulitzer_content_elements;  (0.8ms) delete from pulitzer_content_elements;  (0.2ms) TRUNCATE TABLE pulitzer_partial_types;  (0.8ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 16:00:18 UTC], ["updated_at", 2017-05-11 16:00:18 UTC], ["plural", true]]  (1.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.8ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 16:00:18 UTC], ["updated_at", 2017-05-11 16:00:18 UTC]]  (1.3ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 16:00:18 UTC], ["updated_at", 2017-05-11 16:00:18 UTC]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 16:00:18 UTC], ["updated_at", 2017-05-11 16:00:18 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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]] 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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 16:00:18 UTC], ["updated_at", 2017-05-11 16:00:18 UTC], ["sort_order", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 16:00:18 UTC], ["updated_at", 2017-05-11 16:00:18 UTC], ["sort_order", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 16:00:18 UTC], ["updated_at", 2017-05-11 16:00:18 UTC], ["sort_order", 3]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 16:00:18 UTC], ["updated_at", 2017-05-11 16:00:18 UTC], ["sort_order", 4]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 16:00:18 UTC], ["updated_at", 2017-05-11 16:00:18 UTC], ["sort_order", 5]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 16:00:18 UTC], ["updated_at", 2017-05-11 16:00:18 UTC], ["sort_order", 6]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 16:00:18 UTC], ["updated_at", 2017-05-11 16:00:18 UTC], ["sort_order", 7]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 16:00:18 UTC], ["updated_at", 2017-05-11 16:00:18 UTC], ["sort_order", 8]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 16:00:18 UTC], ["updated_at", 2017-05-11 16:00:18 UTC], ["sort_order", 9]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 16:00:18 UTC], ["updated_at", 2017-05-11 16:00:18 UTC], ["sort_order", 10]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC]]  (1.9ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC]]  (0.8ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC]]  (1.1ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC]]  (1.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["slug", "ski-jump-competition"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC]]  (0.7ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 1]]  (0.9ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC]]  (14.9ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] 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 [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (1.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::Partial Load (0.5ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (1.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.8ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [04fb640b-8452-448c-b22c-197c4fc9f289] Performed Pulitzer::CloneVersionJob from Inline(default) in 163.04ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 04fb640b-8452-448c-b22c-197c4fc9f289) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 5]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 6]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 7]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 8]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 9]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 16:00:19 UTC], ["id", 10]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 16:00:19 UTC], ["updated_at", 2017-05-11 16:00:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.6ms) 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.8ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.0ms) 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.0ms) begin transaction  (0.4ms) 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.9ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.0ms) begin transaction  (0.3ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.0ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.8ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.8ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.7ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 16:02:20 UTC], ["updated_at", 2017-05-11 16:02:20 UTC]] Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 16:02:20 UTC], ["updated_at", 2017-05-11 16:02:20 UTC]] Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 16:02:20 UTC], ["updated_at", 2017-05-11 16:02:20 UTC]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.9ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.8ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.0ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.9ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) begin transaction  (0.4ms) 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.9ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.4ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.9ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.5ms) DROP TABLE "pulitzer_content_elements"  (0.3ms) 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.2ms) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.2ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.7ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (0.9ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (1.1ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) 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.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.9ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.8ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.6ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.0ms) 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.1ms) begin transaction  (0.4ms) 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.6ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.6ms) 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"]]  (0.8ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]  (0.6ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.0ms) begin transaction  (0.5ms) 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.1ms) begin transaction  (0.4ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]  (1.0ms) commit transaction Migrating to FixPostTypeKinds (20160516150237)  (0.1ms) begin transaction Pulitzer::PostType Load (0.4ms) 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.9ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.0ms) begin transaction  (0.3ms) 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.9ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.7ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.8ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.9ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.7ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.9ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (0.8ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 16:02:20 UTC], ["updated_at", 2017-05-11 16:02:20 UTC]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.4ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (3.8ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.9ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.7ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.6ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.7ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (1.3ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (0.9ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.7ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.8ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.7ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.7ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (1.4ms) delete from pulitzer_free_form_sections;  (0.2ms) TRUNCATE TABLE pulitzer_layouts;  (0.8ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (0.7ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.6ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 16:02:24 UTC], ["updated_at", 2017-05-11 16:02:24 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 16:02:24 UTC], ["updated_at", 2017-05-11 16:02:24 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 16:02:24 UTC], ["updated_at", 2017-05-11 16:02:24 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 16:02:24 UTC], ["updated_at", 2017-05-11 16:02:24 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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.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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 16:02:24 UTC], ["updated_at", 2017-05-11 16:02:24 UTC], ["sort_order", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 16:02:24 UTC], ["updated_at", 2017-05-11 16:02:24 UTC], ["sort_order", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 16:02:24 UTC], ["updated_at", 2017-05-11 16:02:24 UTC], ["sort_order", 3]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 16:02:24 UTC], ["updated_at", 2017-05-11 16:02:24 UTC], ["sort_order", 4]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 16:02:24 UTC], ["updated_at", 2017-05-11 16:02:24 UTC], ["sort_order", 5]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 16:02:24 UTC], ["updated_at", 2017-05-11 16:02:24 UTC], ["sort_order", 6]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 16:02:24 UTC], ["updated_at", 2017-05-11 16:02:24 UTC], ["sort_order", 7]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 16:02:24 UTC], ["updated_at", 2017-05-11 16:02:24 UTC], ["sort_order", 8]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 16:02:24 UTC], ["updated_at", 2017-05-11 16:02:24 UTC], ["sort_order", 9]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 16:02:24 UTC], ["updated_at", 2017-05-11 16:02:24 UTC], ["sort_order", 10]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 16:02:24 UTC], ["updated_at", 2017-05-11 16:02:24 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC]]  (1.9ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["plural", true]]  (0.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["slug", "ski-jump-competition"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC]]  (0.9ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 1]]  (0.8ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC]]  (0.8ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] 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", 2]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c21a78a2-0d11-4c9d-bba8-42d3095d5ff3] Performed Pulitzer::CloneVersionJob from Inline(default) in 118.3ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: c21a78a2-0d11-4c9d-bba8-42d3095d5ff3) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 1]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 5]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 6]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 8]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 9]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 16:02:25 UTC], ["id", 10]]  (0.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 16:02:25 UTC], ["updated_at", 2017-05-11 16:02:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 1"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 1"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 1], ["layout_id", 1], ["label", "Winterfell news 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]]  (0.7ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.9ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (0.8ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.0ms) begin transaction  (0.4ms) 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.0ms) begin transaction  (0.3ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.0ms) begin transaction  (0.3ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.9ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.1ms) begin transaction  (0.3ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.9ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.6ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 16:17:39 UTC], ["updated_at", 2017-05-11 16:17:39 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 16:17:39 UTC], ["updated_at", 2017-05-11 16:17:39 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 16:17:39 UTC], ["updated_at", 2017-05-11 16:17:39 UTC]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (1.0ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.8ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.0ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.6ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.9ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) begin transaction  (0.3ms) 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.8ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.5ms) 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"]]  (0.7ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.0ms) begin transaction  (1.0ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.2ms) 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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (1.1ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.3ms) 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 ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.9ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"  (0.4ms) 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.2ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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"]]  (0.8ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (1.0ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (1.8ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]  (1.6ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.8ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.2ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL  (0.2ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]  (0.9ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.2ms) 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.8ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.0ms) begin transaction  (0.6ms) 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.8ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.4ms) 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.9ms) commit transaction Migrating to FixPostTypeKinds (20160516150237)  (0.0ms) 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.8ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.0ms) 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.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (1.0ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) begin transaction  (0.2ms) 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.7ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.4ms) DROP TABLE "pulitzer_content_elements"  (0.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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" 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 Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.9ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.8ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.9ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (0.9ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 16:17:40 UTC], ["updated_at", 2017-05-11 16:17:40 UTC]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (3.6ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.7ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.8ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.8ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.8ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.8ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (0.9ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (1.0ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.8ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.6ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.5ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.6ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (0.6ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (0.9ms) delete from pulitzer_content_elements;  (0.2ms) TRUNCATE TABLE pulitzer_partial_types;  (1.4ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["plural", true]]  (1.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.5ms) commit transaction  (0.0ms) begin transaction 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]] Pulitzer::FreeFormSectionType Load (0.2ms) 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]] SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["sort_order", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["sort_order", 2]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["sort_order", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["sort_order", 4]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["sort_order", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["sort_order", 6]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["sort_order", 7]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["sort_order", 8]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["sort_order", 9]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["sort_order", 10]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.5ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (3.3ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.7ms) commit transaction Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 1]]  (0.6ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.8ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::Version Load (1.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::ContentElement Load (0.5ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::PostTypeContentElementType Load (0.4ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] SQL (0.9ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [acf906a8-6673-45fa-a30a-2dfb184de2eb] Performed Pulitzer::CloneVersionJob from Inline(default) in 155.62ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: acf906a8-6673-45fa-a30a-2dfb184de2eb) to Inline(default) with arguments: #> Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 4]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 5]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 6]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 7]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 8]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 9]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 16:17:48 UTC], ["id", 10]]  (0.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["plural", false]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC], ["slug", "winterfell-news-1"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 16:17:48 UTC], ["updated_at", 2017-05-11 16:17:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 1"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 1"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 1], ["layout_id", 1], ["label", "Winterfell news 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]]  (1.7ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (1.4ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (1.4ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (0.5ms) 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.0ms) begin transaction  (0.3ms) 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.9ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.0ms) begin transaction  (0.3ms) 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.6ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.0ms) begin transaction  (0.3ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.8ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.8ms) 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" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 16:18:13 UTC], ["updated_at", 2017-05-11 16:18:13 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 16:18:13 UTC], ["updated_at", 2017-05-11 16:18:13 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 16:18:13 UTC], ["updated_at", 2017-05-11 16:18:13 UTC]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (1.1ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.1ms) 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.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.9ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) begin transaction  (0.6ms) 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.8ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.9ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (1.0ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction  (0.2ms) 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)  (6.2ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.9ms) DROP TABLE "pulitzer_content_elements"  (0.8ms) 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.4ms) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.2ms) 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.2ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.4ms) DROP TABLE "pulitzer_post_tags"  (0.3ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.2ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (2.8ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.2ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.3ms) 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.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (2.8ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"  (0.4ms) DROP TABLE "pulitzer_post_types"  (0.2ms) 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.2ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.8ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.7ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (4.1ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (0.4ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]  (0.7ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.2ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL  (0.2ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]  (0.8ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]  (3.5ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]  (0.7ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.4ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]  (7.5ms) 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.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]  (1.1ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (0.7ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.7ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.8ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.8ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (2.9ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (1.4ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (1.3ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (16.6ms) commit transaction ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 16:18:13 UTC], ["updated_at", 2017-05-11 16:18:13 UTC]]  (1.4ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms)  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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (2.2ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (3.8ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (1.0ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (2.9ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.9ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (3.2ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (3.6ms) delete from pulitzer_versions;  (0.2ms) TRUNCATE TABLE pulitzer_post_tags;  (1.2ms) delete from pulitzer_post_tags;  (0.2ms) TRUNCATE TABLE pulitzer_post_types;  (1.9ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (1.3ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (2.7ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.8ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (3.3ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (1.5ms) delete from pulitzer_content_elements;  (0.2ms) TRUNCATE TABLE pulitzer_partial_types;  (5.8ms) delete from pulitzer_partial_types;  (0.2ms) begin transaction SQL (0.8ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["plural", true]]  (3.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (2.5ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (2.5ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (1.2ms) commit transaction  (0.0ms) begin transaction 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.2ms) 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]] SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["sort_order", 1]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["sort_order", 2]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["sort_order", 3]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["sort_order", 4]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["sort_order", 5]]  (2.2ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["sort_order", 6]]  (4.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["sort_order", 7]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["sort_order", 8]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["sort_order", 9]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["sort_order", 10]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (2.2ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (2.2ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (3.2ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (2.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (1.0ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (2.4ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (2.3ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (2.1ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (2.3ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (2.4ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (3.4ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (2.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["plural", true]]  (0.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["plural", true]]  (2.5ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["slug", "ski-jump-competition"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["plural", true]]  (2.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (2.1ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 1]]  (3.2ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (0.8ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] 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 [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (3.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (2.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (3.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (2.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (3.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (2.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (2.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (4.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (2.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (3.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (2.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.2ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (4.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.5ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (3.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (3.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (3.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] SQL (0.5ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [86a7c44d-3d5f-49d1-8be9-935e9af5e0e1] Performed Pulitzer::CloneVersionJob from Inline(default) in 188.75ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 86a7c44d-3d5f-49d1-8be9-935e9af5e0e1) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] 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", 1]]  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 1]]  (3.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 2]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 3]]  (3.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 4]]  (3.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 5]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 6]]  (3.2ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 7]]  (3.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 8]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 9]]  (3.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 16:18:19 UTC], ["id", 10]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 16:18:19 UTC], ["updated_at", 2017-05-11 16:18:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 1"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.3ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 1"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 1], ["layout_id", 1], ["label", "Winterfell news 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]] Pulitzer::Partial Load (0.3ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 5]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]] Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]]  (0.3ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.7ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.9ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) begin transaction  (0.3ms) 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.4ms) 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.7ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.0ms) begin transaction  (0.3ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (1.6ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.1ms) begin transaction  (0.7ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.0ms) begin transaction  (0.3ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.6ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.7ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.6ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 16:21:45 UTC], ["updated_at", 2017-05-11 16:21:45 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 16:21:45 UTC], ["updated_at", 2017-05-11 16:21:45 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 16:21:45 UTC], ["updated_at", 2017-05-11 16:21:45 UTC]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.9ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (1.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.9ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.6ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.5ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.4ms) DROP TABLE "apulitzer_post_tags" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.7ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar SQL (0.2ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (0.8ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.7ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (1.0ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.4ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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, "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.2ms) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (2.0ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) 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 ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (1.0ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.8ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.9ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (1.0ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (0.4ms) 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.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.1ms) 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"]]  (0.7ms) 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.8ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]  (0.8ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.5ms) 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"]]  (1.0ms) 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.0ms) begin transaction  (1.2ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (1.5ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (1.0ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.7ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.9ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.7ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.2ms) begin transaction  (0.4ms) 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.3ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.7ms) DROP TABLE "pulitzer_content_elements"  (0.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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.8ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.9ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (1.2ms) commit transaction ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 16:21:46 UTC], ["updated_at", 2017-05-11 16:21:46 UTC]]  (0.7ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) TRUNCATE TABLE schema_migrations;  (3.6ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (2.7ms) delete from ar_internal_metadata;  (0.2ms) TRUNCATE TABLE pulitzer_content_element_types;  (1.6ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (3.4ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (3.6ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (3.2ms) delete from pulitzer_post_type_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_versions;  (3.7ms) delete from pulitzer_versions;  (0.3ms) TRUNCATE TABLE pulitzer_post_tags;  (24.6ms) delete from pulitzer_post_tags;  (0.2ms) TRUNCATE TABLE pulitzer_post_types;  (4.7ms) delete from pulitzer_post_types;  (0.2ms) TRUNCATE TABLE pulitzer_partials;  (5.3ms) delete from pulitzer_partials;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (6.2ms) delete from pulitzer_free_form_section_types;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_sections;  (4.1ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (0.8ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (3.8ms) delete from pulitzer_content_elements;  (0.2ms) TRUNCATE TABLE pulitzer_partial_types;  (4.6ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["plural", true]]  (2.4ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC]]  (3.5ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC]]  (1.0ms) commit transaction  (0.1ms) begin transaction 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]] 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]] SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["sort_order", 1]]  (2.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["sort_order", 2]]  (3.6ms) commit transaction  (0.1ms) begin transaction SQL (7.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["sort_order", 3]]  (5.3ms) commit transaction  (0.2ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["sort_order", 4]]  (4.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["sort_order", 5]]  (3.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["sort_order", 6]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["sort_order", 7]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["sort_order", 8]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["sort_order", 9]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["sort_order", 10]]  (3.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (3.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["slug", "welcome"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC]]  (4.7ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (1.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC]]  (2.9ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.3ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC]]  (4.1ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC]]  (0.7ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC]]  (3.6ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC]]  (2.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC]]  (2.6ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (2.0ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC]]  (1.5ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC]]  (2.4ms) commit transaction Pulitzer::Version Load (0.4ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC]]  (2.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.2ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:57 UTC], ["updated_at", 2017-05-11 16:21:57 UTC]]  (1.5ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.5ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (2.1ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 16:21:57 UTC], ["updated_at", 2017-05-11 16:21:57 UTC], ["plural", true]]  (1.5ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 16:21:57 UTC], ["updated_at", 2017-05-11 16:21:57 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 16:21:57 UTC], ["updated_at", 2017-05-11 16:21:57 UTC]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 16:21:57 UTC], ["updated_at", 2017-05-11 16:21:57 UTC], ["plural", true]]  (3.5ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 16:21:57 UTC], ["updated_at", 2017-05-11 16:21:57 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 16:21:57 UTC], ["updated_at", 2017-05-11 16:21:57 UTC]]  (1.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 16:21:57 UTC], ["updated_at", 2017-05-11 16:21:57 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 16:21:57 UTC], ["updated_at", 2017-05-11 16:21:57 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 16:21:57 UTC], ["updated_at", 2017-05-11 16:21:57 UTC]]  (1.8ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 1]]  (0.8ms) commit transaction Pulitzer::Tag Load (0.3ms) 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 16:21:57 UTC], ["updated_at", 2017-05-11 16:21:57 UTC]]  (2.4ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] 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 [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (3.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (2.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (3.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (1.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (3.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (2.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.8ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:56 UTC], ["updated_at", 2017-05-11 16:21:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (2.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:21:57 UTC], ["updated_at", 2017-05-11 16:21:57 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (1.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (1.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (3.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (3.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd]  (3.3ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6252205e-7206-4d50-9d81-f971958e5bbd] Performed Pulitzer::CloneVersionJob from Inline(default) in 163.7ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 6252205e-7206-4d50-9d81-f971958e5bbd) to Inline(default) with arguments: #> Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 1]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 2]]  (2.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 3]]  (3.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 4]]  (3.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 5]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 6]]  (3.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 7]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 8]]  (3.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 9]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 16:21:57 UTC], ["id", 10]]  (2.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:21:57 UTC], ["updated_at", 2017-05-11 16:21:57 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:21:57 UTC], ["updated_at", 2017-05-11 16:21:57 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:21:57 UTC], ["updated_at", 2017-05-11 16:21:57 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-11 16:21:57 UTC], ["updated_at", 2017-05-11 16:21:57 UTC], ["slug", "winterfell-news-1"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 16:21:57 UTC], ["updated_at", 2017-05-11 16:21:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 1"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 1"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 1], ["layout_id", 1], ["label", "Winterfell news 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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 LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]]  (0.9ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.9ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.0ms) begin transaction  (0.3ms) 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.0ms) begin transaction  (0.3ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (0.7ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.0ms) begin transaction  (0.3ms) 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.0ms) begin transaction  (0.3ms) 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.8ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.8ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.8ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 16:23:15 UTC], ["updated_at", 2017-05-11 16:23:15 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 16:23:15 UTC], ["updated_at", 2017-05-11 16:23:15 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 16:23:15 UTC], ["updated_at", 2017-05-11 16:23:15 UTC]] SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (1.0ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.8ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.4ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.7ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (1.2ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.4ms) 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"]]  (0.8ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction  (0.1ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.4ms) DROP TABLE "pulitzer_content_elements"  (0.2ms) 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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (0.8ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) 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 ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.7ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" 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.5ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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"]]  (0.8ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.8ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.7ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]  (0.7ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.1ms) 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"]]  (0.9ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.1ms) begin transaction  (0.5ms) 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.5ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]  (1.0ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.5ms) begin transaction  (0.4ms) 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.7ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]  (0.7ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (1.1ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.8ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.9ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) begin transaction  (0.4ms) 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.2ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.5ms) DROP TABLE "pulitzer_content_elements"  (0.4ms) 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.2ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.8ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.9ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.5ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.9ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.0ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (0.8ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 16:23:16 UTC], ["updated_at", 2017-05-11 16:23:16 UTC]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (1.3ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (1.0ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.7ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (1.0ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (1.7ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (1.0ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (0.9ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.8ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (1.1ms) delete from pulitzer_post_types;  (0.2ms) TRUNCATE TABLE pulitzer_partials;  (2.1ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.8ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.7ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (0.6ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (0.7ms) delete from pulitzer_content_elements;  (0.2ms) TRUNCATE TABLE pulitzer_partial_types;  (1.1ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 16:36:38 UTC], ["updated_at", 2017-05-11 16:36:38 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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.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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["sort_order", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["sort_order", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["sort_order", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["sort_order", 4]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["sort_order", 5]]  (3.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["sort_order", 6]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["sort_order", 7]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["sort_order", 8]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["sort_order", 9]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["sort_order", 10]]  (0.9ms) commit transaction  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (2.5ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.7ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["plural", true]]  (0.5ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.8ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 1]]  (0.8ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.8ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] 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 [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] 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", 2]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.2ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [2c00d48b-a147-462b-848c-0d09c43debce] Performed Pulitzer::CloneVersionJob from Inline(default) in 122.76ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 2c00d48b-a147-462b-848c-0d09c43debce) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 3]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 4]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 5]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 6]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 7]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 8]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 9]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 16:36:39 UTC], ["id", 10]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 16:36:39 UTC], ["updated_at", 2017-05-11 16:36:39 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 1"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 1], ["layout_id", 1], ["label", "Winterfell news 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]] Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]]  (0.6ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.7ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) begin transaction  (0.3ms) 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.8ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (0.5ms) 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.7ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction  (0.4ms) 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.7ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.0ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.0ms) begin transaction  (0.5ms) 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.9ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.0ms) begin transaction  (0.3ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.8ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.7ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 16:37:10 UTC], ["updated_at", 2017-05-11 16:37:10 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 16:37:10 UTC], ["updated_at", 2017-05-11 16:37:10 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 16:37:10 UTC], ["updated_at", 2017-05-11 16:37:10 UTC]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.9ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.9ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.9ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) begin transaction  (0.3ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (0.7ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.4ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.8ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.2ms) 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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (1.8ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.9ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) 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 ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.6ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.0ms) begin transaction  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"  (0.4ms) DROP TABLE "pulitzer_post_types"  (0.2ms) 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"  (0.1ms) DROP TABLE "apulitzer_post_types"  (0.3ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.9ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.8ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.0ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.8ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (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) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]  (0.8ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.1ms) 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"]]  (0.7ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.0ms) 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.8ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]  (0.9ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.2ms) begin transaction  (0.7ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]  (0.9ms) 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.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]  (1.1ms) 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.7ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (0.6ms) 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.0ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.8ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" 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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.9ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.7ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.8ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.9ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.0ms) begin transaction  (0.8ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (1.3ms) commit transaction ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 16:37:10 UTC], ["updated_at", 2017-05-11 16:37:10 UTC]]  (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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (2.3ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.9ms) delete from ar_internal_metadata;  (0.2ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.7ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.8ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.7ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.7ms) delete from pulitzer_post_type_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_versions;  (0.7ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.6ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.8ms) delete from pulitzer_post_types;  (0.2ms) TRUNCATE TABLE pulitzer_partials;  (0.9ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.7ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (1.1ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (0.6ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (0.9ms) delete from pulitzer_content_elements;  (0.2ms) TRUNCATE TABLE pulitzer_partial_types;  (1.2ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["plural", true]]  (1.2ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (1.4ms) commit transaction  (0.1ms) begin transaction 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]] 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]] SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["sort_order", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["sort_order", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["sort_order", 3]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["sort_order", 4]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["sort_order", 5]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["sort_order", 6]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["sort_order", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["sort_order", 8]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["sort_order", 9]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["sort_order", 10]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.5ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (2.0ms) commit transaction Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (3.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (1.1ms) commit transaction Pulitzer::Version Load (0.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (0.7ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (0.8ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (0.9ms) commit transaction Pulitzer::Version Load (0.4ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (2.1ms) commit transaction Pulitzer::Version Load (0.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.7ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["plural", true]]  (0.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["plural", true]]  (0.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (0.8ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 16:37:49 UTC], ["id", 1]]  (0.6ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC]]  (0.7ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] 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 [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:37:49 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (1.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:37:49 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:37:49 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:37:49 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:37:49 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:37:49 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:37:49 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:37:49 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:37:49 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 16:37:49 UTC], ["updated_at", 2017-05-11 16:37:49 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 16:37:49 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.3ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.5ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 16:37:49 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [fd68b337-99b9-43cc-b684-bc61804e046b] Performed Pulitzer::CloneVersionJob from Inline(default) in 138.28ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: fd68b337-99b9-43cc-b684-bc61804e046b) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.6ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 16:37:50 UTC], ["id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 16:37:50 UTC], ["id", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 16:37:50 UTC], ["id", 3]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 16:37:50 UTC], ["id", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 16:37:50 UTC], ["id", 5]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 16:37:50 UTC], ["id", 6]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 16:37:50 UTC], ["id", 7]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 16:37:50 UTC], ["id", 8]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 16:37:50 UTC], ["id", 9]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 16:37:50 UTC], ["id", 10]]  (4.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:37:50 UTC], ["updated_at", 2017-05-11 16:37:50 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:37:50 UTC], ["updated_at", 2017-05-11 16:37:50 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 16:37:50 UTC], ["updated_at", 2017-05-11 16:37:50 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-11 16:37:50 UTC], ["updated_at", 2017-05-11 16:37:50 UTC], ["slug", "winterfell-news-1"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 16:37:50 UTC], ["updated_at", 2017-05-11 16:37:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 1"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 1], ["layout_id", 1], ["label", "Winterfell news 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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 LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]]  (1.7ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.3ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.8ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.2ms) begin transaction  (0.5ms) 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.8ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (0.7ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction  (0.4ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.0ms) begin transaction  (0.5ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.0ms) begin transaction  (0.3ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.7ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.2ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.7ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 16:40:42 UTC], ["updated_at", 2017-05-11 16:40:42 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 16:40:42 UTC], ["updated_at", 2017-05-11 16:40:42 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 16:40:42 UTC], ["updated_at", 2017-05-11 16:40:42 UTC]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (3.2ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (9.2ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.3ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.5ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.8ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) begin transaction  (0.4ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (1.3ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.5ms) 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"]]  (4.4ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (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)  (0.1ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.4ms) DROP TABLE "pulitzer_content_elements"  (0.2ms) 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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (0.8ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.3ms) 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 ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (1.8ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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"]]  (0.9ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (2.2ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.7ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]  (7.9ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.1ms) 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"]]  (6.3ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]  (7.2ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]  (3.2ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.5ms) 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"]]  (14.7ms) 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.8ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (9.1ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.9ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (2.3ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.6ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.4ms) DROP TABLE "pulitzer_content_elements"  (0.3ms) 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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.9ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (1.0ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.0ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.3ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (2.1ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (11.3ms) commit transaction ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 16:40:43 UTC], ["updated_at", 2017-05-11 16:40:43 UTC]]  (2.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) TRUNCATE TABLE schema_migrations;  (1.4ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (3.1ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (1.1ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (2.2ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.9ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.9ms) delete from pulitzer_post_type_content_element_types;  (0.3ms) TRUNCATE TABLE pulitzer_versions;  (1.1ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.8ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.5ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.9ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (1.0ms) delete from pulitzer_free_form_section_types;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_sections;  (2.9ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (0.7ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (0.8ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (1.0ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (0.9ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (6.6ms) commit transaction  (0.1ms) begin transaction 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]] 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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["sort_order", 1]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["sort_order", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["sort_order", 3]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (10.7ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["sort_order", 4]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["sort_order", 5]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["sort_order", 6]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["sort_order", 7]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["sort_order", 8]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["sort_order", 9]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["sort_order", 10]]  (9.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (3.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["slug", "welcome"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (0.9ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (1.5ms) commit transaction Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (0.7ms) commit transaction Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (1.0ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (4.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (2.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (1.1ms) commit transaction Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (0.9ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (0.9ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (1.6ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.3ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (0.9ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 17:02:28 UTC], ["id", 1]]  (0.8ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC]]  (0.7ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::Version Load (0.4ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (4.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:02:28 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (7.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (4.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:02:28 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (9.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (4.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:02:28 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (4.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (4.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:02:28 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (14.3ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:02:28 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (1.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:02:28 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:02:29 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::PostTypeContentElementType Load (0.7ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.8ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:02:29 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (6.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::ContentElementType Load (0.6ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:02:29 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:02:28 UTC], ["updated_at", 2017-05-11 17:02:28 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:02:29 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] 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", 2]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 17:02:29 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [66f6f033-5fc4-40df-aa9b-b9b93fc65a15] Performed Pulitzer::CloneVersionJob from Inline(default) in 222.39ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 66f6f033-5fc4-40df-aa9b-b9b93fc65a15) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 17:02:29 UTC], ["id", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 17:02:29 UTC], ["id", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 17:02:29 UTC], ["id", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 17:02:29 UTC], ["id", 4]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 17:02:29 UTC], ["id", 5]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 17:02:29 UTC], ["id", 6]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 17:02:29 UTC], ["id", 7]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 17:02:29 UTC], ["id", 8]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 17:02:29 UTC], ["id", 9]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 17:02:29 UTC], ["id", 10]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:02:29 UTC], ["updated_at", 2017-05-11 17:02:29 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:02:29 UTC], ["updated_at", 2017-05-11 17:02:29 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:02:29 UTC], ["updated_at", 2017-05-11 17:02:29 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (0.2ms) 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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-11 17:02:29 UTC], ["updated_at", 2017-05-11 17:02:29 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:02:29 UTC], ["updated_at", 2017-05-11 17:02:29 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 1"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 1"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 1], ["layout_id", 1], ["label", "Winterfell news 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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 LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_partial_types" SET "label" = ? WHERE "pulitzer_partial_types"."id" = ? [["label", "new label"], ["id", 1]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 1"], ["LIMIT", 1]] Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."label" = ? ORDER BY "pulitzer_partials"."sort_order" ASC LIMIT ? [["free_form_section_id", 5], ["label", "Winterfell news 1"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_partials" SET "label" = ? WHERE "pulitzer_partials"."id" = ? [["label", "new label"], ["id", 1]]  (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" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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", 5]]  (0.6ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.8ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) begin transaction  (0.3ms) 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.6ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (0.8ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (0.9ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.0ms) begin transaction  (0.3ms) 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.7ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (0.9ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.9ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.1ms) begin transaction  (0.5ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.7ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.7ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 17:03:50 UTC], ["updated_at", 2017-05-11 17:03:50 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 17:03:50 UTC], ["updated_at", 2017-05-11 17:03:50 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 17:03:50 UTC], ["updated_at", 2017-05-11 17:03:50 UTC]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.9ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.8ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (1.0ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.1ms) begin transaction  (0.6ms) 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.8ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.4ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.8ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction  (0.1ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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, "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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (0.9ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) 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 ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.8ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"  (0.4ms) DROP TABLE "pulitzer_post_types"  (0.2ms) 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.2ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"  (0.1ms) DROP TABLE "apulitzer_post_types"  (0.3ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.9ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (1.1ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.7ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (0.4ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]  (0.7ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.5ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.2ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL  (0.3ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]  (0.8ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]  (0.8ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.1ms) begin transaction  (0.3ms) 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.1ms) begin transaction  (0.5ms) 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.7ms) commit transaction Migrating to FixPostTypeKinds (20160516150237)  (0.1ms) begin transaction Pulitzer::PostType Load (0.5ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2) SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]  (0.9ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.1ms) begin transaction  (0.6ms) 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.9ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.8ms) 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.8ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) begin transaction  (0.1ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.2ms) DROP TABLE "apulitzer_content_elements" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.9ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.7ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (0.8ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 17:03:50 UTC], ["updated_at", 2017-05-11 17:03:50 UTC]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) 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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (1.1ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.9ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.8ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.6ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.8ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.7ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (0.8ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.8ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.7ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.8ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.8ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.7ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (1.0ms) delete from pulitzer_layouts;  (0.2ms) TRUNCATE TABLE pulitzer_content_elements;  (0.9ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.9ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 17:03:57 UTC], ["updated_at", 2017-05-11 17:03:57 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 17:03:57 UTC], ["updated_at", 2017-05-11 17:03:57 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 17:03:57 UTC], ["updated_at", 2017-05-11 17:03:57 UTC]]  (1.1ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 17:03:57 UTC], ["updated_at", 2017-05-11 17:03:57 UTC]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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]] Pulitzer::FreeFormSectionType Load (0.4ms) 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]] SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 17:03:57 UTC], ["updated_at", 2017-05-11 17:03:57 UTC], ["sort_order", 1]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 17:03:57 UTC], ["updated_at", 2017-05-11 17:03:57 UTC], ["sort_order", 2]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 17:03:57 UTC], ["updated_at", 2017-05-11 17:03:57 UTC], ["sort_order", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 17:03:57 UTC], ["updated_at", 2017-05-11 17:03:57 UTC], ["sort_order", 4]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 17:03:57 UTC], ["updated_at", 2017-05-11 17:03:57 UTC], ["sort_order", 5]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 17:03:57 UTC], ["updated_at", 2017-05-11 17:03:57 UTC], ["sort_order", 6]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 17:03:57 UTC], ["updated_at", 2017-05-11 17:03:57 UTC], ["sort_order", 7]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 17:03:57 UTC], ["updated_at", 2017-05-11 17:03:57 UTC], ["sort_order", 8]]  (0.7ms) commit transaction  (0.2ms) begin transaction SQL (1.7ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 17:03:57 UTC], ["updated_at", 2017-05-11 17:03:57 UTC], ["sort_order", 9]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 17:03:57 UTC], ["updated_at", 2017-05-11 17:03:57 UTC], ["sort_order", 10]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (2.1ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC]]  (1.9ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC]]  (1.0ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 1]]  (0.8ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC]]  (1.5ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::PostTypeContentElementType Load (0.5ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.4ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.8ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (1.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (2.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::FreeFormSection Load (0.5ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.4ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.4ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.7ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Pulitzer::PostTag Load (0.3ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.3ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [292f658e-a78c-439c-86c9-3715479f2f26] Performed Pulitzer::CloneVersionJob from Inline(default) in 179.03ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 292f658e-a78c-439c-86c9-3715479f2f26) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] 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", 1]]  (0.0ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 5]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 6]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 7]]  (0.7ms) commit transaction  (0.2ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 8]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 9]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 10]]  (0.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::FreeFormSectionTypesController#new as HTML Parameters: {"post_type_id"=>"5"} Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (3.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (19.6ms) Completed 200 OK in 29ms (Views: 25.6ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["plural", true]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::FreeFormSectionTypesController#create as HTML Parameters: {"free_form_section_type"=>{"name"=>"test sidebar", "post_type_id"=>"5"}} Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "test sidebar"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (1.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (4.8ms) Completed 200 OK in 16ms (Views: 7.7ms | ActiveRecord: 0.5ms) 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 ? [["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "main content"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML Parameters: {"id"=>"3"} 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 ? [["id", 3], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (1.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (5.8ms) Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "main content"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::FreeFormSectionTypesController#update as HTML Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"3"} 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 ? [["id", 3], ["LIMIT", 1]]  (0.1ms) 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", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (0.9ms) Completed 200 OK in 7ms (Views: 1.3ms | 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 ? [["id", 3], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "main content"], ["sort_order", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML Parameters: {"id"=>"3"} 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 ? [["id", 3], ["LIMIT", 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", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 3.5ms | 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 ? [["id", 3], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["plural", true], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::PartialsController#new as HTML Parameters: {"partial"=>{"free_form_section_id"=>"5"}} Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) Pulitzer::PostType Load (0.1ms) 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", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_new.html.erb (11.7ms) Completed 200 OK in 22ms (Views: 14.2ms | ActiveRecord: 0.9ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["plural", true], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::PartialsController#create as HTML Parameters: {"partial"=>{"free_form_section_id"=>"5", "post_type_id"=>"5"}} Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]] SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["free_form_section_id", 5], ["sort_order", 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 ? [["id", 5], ["LIMIT", 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", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.5ms) Pulitzer::ContentElement Load (0.2ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (4.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_show.html.erb (11.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (14.5ms) Completed 200 OK in 30ms (Views: 17.7ms | ActiveRecord: 0.8ms) Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) 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.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["plural", true], ["kind", 1]]  (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 ? [["id", 5], ["LIMIT", 1]]  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]] SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["free_form_section_id", 5], ["sort_order", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::PartialsController#edit as HTML Parameters: {"id"=>"1"} Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_form.html.erb (6.4ms) Completed 200 OK in 14ms (Views: 11.6ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Left Text White BG"], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["plural", true], ["kind", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["plural", true], ["kind", 1]]  (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 ? [["id", 5], ["LIMIT", 1]]  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]] SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::PartialsController#update as HTML Parameters: {"partial"=>{"post_type_id"=>"5"}, "id"=>"1"} Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_id", 5], ["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 ? [["id", 5], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.0ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (3.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_show.html.erb (4.9ms) Completed 200 OK in 20ms (Views: 5.2ms | ActiveRecord: 0.4ms) Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"kind"=>"template", "name"=>"Flock of birds", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (5.0ms) Completed 200 OK in 12ms (Views: 8.6ms | ActiveRecord: 0.5ms) Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Flock of birds"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT ? [["post_type_id", 5], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"kind"=>"template", "name"=>"Crow", "plural"=>"0"}}  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Crow"], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT ? [["post_type_id", 5], ["LIMIT", 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 ? [["slug", "crow"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Crow"], ["post_type_id", 5], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["slug", "crow"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 5]] 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", 5]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 5], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (2.1ms) Completed 200 OK in 14ms (Views: 2.4ms | ActiveRecord: 1.1ms) Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Crow"], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 5], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 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", 1]] SQL (0.3ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 2]] SQL (0.2ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 3]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 4]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 5]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 6]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 7]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 8]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 9]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 10]] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] SQL (0.2ms) DELETE FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? [["id", 2]] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 1]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"abandoned", "id"=>"5"} Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? [["post_id", 1]] 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", 5]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 11]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 12]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 13]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 14]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 15]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 16]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 17]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 18]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 19]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 20]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] SQL (0.0ms) DELETE FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? [["id", 3]] SQL (0.0ms) DELETE FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? [["id", 4]] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 5]] SQL (0.1ms) DELETE FROM "pulitzer_posts" WHERE "pulitzer_posts"."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 ? [["id", 1], ["LIMIT", 1]] Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 1.4ms) Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 5], ["required", true]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" IN (3, 4) ORDER BY "pulitzer_partials"."sort_order" ASC Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 5]]  (0.1ms) 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", 5], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] 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 [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 17:03:58 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec] Performed Pulitzer::CloneVersionJob from Inline(default) in 83.73ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 918c8a3e-fa3d-4c2f-afdb-9a3ee79033ec) to Inline(default) with arguments: #> Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"abandoned", "id"=>"5"} Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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", 2017-05-11 17:03:58 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]] 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (3.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_slug_wrapper.html.erb (9.3ms) Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 6], ["label_type", "Pulitzer::Tag"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (3.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (6.7ms) 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", 6], ["label_type", "SearchLocation"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (2.2ms) 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", 6]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 6]] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 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 ? [["id", 1], ["LIMIT", 1]] Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (6.5ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.5ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.3ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.6ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (2.0ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.9ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.6ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.6ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.5ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.4ms) 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", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_index.html.erb (2.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show.html.erb (5.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show_wrapper.html.erb (8.0ms) 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", 6]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_index.html.erb (1.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show.html.erb (1.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show_wrapper.html.erb (1.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (2.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (90.8ms) Completed 200 OK in 104ms (Views: 0.7ms | ActiveRecord: 2.1ms) Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 5], ["required", true]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" IN (3, 4) ORDER BY "pulitzer_partials"."sort_order" ASC Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 1]]  (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", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] 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", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [f943bc68-4c0d-48ae-863e-1583743fb681] Performed Pulitzer::CloneVersionJob from Inline(default) in 84.11ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: f943bc68-4c0d-48ae-863e-1583743fb681) to Inline(default) with arguments: #> Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"abandoned", "id"=>"6"} Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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", 2017-05-11 17:03:59 UTC], ["id", 6]]  (0.0ms) 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", 6], ["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", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] 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 [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 31]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 32]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 33]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 34]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 35]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 36]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 37]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 38]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 39]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 40]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 7], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 7], ["id", 8]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0ca755fd-4acb-4a6a-b2ed-63fc29b49db1] Performed Pulitzer::CloneVersionJob from Inline(default) in 110.76ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 0ca755fd-4acb-4a6a-b2ed-63fc29b49db1) to Inline(default) with arguments: #>  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (7.3ms) Completed 200 OK in 132ms (Views: 0.3ms | ActiveRecord: 8.6ms) Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]  (1.7ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 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 LIMIT ? [["post_type_id", 1], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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]] SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "required", "sort_order") VALUES (?, ?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "test"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC], ["required", true], ["sort_order", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] 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 LIMIT ? [["version_id", 5], ["LIMIT", 1]] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "body" = NULL, "post_type_content_element_type_id" = 11 WHERE "pulitzer_content_elements"."id" = ? [["id", 11]] Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"active", "id"=>"5"} Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 5], ["required", true]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (2.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_slug_wrapper.html.erb (5.6ms) Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 5], ["label_type", "Pulitzer::Tag"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (4.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (7.6ms) 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", 5], ["label_type", "SearchLocation"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (2.3ms) 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", 5]] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 11], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (5.7ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.9ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.9ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.7ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.5ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.6ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.4ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.6ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.4ms) 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", 3]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_index.html.erb (2.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show.html.erb (5.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show_wrapper.html.erb (8.1ms) 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", 4]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_index.html.erb (2.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show.html.erb (2.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show_wrapper.html.erb (3.0ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.7ms) Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (4.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (85.4ms) Completed 409 Conflict in 92ms (Views: 0.9ms | ActiveRecord: 2.0ms)  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["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", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (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" = ? LIMIT ? [["name", "The north 2"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 2"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC], ["hierarchical", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#index as HTML Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? AND "pulitzer_tags"."parent_id" IS NULL [["hierarchical", true]] Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 2]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (6.8ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (10.6ms) Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (1.9ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (2.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_index.html.erb (18.5ms) Completed 200 OK in 23ms (Views: 21.3ms | ActiveRecord: 0.5ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 3"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (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" = ? LIMIT ? [["name", "The north 4"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 4"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC], ["hierarchical", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#index as HTML Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? AND "pulitzer_tags"."parent_id" IS NULL [["hierarchical", true]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 2]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.6ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (2.8ms) Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (1.8ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (2.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_index.html.erb (6.7ms) Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 5"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 5"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (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" = ? LIMIT ? [["name", "The north 6"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 6"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC], ["hierarchical", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#index as HTML Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? AND "pulitzer_tags"."parent_id" IS NULL [["hierarchical", true]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 2]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.9ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (3.2ms) Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.0ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (2.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_index.html.erb (7.6ms) Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 7"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 7"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (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 ? [["id", 1], ["LIMIT", 1]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (3.6ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 8"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 8"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#show as HTML Parameters: {"id"=>"1"} Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.2ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction Processing by Pulitzer::TagsController#new as HTML Parameters: {"tag"=>{"hierarchical"=>"true"}} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (8.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (11.4ms) Completed 200 OK in 14ms (Views: 13.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by Pulitzer::TagsController#new as HTML Parameters: {"tag"=>{"hierarchical"=>"true"}} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (1.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (2.0ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction Processing by Pulitzer::TagsController#new as HTML Parameters: {"tag"=>{"hierarchical"=>"false"}} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (3.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (3.6ms) Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.1ms) 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" = ? LIMIT ? [["name", "The north 9"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 9"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (3.4ms) Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags"  (0.6ms) rollback transaction  (0.1ms) begin transaction Processing by Pulitzer::TagsController#create as HTML Parameters: {"tag"=>{"name"=>"The north 10"}}  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 10"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 10"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 0.6ms)  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "awesomesauce"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (0.0ms) 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" = ? LIMIT ? [["name", "awesomesauce"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (3.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (4.9ms) Completed 409 Conflict in 11ms (Views: 7.6ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT COUNT(*) FROM "pulitzer_tags"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "awesomesauce"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (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.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "awesomesauce"], ["LIMIT", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (2.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (2.1ms) Completed 409 Conflict in 6ms (Views: 2.5ms | ActiveRecord: 0.3ms)  (0.5ms) rollback 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" = ? LIMIT ? [["name", "The north 13"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 13"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#edit as HTML Parameters: {"id"=>"1"} Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (3.3ms) Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["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", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#edit as HTML Parameters: {"id"=>"1"} Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (2.1ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["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", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/tags/1?tag%5Bname%5D=The+north+16" for 127.0.0.1 at 2017-05-11 13:03:59 -0400 Processing by Pulitzer::TagsController#update as HTML Parameters: {"tag"=>{"name"=>"The north 16"}, "id"=>"1"} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (8.4ms) Completed 409 Conflict in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 17"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 17"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/tags/1?tag%5Bname%5D=The+north+18" for 127.0.0.1 at 2017-05-11 13:03:59 -0400 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" = ? AND ("pulitzer_tags"."id" != ?) LIMIT ? [["name", "The north 18"], ["id", 1], ["LIMIT", 1]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ? [["name", "The north 18"], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (4.7ms) Completed 200 OK in 11ms (Views: 6.8ms | ActiveRecord: 0.4ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "sadpanda"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (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" = ? LIMIT ? [["name", "The north 20"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 20"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/tags/2?tag%5Bname%5D=sadpanda" for 127.0.0.1 at 2017-05-11 13:03:59 -0400 Processing by Pulitzer::TagsController#update as HTML Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"}  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? AND ("pulitzer_tags"."id" != ?) LIMIT ? [["name", "sadpanda"], ["id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (7.5ms) Completed 409 Conflict in 14ms (Views: 10.3ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "sadpanda"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (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" = ? LIMIT ? [["name", "The north 22"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 22"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/tags/2?tag%5Bname%5D=sadpanda" for 127.0.0.1 at 2017-05-11 13:03:59 -0400 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" = ? AND ("pulitzer_tags"."id" != ?) LIMIT ? [["name", "sadpanda"], ["id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (7.8ms) Completed 409 Conflict in 14ms (Views: 10.8ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 23"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 23"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#destroy as HTML Parameters: {"id"=>"1"} Rendering text template Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.5ms) rollback 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" = ? LIMIT ? [["name", "The north 24"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 24"], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#destroy as HTML Parameters: {"id"=>"1"}  (0.0ms) 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.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] SQL (0.1ms) DELETE FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendering text template Rendered text template (0.1ms) Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/goma/.rbenv/versions/2.3.1/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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] 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", 5]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 21]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 22]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 23]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 24]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 25]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 26]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 27]]  (0.0ms) 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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 28]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 29]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 30]]  (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", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]]  (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.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (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", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]]  (0.1ms) 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", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 6]]  (1.6ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]]  (0.3ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 17:03:59 UTC], ["updated_at", 2017-05-11 17:03:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/goma/.rbenv/versions/2.3.1/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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] 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", 5]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:03:59 UTC], ["id", 21]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 22]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 23]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 24]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 25]]  (0.0ms) 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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 26]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 27]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 28]]  (0.0ms) 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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 29]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 30]]  (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", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]]  (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.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (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", 4]]  (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", 6], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 6]]  (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", 6]]  (1.7ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/goma/.rbenv/versions/2.3.1/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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] 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", 5]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 21]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 22]]  (0.0ms) 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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 23]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 24]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 25]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 26]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 27]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 28]]  (0.0ms) 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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 29]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 30]]  (0.1ms) 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", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]]  (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", 3]]  (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", 6], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (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", 4]]  (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", 6], ["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", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 LIMIT ? [["version_id", 6], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 1"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 1], ["layout_id", 1], ["label", "Winterfell news 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]] Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]]  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["plural", false]]  (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" = ? LIMIT ? [["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", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 7], ["label", "Slide 1 content element 1"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["sort_order", 1]]  (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" = ? LIMIT ? [["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", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 8], ["label", "Slide 1 content element 2"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["sort_order", 2]]  (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" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 9], ["label", "Slide 1 content element 3"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["sort_order", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 5]]  (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 ? [["id", 5], ["LIMIT", 1]]  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]] SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["free_form_section_id", 5], ["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.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]]  (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 ? [["id", 7], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "partial_id") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["post_type_content_element_type_id", 11], ["content_element_type_id", 7], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["partial_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_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 ? [["id", 8], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "partial_id") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["post_type_content_element_type_id", 12], ["content_element_type_id", 8], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["partial_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_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 ? [["id", 9], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "partial_id") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["post_type_content_element_type_id", 13], ["content_element_type_id", 9], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["partial_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["plural", false]]  (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" = ? LIMIT ? [["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", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 7], ["label", "Slide 1 content element 4"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["sort_order", 1]]  (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" = ? LIMIT ? [["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", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 8], ["label", "Slide 1 content element 5"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["sort_order", 2]]  (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" = ? LIMIT ? [["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", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 9], ["label", "Slide 1 content element 6"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["sort_order", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 5]]  (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 ? [["slug", "winterfell-news-2"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 5], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["slug", "winterfell-news-2"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 6]] 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", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["id", 7], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["version_id", 6], ["post_type_content_element_type_id", 11], ["content_element_type_id", 7], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["id", 8], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["version_id", 6], ["post_type_content_element_type_id", 12], ["content_element_type_id", 8], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["id", 9], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["version_id", 6], ["post_type_content_element_type_id", 13], ["content_element_type_id", 9], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 6]]  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Main Body"], ["sort_order", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Side Bar"], ["sort_order", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Footer List"], ["sort_order", 3]]  (0.1ms) 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 ? [["slug", "test"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "test"], ["post_type_id", 5], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["slug", "test"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Main Body"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 4], ["name", "Side Bar"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 5], ["name", "Footer List"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 6]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 2"], ["sort_order", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 2"], ["sort_order", 2], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-3"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 5], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["slug", "winterfell-news-3"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 2"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 2], ["layout_id", 1], ["label", "Winterfell news 2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]] Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_partial_types" SET "label" = ? WHERE "pulitzer_partial_types"."id" = ? [["label", "new label"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 2"], ["LIMIT", 1]] Pulitzer::Partial Load (0.3ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."label" = ? ORDER BY "pulitzer_partials"."sort_order" ASC LIMIT ? [["free_form_section_id", 5], ["label", "Winterfell news 2"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_partials" SET "label" = ? WHERE "pulitzer_partials"."id" = ? [["label", "new label"], ["id", 1]]  (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" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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", 5]]  (0.7ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["sort_order", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 5], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 5], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 5], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 5], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 5], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 5], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 5], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 5], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 5], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 5], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "A New Field for this Post Type"], ["version_id", 5], ["post_type_content_element_type_id", 11], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 5], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 5], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] 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", 5]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_post_type_content_element_types" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ? [["label", "A changed label"], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 11]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."label" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 5], ["label", "A New Field for this Post Type"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["label", "A changed label"], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] 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", 5]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 5]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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.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]] SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC], ["sort_order", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 1], ["status", 4]] Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] 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", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [1d4fdf6e-ad4b-4010-b1a0-4d8756a75939] Performed Pulitzer::CloneVersionJob from Inline(default) in 106.78ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 1d4fdf6e-ad4b-4010-b1a0-4d8756a75939) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.3ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 6]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 5]]  (0.0ms) 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", 5], ["label_type", "Pulitzer::Tag"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bd095a82-d03f-40d4-b9cb-f1c7a85176cd] Performed Pulitzer::CloneVersionJob from Inline(default) in 98.85ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: bd095a82-d03f-40d4-b9cb-f1c7a85176cd) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 6]]  (0.1ms) 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", 6], ["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", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] 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 [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 31]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 32]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 33]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 34]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 35]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 36]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 37]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 38]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 39]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 40]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 7], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 7], ["id", 8]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cb61581c-c6c5-4367-8d26-4c6c42ed5098] Performed Pulitzer::CloneVersionJob from Inline(default) in 81.92ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: cb61581c-c6c5-4367-8d26-4c6c42ed5098) to Inline(default) with arguments: #> Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 7]]  (1.6ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 17:04:00 UTC], ["updated_at", 2017-05-11 17:04:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] 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", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:00 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [31bbb7c0-4bd0-4df3-8e35-50946ccca958] Performed Pulitzer::CloneVersionJob from Inline(default) in 98.43ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 31bbb7c0-4bd0-4df3-8e35-50946ccca958) to Inline(default) with arguments: #> Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]] 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 6]]  (1.6ms) rollback 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" = ? LIMIT ? [["name", "The North Remembers"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The North Remembers"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 5], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (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" = ? LIMIT ? [["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", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 5], ["label_id", 2], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.1ms) 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", 5], ["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 ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 1]]  (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", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] 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 [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] Pulitzer::ContentElementType Load (0.5ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:03:58 UTC], ["updated_at", 2017-05-11 17:03:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] Pulitzer::Partial Load (0.3ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 6], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 6], ["label_id", 2], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [35ffc647-a0fb-44a7-b667-858a509306d3] Performed Pulitzer::CloneVersionJob from Inline(default) in 99.52ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 35ffc647-a0fb-44a7-b667-858a509306d3) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]  (1.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "content_element_type_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 6], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "content_element_type_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 6], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "image" = ?, "content_element_type_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["image", "sam_and_snow.jpg"], ["content_element_type_id", 5], ["updated_at", 2017-05-11 17:04:01 UTC], ["id", 1]]  (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 ? [["id", 5], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["plural", false]]  (0.0ms) RELEASE 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 ? [["slug", "winterfell-news-4"], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-5"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["slug", "winterfell-news-5"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (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", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.1ms) 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", 1], ["post_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (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 ? [["post_id", 5], ["status", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-6"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["slug", "winterfell-news-6"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (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" = ? LIMIT ? [["post_id", 5], ["status", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-7"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["slug", "winterfell-news-7"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 4 WHERE "pulitzer_versions"."id" = ? [["id", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 5], ["status", 4]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-8"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["slug", "winterfell-news-8"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 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", 6]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 6]] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 6]] SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 6]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 5], ["status", 4]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-9"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 9"], ["post_type_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["slug", "winterfell-news-9"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-10"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["post_type_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["slug", "winterfell-news-10"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 5) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "the-new-king-in-the-north"], ["LIMIT", 1]] SQL (0.1ms) UPDATE "pulitzer_posts" SET "title" = ?, "updated_at" = ?, "slug" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["updated_at", 2017-05-11 17:04:01 UTC], ["slug", "the-new-king-in-the-north"], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback 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" = ? LIMIT ? [["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", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-11"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 11"], ["post_type_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["slug", "winterfell-news-11"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (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", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 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 LIMIT ? [["post_type_id", 1], ["LIMIT", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 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 LIMIT ? [["post_type_id", 1], ["LIMIT", 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::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Test Element"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["sort_order", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 26"], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT ? [["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", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "a"], ["LIMIT", 1]] Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "A"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback 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" = ? LIMIT ? [["name", "The north 27"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 27"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 28"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 28"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", true]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", true]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-12"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 12"], ["post_type_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["slug", "winterfell-news-12"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (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", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (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" = ? LIMIT ? [["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", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 7], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one 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" = ? LIMIT ? [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["id", 5], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 30"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 30"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 31"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 31"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]]  (0.5ms) rollback 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" = ? LIMIT ? [["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", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (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" = ? LIMIT ? [["name", "The north 33"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id") VALUES (?, ?, ?, ?) [["name", "The north 33"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["parent_id", 1]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-05-11 17:04:01.681444' 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" = ? LIMIT ? [["name", "The north 34"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id") VALUES (?, ?, ?, ?) [["name", "The north 34"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["parent_id", 1]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-05-11 17:04:01.684320' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? LIMIT ? [["parent_id", 1], ["id", 2], ["LIMIT", 1]] Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? LIMIT ? [["parent_id", 1], ["id", 3], ["LIMIT", 1]]  (0.5ms) rollback 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" = ? LIMIT ? [["name", "The north 35"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 35"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 36"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 36"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (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" = ? LIMIT ? [["name", "The north 37"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id", "hierarchical") VALUES (?, ?, ?, ?, ?) [["name", "The north 37"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["parent_id", 1], ["hierarchical", true]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-05-11 17:04:01.696496' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 38"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 38"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 39"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 39"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (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" = ? LIMIT ? [["name", "The north 40"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id", "hierarchical") VALUES (?, ?, ?, ?, ?) [["name", "The north 40"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["parent_id", 1], ["hierarchical", true]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-05-11 17:04:01.707892' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 41"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 41"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 42"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 42"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (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" = ? LIMIT ? [["name", "The north 43"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id", "hierarchical") VALUES (?, ?, ?, ?, ?) [["name", "The north 43"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["parent_id", 1], ["hierarchical", true]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-05-11 17:04:01.718627' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-13"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 13"], ["post_type_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["slug", "winterfell-news-13"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["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", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["plural", false]]  (0.1ms) 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 ? [["slug", "winterfell-news-14"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 14"], ["post_type_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC], ["slug", "winterfell-news-14"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (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", 5], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 7], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-11 17:04:01 UTC], ["updated_at", 2017-05-11 17:04:01 UTC]]  (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", 7]]  (0.7ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.7ms) 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.7ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) 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.8ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (0.3ms) 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.0ms) begin transaction  (0.3ms) 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.9ms) 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.2ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.0ms) begin transaction  (0.3ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.9ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.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" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 17:14:20 UTC], ["updated_at", 2017-05-11 17:14:20 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 17:14:20 UTC], ["updated_at", 2017-05-11 17:14:20 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 17:14:20 UTC], ["updated_at", 2017-05-11 17:14:20 UTC]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.9ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.2ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.3ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.7ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.0ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.7ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) begin transaction  (0.4ms) 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.1ms) begin transaction  (0.4ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.8ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.0ms) begin transaction  (0.1ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.2ms) 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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.2ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (0.9ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) 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 ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.9ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.2ms) begin transaction  (0.5ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"  (0.5ms) 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.9ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.8ms) 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.8ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (0.4ms) 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.1ms) 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"]]  (0.9ms) 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.8ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.0ms) begin transaction  (0.3ms) 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.8ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.7ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]  (1.0ms) 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.8ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.0ms) 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.9ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.8ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.0ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.8ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.0ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.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.4ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.8ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.8ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (1.2ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-11 17:14:20 UTC], ["updated_at", 2017-05-11 17:14:20 UTC]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) TRUNCATE TABLE schema_migrations;  (1.1ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (1.0ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.9ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.7ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.8ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.9ms) delete from pulitzer_post_type_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_versions;  (1.0ms) delete from pulitzer_versions;  (0.2ms) TRUNCATE TABLE pulitzer_post_tags;  (0.9ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (1.0ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.9ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.8ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.7ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (0.8ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (1.3ms) delete from pulitzer_content_elements;  (0.2ms) TRUNCATE TABLE pulitzer_partial_types;  (0.8ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (0.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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]] 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]] SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["sort_order", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["sort_order", 2]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["sort_order", 3]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["sort_order", 4]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["sort_order", 5]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["sort_order", 6]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["sort_order", 7]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["sort_order", 8]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["sort_order", 9]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["sort_order", 10]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (0.8ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (1.2ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (1.0ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (1.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["plural", true]]  (2.4ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["plural", true]]  (1.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (1.6ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 1]]  (0.7ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (0.8ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::PostTypeContentElementType Load (0.4ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.8ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (1.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.9ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (1.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.2ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (1.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.2ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (1.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.7ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (1.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (1.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (2.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::FreeFormSection Load (1.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.5ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (1.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.5ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (2.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.3ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.5ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (2.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.5ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (2.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Pulitzer::PostTag Load (0.3ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] SQL (0.5ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1840fcc4-057c-4e14-8c31-6ba257c6da9c] Performed Pulitzer::CloneVersionJob from Inline(default) in 292.4ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 1840fcc4-057c-4e14-8c31-6ba257c6da9c) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.0ms) begin transaction SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 2]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 3]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 4]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 5]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 6]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 7]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 8]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 9]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-11 17:14:26 UTC], ["id", 10]]  (0.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC], ["slug", "winterfell-news-1"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-11 17:14:26 UTC], ["updated_at", 2017-05-11 17:14:26 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 1"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.3ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 1"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 1], ["layout_id", 1], ["label", "Winterfell news 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]]  (0.3ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 1"], ["LIMIT", 1]] Pulitzer::Partial Load (0.3ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."label" = ? ORDER BY "pulitzer_partials"."sort_order" ASC LIMIT ? [["free_form_section_id", 5], ["label", "Winterfell news 1"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] SQL (0.2ms) DELETE FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? [["id", 1]]  (0.1ms) 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" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]]  (1.1ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.9ms) 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.8ms) 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.7ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.0ms) begin transaction  (0.3ms) 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.7ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.0ms) begin transaction  (0.3ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.0ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.1ms) begin transaction  (0.5ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.9ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.0ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.8ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-14 15:43:45 UTC], ["updated_at", 2017-05-14 15:43:45 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-14 15:43:45 UTC], ["updated_at", 2017-05-14 15:43:45 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-14 15:43:45 UTC], ["updated_at", 2017-05-14 15:43:45 UTC]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.7ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.9ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.2ms) 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.3ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.6ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.9ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) begin transaction  (0.3ms) 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.9ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.6ms) 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"]]  (0.8ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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, "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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.4ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (1.2ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) 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.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.8ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.0ms) begin transaction  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.9ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.8ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.8ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (0.4ms) 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.9ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.3ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.1ms) 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"]]  (0.7ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.0ms) 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.0ms) begin transaction  (0.3ms) 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.9ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.0ms) begin transaction  (0.5ms) 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.9ms) 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.8ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.0ms) 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.0ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.8ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.8ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.0ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (1.1ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.9ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.3ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (1.0ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-14 15:43:45 UTC], ["updated_at", 2017-05-14 15:43:45 UTC]]  (0.7ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (1.2ms) delete from schema_migrations;  (0.2ms) TRUNCATE TABLE ar_internal_metadata;  (0.9ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.8ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.7ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.8ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.8ms) delete from pulitzer_post_type_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_versions;  (1.0ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.8ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.6ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (1.1ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.8ms) delete from pulitzer_free_form_section_types;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_sections;  (1.3ms) delete from pulitzer_free_form_sections;  (0.2ms) TRUNCATE TABLE pulitzer_layouts;  (0.9ms) delete from pulitzer_layouts;  (0.2ms) TRUNCATE TABLE pulitzer_content_elements;  (0.8ms) delete from pulitzer_content_elements;  (0.2ms) TRUNCATE TABLE pulitzer_partial_types;  (1.0ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["plural", true]]  (0.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.5ms) commit transaction  (0.1ms) begin transaction 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.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]] SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["sort_order", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["sort_order", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["sort_order", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["sort_order", 4]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["sort_order", 5]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["sort_order", 6]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["sort_order", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["sort_order", 8]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["sort_order", 9]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["sort_order", 10]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.5ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.8ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.8ms) commit transaction Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 1]]  (0.7ms) commit transaction Pulitzer::Tag Load (0.3ms) 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (3.4ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] 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 [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.2ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [661e3d1b-29ea-448f-b739-14776ab7af74] Performed Pulitzer::CloneVersionJob from Inline(default) in 124.53ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 661e3d1b-29ea-448f-b739-14776ab7af74) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 4]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 5]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 6]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 7]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 8]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 9]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-14 15:44:03 UTC], ["id", 10]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.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" = ? LIMIT ? [["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", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-2"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 5], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC], ["slug", "winterfell-news-2"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (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", 5], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 7], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-14 15:44:03 UTC], ["updated_at", 2017-05-14 15:44:03 UTC]]  (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", 7]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 15:44:15 UTC], ["updated_at", 2017-05-14 15:44:15 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-3"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 5], ["created_at", 2017-05-14 15:44:15 UTC], ["updated_at", 2017-05-14 15:44:15 UTC], ["slug", "winterfell-news-3"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 15:44:15 UTC], ["updated_at", 2017-05-14 15:44:15 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 5]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 15:47:38 UTC], ["updated_at", 2017-05-14 15:47:38 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 6], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 15:47:38 UTC], ["updated_at", 2017-05-14 15:47:38 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 15:47:38 UTC], ["updated_at", 2017-05-14 15:47:38 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 8], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 7]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 15:55:37 UTC], ["updated_at", 2017-05-14 15:55:37 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 9], ["name", "Winterfell news 2"], ["sort_order", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 15:55:37 UTC], ["updated_at", 2017-05-14 15:55:37 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 15:55:37 UTC], ["updated_at", 2017-05-14 15:55:37 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 11], ["name", "Photo bg text large 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 4], ["label", "Winterfell news 2"], ["sort_order", 2], ["layout_id", 2], ["post_type_id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 9]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.2ms) 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.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.2ms) 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.1ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) 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"]]  (1.0ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (0.9ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (0.8ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.0ms) begin transaction  (0.3ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]  (0.7ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.0ms) begin transaction  (0.5ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.0ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.0ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.8ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.9ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-14 15:57:54 UTC], ["updated_at", 2017-05-14 15:57:54 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-14 15:57:54 UTC], ["updated_at", 2017-05-14 15:57:54 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-14 15:57:54 UTC], ["updated_at", 2017-05-14 15:57:54 UTC]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.9ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.8ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.8ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.1ms) begin transaction  (0.3ms) 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.8ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.9ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction  (0.1ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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, "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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (0.9ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) 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 ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (1.5ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (1.0ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.9ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.6ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) 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.9ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.2ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL  (0.8ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]  (0.7ms) 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.8ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.0ms) begin transaction  (0.3ms) 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.8ms) 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.7ms) commit transaction Migrating to FixPostTypeKinds (20160516150237)  (0.0ms) 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"]]  (1.1ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (1.3ms) 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.8ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) begin transaction  (0.1ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.8ms) DROP TABLE "pulitzer_content_elements"  (0.3ms) 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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (1.0ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (1.2ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (1.5ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-14 15:57:54 UTC], ["updated_at", 2017-05-14 15:57:54 UTC]]  (1.3ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (8.8ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.8ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.6ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.7ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.7ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.7ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (0.7ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.8ms) delete from pulitzer_post_tags;  (0.2ms) TRUNCATE TABLE pulitzer_post_types;  (0.7ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.6ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.5ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.8ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (1.0ms) delete from pulitzer_layouts;  (0.2ms) TRUNCATE TABLE pulitzer_content_elements;  (0.9ms) delete from pulitzer_content_elements;  (0.2ms) TRUNCATE TABLE pulitzer_partial_types;  (1.1ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-14 16:00:00 UTC], ["updated_at", 2017-05-14 16:00:00 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-14 16:00:00 UTC], ["updated_at", 2017-05-14 16:00:00 UTC]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-14 16:00:00 UTC], ["updated_at", 2017-05-14 16:00:00 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-14 16:00:00 UTC], ["updated_at", 2017-05-14 16:00:00 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction 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.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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-14 16:00:00 UTC], ["updated_at", 2017-05-14 16:00:00 UTC], ["sort_order", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-14 16:00:00 UTC], ["updated_at", 2017-05-14 16:00:00 UTC], ["sort_order", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-14 16:00:00 UTC], ["updated_at", 2017-05-14 16:00:00 UTC], ["sort_order", 3]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-14 16:00:00 UTC], ["updated_at", 2017-05-14 16:00:00 UTC], ["sort_order", 4]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-14 16:00:00 UTC], ["updated_at", 2017-05-14 16:00:00 UTC], ["sort_order", 5]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-14 16:00:00 UTC], ["updated_at", 2017-05-14 16:00:00 UTC], ["sort_order", 6]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-14 16:00:00 UTC], ["updated_at", 2017-05-14 16:00:00 UTC], ["sort_order", 7]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-14 16:00:00 UTC], ["updated_at", 2017-05-14 16:00:00 UTC], ["sort_order", 8]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-14 16:00:00 UTC], ["updated_at", 2017-05-14 16:00:00 UTC], ["sort_order", 9]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-14 16:00:00 UTC], ["updated_at", 2017-05-14 16:00:00 UTC], ["sort_order", 10]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["slug", "welcome"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC]]  (3.4ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["plural", true]]  (0.5ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["slug", "ski-jump-competition"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC]]  (0.8ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 1]]  (0.6ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC]]  (0.8ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] 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 [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Pulitzer::FreeFormSection Load (0.3ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.5ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.5ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.5ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [bc03c04d-7aef-46f3-8ec3-628196e526f5] Performed Pulitzer::CloneVersionJob from Inline(default) in 151.98ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: bc03c04d-7aef-46f3-8ec3-628196e526f5) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 5]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 6]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 7]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 8]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 9]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-14 16:00:01 UTC], ["id", 10]]  (0.6ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (0.1ms) 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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:00:01 UTC], ["updated_at", 2017-05-14 16:00:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 1"], ["LIMIT", 1]]  (0.6ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (1.1ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) 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.7ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction  (0.4ms) 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.7ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction  (0.3ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.0ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.0ms) begin transaction  (0.3ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.8ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.0ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.9ms) 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" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-14 16:00:41 UTC], ["updated_at", 2017-05-14 16:00:41 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-14 16:00:41 UTC], ["updated_at", 2017-05-14 16:00:41 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-14 16:00:41 UTC], ["updated_at", 2017-05-14 16:00:41 UTC]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (1.5ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (4.3ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.9ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) begin transaction  (0.4ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (0.7ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.5ms) 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"]]  (0.9ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (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)  (0.1ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.4ms) DROP TABLE "pulitzer_content_elements"  (0.2ms) 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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.2ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.4ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (2.6ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (1.0ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.3ms) 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.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (1.0ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction  (0.3ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"  (0.4ms) DROP TABLE "pulitzer_post_types"  (0.2ms) 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.8ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.8ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (1.0ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]  (0.8ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]  (2.3ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]  (0.8ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]  (1.0ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]  (1.1ms) commit transaction Migrating to FixPostTypeKinds (20160516150237)  (0.1ms) begin transaction Pulitzer::PostType Load (0.6ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2) SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]  (2.7ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (6.8ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.8ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (1.4ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.5ms) DROP TABLE "pulitzer_content_elements"  (0.4ms) 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.2ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (1.1ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (2.4ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (2.4ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (1.6ms) commit transaction ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-14 16:00:41 UTC], ["updated_at", 2017-05-14 16:00:41 UTC]]  (3.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.3ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) TRUNCATE TABLE schema_migrations;  (2.4ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (2.1ms) delete from ar_internal_metadata;  (0.2ms) TRUNCATE TABLE pulitzer_content_element_types;  (2.6ms) delete from pulitzer_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_posts;  (3.3ms) delete from pulitzer_posts;  (0.3ms) TRUNCATE TABLE pulitzer_tags;  (1.1ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (1.0ms) delete from pulitzer_post_type_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_versions;  (2.0ms) delete from pulitzer_versions;  (0.2ms) TRUNCATE TABLE pulitzer_post_tags;  (1.4ms) delete from pulitzer_post_tags;  (0.2ms) TRUNCATE TABLE pulitzer_post_types;  (1.5ms) delete from pulitzer_post_types;  (0.2ms) TRUNCATE TABLE pulitzer_partials;  (2.2ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.7ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.8ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (0.8ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (1.4ms) delete from pulitzer_content_elements;  (0.2ms) TRUNCATE TABLE pulitzer_partial_types;  (1.1ms) delete from pulitzer_partial_types;  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-14 16:00:57 UTC], ["updated_at", 2017-05-14 16:00:57 UTC], ["plural", true]]  (1.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-14 16:00:57 UTC], ["updated_at", 2017-05-14 16:00:57 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-14 16:00:57 UTC], ["updated_at", 2017-05-14 16:00:57 UTC]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-14 16:00:57 UTC], ["updated_at", 2017-05-14 16:00:57 UTC]]  (1.5ms) commit transaction  (0.1ms) begin transaction 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.2ms) 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]] SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-14 16:00:57 UTC], ["updated_at", 2017-05-14 16:00:57 UTC], ["sort_order", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-14 16:00:57 UTC], ["updated_at", 2017-05-14 16:00:57 UTC], ["sort_order", 2]]  (3.2ms) commit transaction  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-14 16:00:57 UTC], ["updated_at", 2017-05-14 16:00:57 UTC], ["sort_order", 3]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-14 16:00:57 UTC], ["updated_at", 2017-05-14 16:00:57 UTC], ["sort_order", 4]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-14 16:00:57 UTC], ["updated_at", 2017-05-14 16:00:57 UTC], ["sort_order", 5]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-14 16:00:57 UTC], ["updated_at", 2017-05-14 16:00:57 UTC], ["sort_order", 6]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-14 16:00:57 UTC], ["updated_at", 2017-05-14 16:00:57 UTC], ["sort_order", 7]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-14 16:00:57 UTC], ["updated_at", 2017-05-14 16:00:57 UTC], ["sort_order", 8]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-14 16:00:57 UTC], ["updated_at", 2017-05-14 16:00:57 UTC], ["sort_order", 9]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-14 16:00:57 UTC], ["updated_at", 2017-05-14 16:00:57 UTC], ["sort_order", 10]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-14 16:00:57 UTC], ["updated_at", 2017-05-14 16:00:57 UTC], ["slug", "welcome"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-14 16:00:57 UTC], ["updated_at", 2017-05-14 16:00:57 UTC]]  (4.0ms) commit transaction Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC]]  (6.5ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC]]  (1.3ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC]]  (4.1ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC]]  (3.6ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC]]  (1.1ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC]]  (2.5ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC]]  (3.1ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC]]  (1.6ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC]]  (1.2ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC]]  (1.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (1.3ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["plural", true]]  (6.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC]]  (3.4ms) commit transaction  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["plural", true]]  (1.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["plural", true]]  (8.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC]]  (2.4ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 1]]  (3.8ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC]]  (1.0ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::ContentElement Load (0.4ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.2ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (4.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (4.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (3.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (4.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (3.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (3.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (1.3ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (3.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (1.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (4.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (2.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (2.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (3.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (3.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (1.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (3.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::FreeFormSection Load (0.4ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.5ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (2.3ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.4ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (3.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.5ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7]  (3.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7] Performed Pulitzer::CloneVersionJob from Inline(default) in 240.36ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 1bfc70a9-bf66-4de1-ba45-53f1e7cab3d7) to Inline(default) with arguments: #> Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 1]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 2]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 3]]  (3.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 4]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 5]]  (4.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 6]]  (3.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 7]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 8]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 9]]  (4.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-14 16:00:58 UTC], ["id", 10]]  (0.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "Winterfell news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:00:58 UTC], ["updated_at", 2017-05-14 16:00:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.4ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 1"], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 1"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 1], ["layout_id", 1], ["label", "Winterfell news 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 6]] Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 1"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 1], ["layout_id", 1], ["label", "Winterfell news 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 ? [["id", 6], ["LIMIT", 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", 6]]  (0.3ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (1.1ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) 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.8ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.0ms) 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.7ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction  (0.4ms) 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.2ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.0ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.0ms) begin transaction  (0.3ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.7ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.8ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-14 16:07:31 UTC], ["updated_at", 2017-05-14 16:07:31 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-14 16:07:31 UTC], ["updated_at", 2017-05-14 16:07:31 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-14 16:07:31 UTC], ["updated_at", 2017-05-14 16:07:31 UTC]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.9ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.9ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.0ms) begin transaction  (0.2ms) 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.2ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.5ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.2ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (1.0ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.1ms) begin transaction  (0.6ms) 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.9ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.5ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.7ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction  (0.1ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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, "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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.2ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (1.0ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) 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 ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.9ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.9ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.0ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.8ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.8ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (0.4ms) 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"]]  (1.0ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.1ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]  (0.8ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.2ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]  (0.9ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.0ms) begin transaction  (0.3ms) 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.8ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.0ms) begin transaction  (0.4ms) 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.9ms) 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.9ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.1ms) begin transaction  (0.3ms) 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"]]  (1.0ms) 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.8ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (1.5ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.2ms) begin transaction  (0.1ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" 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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.9ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.7ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.5ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.9ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (0.9ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-14 16:07:31 UTC], ["updated_at", 2017-05-14 16:07:31 UTC]]  (1.1ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (2.4ms) delete from schema_migrations;  (0.2ms) TRUNCATE TABLE ar_internal_metadata;  (0.9ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.7ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.7ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.7ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.8ms) delete from pulitzer_post_type_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_versions;  (0.7ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.8ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.7ms) delete from pulitzer_post_types;  (0.2ms) TRUNCATE TABLE pulitzer_partials;  (0.9ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.8ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.8ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (0.6ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (0.8ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.7ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-14 16:07:36 UTC], ["updated_at", 2017-05-14 16:07:36 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (1.3ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction 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.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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["sort_order", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["sort_order", 2]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["sort_order", 3]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["sort_order", 4]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["sort_order", 5]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["sort_order", 6]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["sort_order", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["sort_order", 8]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["sort_order", 9]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["sort_order", 10]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (2.0ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (1.0ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["slug", "ski-jump-competition"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.8ms) commit transaction Pulitzer::Post Load (0.4ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 1]]  (0.9ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.8ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] 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", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] Pulitzer::PostTypeContentElementType Load (0.4ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.9ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.8ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] 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", 2]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.2ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [a9446c05-c50c-4f99-839d-034a86123e6b] Performed Pulitzer::CloneVersionJob from Inline(default) in 143.56ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: a9446c05-c50c-4f99-839d-034a86123e6b) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]  (0.1ms) begin transaction SQL (0.7ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 2]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 4]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 5]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 6]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 8]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 9]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-14 16:07:37 UTC], ["id", 10]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "king's landing news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (0.1ms) 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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-2"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 8], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["slug", "winterfell-news-2"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 6], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 8]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 2"], ["sort_order", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "king's landing news 2"], ["sort_order", 2], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-3"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 5], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC], ["slug", "winterfell-news-3"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:07:37 UTC], ["updated_at", 2017-05-14 16:07:37 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 2"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 2], ["layout_id", 1], ["label", "king's landing news 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = 'Winterfell news 2' [["version_id", 6]] 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", 5]]  (0.1ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."label" = 'king''s landing news 2' [["free_form_section_id", 5]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.2ms) 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.1ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) 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"]]  (1.2ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) 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"]]  (1.5ms) 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"]]  (1.4ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction  (0.4ms) 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.0ms) begin transaction  (0.3ms) 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"]]  (1.2ms) 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.9ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.9ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.9ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-14 16:09:56 UTC], ["updated_at", 2017-05-14 16:09:56 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-14 16:09:56 UTC], ["updated_at", 2017-05-14 16:09:56 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-14 16:09:56 UTC], ["updated_at", 2017-05-14 16:09:56 UTC]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (1.0ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.8ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.9ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) begin transaction  (1.0ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (0.7ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.4ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.9ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.0ms) begin transaction  (0.1ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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, "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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (3.5ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.2ms) 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.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (1.2ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.7ms) begin transaction  (1.0ms) 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.6ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"  (0.6ms) DROP TABLE "pulitzer_post_types"  (0.9ms) 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.2ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"  (0.1ms) DROP TABLE "apulitzer_post_types"  (13.0ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (3.4ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (1.1ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.7ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (2.5ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (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) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]  (0.7ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]  (4.2ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.1ms) begin transaction  (1.1ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]  (0.7ms) 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.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]  (1.1ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.7ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]  (0.8ms) commit transaction Migrating to FixPostTypeKinds (20160516150237)  (0.6ms) 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"]]  (1.3ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (3.1ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.7ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (1.0ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (2.3ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.3ms) 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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (1.0ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.2ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.8ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.8ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (1.3ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.8ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (1.9ms) commit transaction ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-14 16:09:57 UTC], ["updated_at", 2017-05-14 16:09:57 UTC]]  (1.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (2.3ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (1.3ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.8ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.8ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.8ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (1.3ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (2.5ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.8ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (1.6ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.7ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.6ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.6ms) delete from pulitzer_free_form_sections;  (0.2ms) TRUNCATE TABLE pulitzer_layouts;  (0.7ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (0.8ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.6ms) delete from pulitzer_partial_types;  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["plural", true]]  (0.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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]] 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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["sort_order", 1]]  (2.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["sort_order", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["sort_order", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["sort_order", 4]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["sort_order", 5]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["sort_order", 6]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["sort_order", 7]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["sort_order", 8]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["sort_order", 9]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["sort_order", 10]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (1.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (3.0ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (2.4ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (2.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (2.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (2.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (1.2ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (1.4ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (2.3ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["plural", true]]  (3.2ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["plural", true]]  (3.2ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["slug", "ski-jump-competition"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["plural", true]]  (2.3ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (2.1ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 1]]  (1.0ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (2.6ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Pulitzer::ContentElement Load (0.4ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (2.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (4.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Pulitzer::PostTypeContentElementType Load (4.9ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (1.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (3.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (4.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (2.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (2.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (3.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (2.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (2.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (2.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (2.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (3.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (2.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (2.3ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] 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", 2]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (1.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Pulitzer::PostTag Load (0.4ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684]  (1.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [f9091b96-dd29-4390-a90f-7cf5a3359684] Performed Pulitzer::CloneVersionJob from Inline(default) in 236.74ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: f9091b96-dd29-4390-a90f-7cf5a3359684) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] 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", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 1]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 2]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 3]]  (4.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 4]]  (4.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 6]]  (3.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 7]]  (2.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 8]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 9]]  (3.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-14 16:10:17 UTC], ["id", 10]]  (0.8ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "king's landing news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (0.1ms) 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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-2"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 8], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["slug", "winterfell-news-2"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 6], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 8]]  (1.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 2"], ["sort_order", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "king's landing news 2"], ["sort_order", 2], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-3"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 5], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC], ["slug", "winterfell-news-3"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:10:17 UTC], ["updated_at", 2017-05-14 16:10:17 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 2"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 2], ["layout_id", 1], ["label", "king's landing news 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = 'Winterfell news 2' [["version_id", 6]] 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", 5]]  (0.1ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."label" = 'king''s landing news 2' [["free_form_section_id", 5]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:10:18 UTC], ["updated_at", 2017-05-14 16:10:18 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 3"], ["sort_order", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:10:18 UTC], ["updated_at", 2017-05-14 16:10:18 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:10:18 UTC], ["updated_at", 2017-05-14 16:10:18 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 3"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "king's landing news 3"], ["sort_order", 3], ["layout_id", 1], ["post_type_id", 6]]  (0.1ms) 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 ? [["slug", "winterfell-news-4"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 5], ["created_at", 2017-05-14 16:10:18 UTC], ["updated_at", 2017-05-14 16:10:18 UTC], ["slug", "winterfell-news-4"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:10:18 UTC], ["updated_at", 2017-05-14 16:10:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 3"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 3"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 3], ["layout_id", 1], ["label", "king's landing news 3"]]  (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 ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]] Pulitzer::Partial Load (0.3ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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 LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]]  (0.6ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) 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.9ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.0ms) begin transaction  (0.3ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (0.9ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.0ms) begin transaction  (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) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (0.9ms) 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.7ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction  (0.5ms) 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.9ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.8ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (1.0ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-14 16:15:54 UTC], ["updated_at", 2017-05-14 16:15:54 UTC]] Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-14 16:15:54 UTC], ["updated_at", 2017-05-14 16:15:54 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-14 16:15:54 UTC], ["updated_at", 2017-05-14 16:15:54 UTC]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.9ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (1.0ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (1.0ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.1ms) begin transaction  (0.4ms) 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.8ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.9ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.0ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.2ms) 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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.2ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.2ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (2.4ms) 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.2ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.3ms) 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 ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.7ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (1.3ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.8ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.7ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (0.5ms) 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.2ms) 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"]]  (0.8ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]  (3.6ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]  (1.5ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.4ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]  (0.9ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (0.8ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.7ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.8ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.4ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.3ms) 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.2ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (1.5ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.7ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (0.8ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-14 16:15:54 UTC], ["updated_at", 2017-05-14 16:15:54 UTC]]  (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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (2.4ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.9ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (2.3ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.9ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (1.5ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.8ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (1.0ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (1.4ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.9ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.8ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.7ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.8ms) delete from pulitzer_free_form_sections;  (0.3ms) TRUNCATE TABLE pulitzer_layouts;  (1.3ms) delete from pulitzer_layouts;  (0.6ms) TRUNCATE TABLE pulitzer_content_elements;  (1.1ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.8ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-14 16:15:58 UTC], ["updated_at", 2017-05-14 16:15:58 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-14 16:15:58 UTC], ["updated_at", 2017-05-14 16:15:58 UTC]]  (2.2ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-14 16:15:58 UTC], ["updated_at", 2017-05-14 16:15:58 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-14 16:15:58 UTC], ["updated_at", 2017-05-14 16:15:58 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::PostTypeContentElementType Load (0.3ms) 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.2ms) 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]] SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-14 16:15:58 UTC], ["updated_at", 2017-05-14 16:15:58 UTC], ["sort_order", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-14 16:15:58 UTC], ["updated_at", 2017-05-14 16:15:58 UTC], ["sort_order", 2]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-14 16:15:58 UTC], ["updated_at", 2017-05-14 16:15:58 UTC], ["sort_order", 3]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-14 16:15:58 UTC], ["updated_at", 2017-05-14 16:15:58 UTC], ["sort_order", 4]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-14 16:15:58 UTC], ["updated_at", 2017-05-14 16:15:58 UTC], ["sort_order", 5]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-14 16:15:58 UTC], ["updated_at", 2017-05-14 16:15:58 UTC], ["sort_order", 6]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-14 16:15:58 UTC], ["updated_at", 2017-05-14 16:15:58 UTC], ["sort_order", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-14 16:15:58 UTC], ["updated_at", 2017-05-14 16:15:58 UTC], ["sort_order", 8]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-14 16:15:58 UTC], ["updated_at", 2017-05-14 16:15:58 UTC], ["sort_order", 9]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-14 16:15:58 UTC], ["updated_at", 2017-05-14 16:15:58 UTC], ["sort_order", 10]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (3.5ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (2.3ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (2.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (2.4ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (2.5ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (2.4ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (1.1ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (1.4ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (2.3ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (2.4ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (1.7ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["slug", "ski-jump-competition"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (1.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["plural", true]]  (3.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (0.9ms) commit transaction Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 1]]  (2.8ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (2.5ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] 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", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (2.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.6ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (2.3ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (2.3ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (2.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (3.3ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (2.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (2.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (2.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (2.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (2.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (2.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (2.4ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (2.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.2ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2]  (1.2ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [8c61fbbd-ccd5-4648-bb52-787e5d425cb2] Performed Pulitzer::CloneVersionJob from Inline(default) in 161.31ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 8c61fbbd-ccd5-4648-bb52-787e5d425cb2) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 1]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 3]]  (3.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 4]]  (2.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 5]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 6]]  (3.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 7]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 8]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 9]]  (3.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-14 16:15:59 UTC], ["id", 10]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (0.1ms) 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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["slug", "winterfell-news-1"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-2"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 8], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["slug", "winterfell-news-2"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 6], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 8]]  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 2"], ["sort_order", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 2"], ["sort_order", 2], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-3"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 5], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["slug", "winterfell-news-3"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 2"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 2], ["layout_id", 1], ["label", "King's Landing news 2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = 'Winterfell news 2' [["version_id", 6]] 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", 5]]  (0.1ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."label" = 'King''s Landing news 2' [["free_form_section_id", 5]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 3"], ["sort_order", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 3"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 3"], ["sort_order", 3], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-4"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 5], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC], ["slug", "winterfell-news-4"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:15:59 UTC], ["updated_at", 2017-05-14 16:15:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 3"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 3"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 3], ["layout_id", 1], ["label", "King's Landing news 3"]]  (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 ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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 LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_partials" SET "label" = ? WHERE "pulitzer_partials"."id" = ? [["label", "Westeros news"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = 'Winterfell news 3' [["version_id", 6]] 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", 5]]  (0.0ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."label" = 'King''s Landing news 3' [["free_form_section_id", 5]]  (0.7ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.9ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.0ms) begin transaction  (0.3ms) 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.9ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.0ms) begin transaction  (0.3ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (0.8ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.0ms) begin transaction  (0.3ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]  (0.8ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction  (0.3ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.0ms) begin transaction  (0.3ms) 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.0ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.8ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.9ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-14 16:16:11 UTC], ["updated_at", 2017-05-14 16:16:11 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-14 16:16:11 UTC], ["updated_at", 2017-05-14 16:16:11 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-14 16:16:11 UTC], ["updated_at", 2017-05-14 16:16:11 UTC]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (1.0ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.8ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.8ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.1ms) begin transaction  (0.3ms) 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.9ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.6ms) 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"]]  (0.8ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.0ms) begin transaction  (0.1ms) 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.2ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.4ms) 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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (3.5ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) 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 ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (1.3ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.0ms) begin transaction  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"  (0.1ms) DROP TABLE "apulitzer_post_types"  (0.3ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.9ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.0ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.7ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.8ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (0.5ms) 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.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.1ms) 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"]]  (0.9ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]  (1.1ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.1ms) begin transaction  (0.8ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]  (0.8ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.4ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]  (0.9ms) commit transaction Migrating to FixPostTypeKinds (20160516150237)  (0.0ms) 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.8ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.0ms) begin transaction  (0.6ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (0.8ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (0.5ms) 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.5ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.9ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) begin transaction  (0.1ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" 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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (1.2ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.9ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (1.0ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.5ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (0.9ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-14 16:16:11 UTC], ["updated_at", 2017-05-14 16:16:11 UTC]]  (0.7ms) 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.2ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) TRUNCATE TABLE schema_migrations;  (3.6ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.8ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.6ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.8ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.7ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.8ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (0.7ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.8ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.7ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.8ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.6ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.5ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (0.9ms) delete from pulitzer_layouts;  (0.2ms) TRUNCATE TABLE pulitzer_content_elements;  (0.7ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.9ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["plural", true]]  (0.9ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC]]  (0.5ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC]]  (0.6ms) commit transaction  (0.1ms) begin transaction 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]] 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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["sort_order", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["sort_order", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["sort_order", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["sort_order", 4]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["sort_order", 5]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["sort_order", 6]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["sort_order", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["sort_order", 8]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["sort_order", 9]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["sort_order", 10]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC]]  (3.4ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["slug", "ski-jump-competition"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC]]  (0.8ms) commit transaction Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 1]]  (0.6ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC]]  (0.7ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] 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", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.9ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (26.3ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:15 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] 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", 2]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.2ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [17f685ea-2f51-4bf2-bb33-05d6809d7742] Performed Pulitzer::CloneVersionJob from Inline(default) in 147.84ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 17f685ea-2f51-4bf2-bb33-05d6809d7742) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] 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", 1]]  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 2]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 3]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 5]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 6]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 7]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 8]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 9]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 10]]  (0.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::FreeFormSectionTypesController#new as HTML Parameters: {"post_type_id"=>"5"} Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (3.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (18.7ms) Completed 200 OK in 27ms (Views: 23.7ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::FreeFormSectionTypesController#create as HTML Parameters: {"free_form_section_type"=>{"name"=>"test sidebar", "post_type_id"=>"5"}} Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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", 5]] 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", 5]] SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "test sidebar"], ["sort_order", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (3.8ms) Completed 200 OK in 14ms (Views: 6.1ms | ActiveRecord: 0.6ms) 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 ? [["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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", 5]] 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", 5]] SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "main content"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML Parameters: {"id"=>"3"} Pulitzer::FreeFormSectionType Load (0.2ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (4.8ms) Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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", 5]] 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", 5]] SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "main content"], ["sort_order", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::FreeFormSectionTypesController#update as HTML Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"3"} 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 ? [["id", 3], ["LIMIT", 1]]  (0.1ms) 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", 3]]  (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 ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (0.8ms) Completed 200 OK in 7ms (Views: 1.1ms | 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 ? [["id", 3], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "main content"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML Parameters: {"id"=>"3"} Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 3.4ms | 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 ? [["id", 3], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["plural", true], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::PartialsController#new as HTML Parameters: {"partial"=>{"free_form_section_id"=>"5"}} Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) Pulitzer::PostType Load (0.2ms) 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", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_new.html.erb (12.1ms) Completed 200 OK in 22ms (Views: 14.2ms | ActiveRecord: 0.8ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["plural", true], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::PartialsController#create as HTML Parameters: {"partial"=>{"free_form_section_id"=>"5", "post_type_id"=>"5"}} Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]  (0.2ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]] SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["free_form_section_id", 5], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.5ms) Pulitzer::ContentElement Load (0.3ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (7.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_show.html.erb (16.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (19.3ms) Completed 200 OK in 36ms (Views: 21.4ms | ActiveRecord: 1.0ms) Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["plural", true], ["kind", 1]]  (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 ? [["id", 5], ["LIMIT", 1]]  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]] SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["free_form_section_id", 5], ["sort_order", 1]]  (0.0ms) 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 ? [["id", 1], ["LIMIT", 1]] Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.0ms) Rendered /Users/goma/Sites/work/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", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_form.html.erb (6.2ms) Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Left Text White BG"], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["plural", true], ["kind", 1]]  (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", "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", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["plural", true], ["kind", 1]]  (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 ? [["id", 5], ["LIMIT", 1]]  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]] SQL (0.3ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::PartialsController#update as HTML Parameters: {"partial"=>{"post_type_id"=>"5"}, "id"=>"1"} Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_id", 5], ["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 ? [["id", 5], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.0ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_show.html.erb (3.4ms) Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 0.4ms) Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"kind"=>"template", "name"=>"Flock of birds", "plural"=>"1"}}  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (4.5ms) Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.4ms) Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Flock of birds"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT ? [["post_type_id", 5], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"kind"=>"template", "name"=>"Crow", "plural"=>"0"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Crow"], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT ? [["post_type_id", 5], ["LIMIT", 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 ? [["slug", "crow"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Crow"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["slug", "crow"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 5]] 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", 5]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 5], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (2.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (2.6ms) Completed 200 OK in 15ms (Views: 3.0ms | ActiveRecord: 1.2ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Crow"], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 5], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 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", 1]] SQL (0.3ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 3]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 5]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 6]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 7]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 8]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 9]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 10]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] SQL (0.1ms) DELETE FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? [["id", 2]] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 1]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"abandoned", "id"=>"5"} Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? [["post_id", 1]] 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", 5]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 11]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 12]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 13]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 14]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 15]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 16]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 17]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 18]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 19]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 20]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] SQL (0.0ms) DELETE FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? [["id", 3]] SQL (0.0ms) DELETE FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? [["id", 4]] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 5]] SQL (0.1ms) DELETE FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Completed 200 OK in 23ms (Views: 0.4ms | ActiveRecord: 1.6ms) Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 5], ["required", true]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" IN (3, 4) ORDER BY "pulitzer_partials"."sort_order" ASC  (0.2ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" IN ('Main Content', 'Handpicked Homes') [["version_id", 5]] Pulitzer::FreeFormSectionType Load (0.2ms) 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]]  (0.2ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND 1=0 [["free_form_section_id", 3]]  (0.1ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND 1=0 [["free_form_section_id", 4]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 5]]  (0.1ms) 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", 5], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 1]]  (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", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] 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 [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [00c133c1-c523-41db-bb97-1d6931993918] Performed Pulitzer::CloneVersionJob from Inline(default) in 84.38ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 00c133c1-c523-41db-bb97-1d6931993918) to Inline(default) with arguments: #> Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"abandoned", "id"=>"5"} Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]] 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (2.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_slug_wrapper.html.erb (5.5ms) 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", 6], ["label_type", "Pulitzer::Tag"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (3.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (6.5ms) Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 6], ["label_type", "SearchLocation"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (0.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (1.1ms) 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", 6]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 6]] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (5.7ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.3ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (2.6ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (3.2ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (2.4ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.4ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.4ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.6ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.3ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.3ms) 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", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_index.html.erb (2.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show.html.erb (5.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show_wrapper.html.erb (7.4ms) 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", 6]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_index.html.erb (1.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show.html.erb (1.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show_wrapper.html.erb (1.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (1.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (84.2ms) Completed 200 OK in 95ms (Views: 1.2ms | ActiveRecord: 2.1ms) Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (3.2ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 5], ["required", true]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" IN (3, 4) ORDER BY "pulitzer_partials"."sort_order" ASC  (0.0ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" IN ('Main Content', 'Handpicked Homes') [["version_id", 5]] 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]]  (0.0ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND 1=0 [["free_form_section_id", 3]]  (0.0ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 2]]  (0.0ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND 1=0 [["free_form_section_id", 4]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] 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 [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [bb2af8d2-25bc-484f-8dbb-3b16576e2027] Performed Pulitzer::CloneVersionJob from Inline(default) in 90.89ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: bb2af8d2-25bc-484f-8dbb-3b16576e2027) to Inline(default) with arguments: #> Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"abandoned", "id"=>"6"} Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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", 2017-05-14 16:16:16 UTC], ["id", 6]]  (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", 6], ["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", 2017-05-14 16:16:16 UTC], ["updated_at", 2017-05-14 16:16:16 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 31]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 32]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:16 UTC], ["id", 33]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 34]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 35]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 36]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 37]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 38]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 39]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 40]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 7], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 7], ["id", 8]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [04033222-46b1-4831-b244-9fa652deee97] Performed Pulitzer::CloneVersionJob from Inline(default) in 105.74ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 04033222-46b1-4831-b244-9fa652deee97) to Inline(default) with arguments: #>  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (6.1ms) Completed 200 OK in 124ms (Views: 0.2ms | ActiveRecord: 7.8ms) Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]  (3.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 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 LIMIT ? [["post_type_id", 1], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "required", "sort_order") VALUES (?, ?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "test"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC], ["required", true], ["sort_order", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] 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 LIMIT ? [["version_id", 5], ["LIMIT", 1]] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "body" = NULL, "post_type_content_element_type_id" = 11 WHERE "pulitzer_content_elements"."id" = ? [["id", 11]] Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"active", "id"=>"5"} Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 5], ["required", true]] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.0ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" IN ('Main Content', 'Handpicked Homes') [["version_id", 5]] 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]]  (0.0ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND 1=0 [["free_form_section_id", 3]]  (0.0ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND 1=0 [["free_form_section_id", 4]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_slug_wrapper.html.erb (4.7ms) 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", 5], ["label_type", "Pulitzer::Tag"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (2.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (5.2ms) Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 5], ["label_type", "SearchLocation"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (1.5ms) 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", 5]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 11], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (6.9ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.7ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.7ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.7ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.4ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.4ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.9ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (2.1ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.9ms) 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", 3]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_index.html.erb (2.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show.html.erb (5.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show_wrapper.html.erb (8.1ms) 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", 4]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_index.html.erb (2.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show.html.erb (2.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show_wrapper.html.erb (2.4ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.6ms) Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (4.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (84.3ms) Completed 409 Conflict in 104ms (Views: 1.0ms | ActiveRecord: 2.9ms)  (3.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 1"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (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" = ? LIMIT ? [["name", "The north 2"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 2"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC], ["hierarchical", true]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#index as HTML Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? AND "pulitzer_tags"."parent_id" IS NULL [["hierarchical", true]] Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 2]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (7.9ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (11.4ms) Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.2ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (2.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_index.html.erb (19.4ms) Completed 200 OK in 23ms (Views: 21.9ms | ActiveRecord: 0.5ms)  (0.6ms) rollback 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" = ? LIMIT ? [["name", "The north 3"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (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" = ? LIMIT ? [["name", "The north 4"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 4"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC], ["hierarchical", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#index as HTML Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? AND "pulitzer_tags"."parent_id" IS NULL [["hierarchical", true]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 2]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.7ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (2.9ms) Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (1.9ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (2.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_index.html.erb (7.3ms) Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 5"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 5"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (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" = ? LIMIT ? [["name", "The north 6"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 6"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC], ["hierarchical", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#index as HTML Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? AND "pulitzer_tags"."parent_id" IS NULL [["hierarchical", true]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 2]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.4ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (2.6ms) Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.5ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (2.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_index.html.erb (7.5ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 7"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 7"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (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 ? [["id", 1], ["LIMIT", 1]] Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.1ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 8"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 8"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#show as HTML Parameters: {"id"=>"1"} Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.4ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction Processing by Pulitzer::TagsController#new as HTML Parameters: {"tag"=>{"hierarchical"=>"true"}} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (9.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (12.4ms) Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by Pulitzer::TagsController#new as HTML Parameters: {"tag"=>{"hierarchical"=>"true"}} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (1.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (1.7ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Pulitzer::TagsController#new as HTML Parameters: {"tag"=>{"hierarchical"=>"false"}} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (2.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (3.5ms) Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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" = ? LIMIT ? [["name", "The north 9"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 9"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (3.5ms) Completed 200 OK in 9ms (Views: 5.8ms | ActiveRecord: 0.7ms)  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags"  (0.5ms) rollback transaction  (0.0ms) begin transaction Processing by Pulitzer::TagsController#create as HTML Parameters: {"tag"=>{"name"=>"The north 10"}}  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 10"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 10"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (3.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (3.4ms) Completed 200 OK in 8ms (Views: 3.7ms | ActiveRecord: 0.8ms)  (0.5ms) rollback 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" = ? LIMIT ? [["name", "awesomesauce"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (0.0ms) 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.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "awesomesauce"], ["LIMIT", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (3.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (4.1ms) Completed 409 Conflict in 9ms (Views: 6.9ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT COUNT(*) FROM "pulitzer_tags"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "awesomesauce"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (0.1ms) 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" = ? LIMIT ? [["name", "awesomesauce"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (1.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (2.0ms) Completed 409 Conflict in 5ms (Views: 2.4ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 13"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 13"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (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 ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (3.1ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 14"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 14"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (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 ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (1.9ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["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", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/tags/1?tag%5Bname%5D=The+north+16" for 127.0.0.1 at 2017-05-14 12:16:17 -0400 Processing by Pulitzer::TagsController#update as HTML Parameters: {"tag"=>{"name"=>"The north 16"}, "id"=>"1"} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (7.4ms) Completed 409 Conflict in 11ms (Views: 10.2ms | ActiveRecord: 0.0ms)  (0.6ms) rollback 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" = ? LIMIT ? [["name", "The north 17"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 17"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/tags/1?tag%5Bname%5D=The+north+18" for 127.0.0.1 at 2017-05-14 12:16:17 -0400 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" = ? AND ("pulitzer_tags"."id" != ?) LIMIT ? [["name", "The north 18"], ["id", 1], ["LIMIT", 1]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ? [["name", "The north 18"], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (5.0ms) Completed 200 OK in 11ms (Views: 7.9ms | ActiveRecord: 0.3ms)  (0.5ms) rollback 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" = ? LIMIT ? [["name", "sadpanda"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (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" = ? LIMIT ? [["name", "The north 20"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 20"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/tags/2?tag%5Bname%5D=sadpanda" for 127.0.0.1 at 2017-05-14 12:16:17 -0400 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" = ? AND ("pulitzer_tags"."id" != ?) LIMIT ? [["name", "sadpanda"], ["id", 2], ["LIMIT", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (10.8ms) Completed 409 Conflict in 16ms (Views: 13.7ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "sadpanda"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (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" = ? LIMIT ? [["name", "The north 22"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 22"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/tags/2?tag%5Bname%5D=sadpanda" for 127.0.0.1 at 2017-05-14 12:16:17 -0400 Processing by Pulitzer::TagsController#update as HTML Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"}  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? AND ("pulitzer_tags"."id" != ?) LIMIT ? [["name", "sadpanda"], ["id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (6.7ms) Completed 409 Conflict in 13ms (Views: 9.5ms | ActiveRecord: 0.3ms)  (0.6ms) rollback 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" = ? LIMIT ? [["name", "The north 23"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 23"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#destroy as HTML Parameters: {"id"=>"1"} Rendering text template Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.5ms) rollback 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" = ? LIMIT ? [["name", "The north 24"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 24"], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (0.0ms) 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.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] SQL (0.1ms) DELETE FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendering text template Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/goma/.rbenv/versions/2.3.1/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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] 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", 5]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 21]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 22]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (0.1ms) 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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 23]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 24]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 25]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 26]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 27]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 28]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 29]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 30]]  (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", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]]  (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.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (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", 4]]  (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", 6], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 6]]  (3.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/goma/.rbenv/versions/2.3.1/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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] 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", 5]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 21]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 22]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 23]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 24]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 25]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 26]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 27]]  (0.0ms) 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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 28]]  (0.0ms) 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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 29]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 30]]  (0.1ms) 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", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]]  (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.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (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", 4]]  (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", 6], ["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", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 6]]  (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", 6]]  (3.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-14 16:16:17 UTC], ["updated_at", 2017-05-14 16:16:17 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/goma/.rbenv/versions/2.3.1/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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] 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", 5]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 21]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 22]]  (0.0ms) 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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 23]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 24]]  (0.0ms) 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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 25]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 26]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 27]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 28]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 29]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 30]]  (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", 5]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.1ms) 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", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.1ms) 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", 4]]  (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", 6], ["id", 6]]  (0.1ms) 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", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 16:16:17 UTC], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 LIMIT ? [["version_id", 6], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (3.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 1"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 1"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 1], ["layout_id", 1], ["label", "King's Landing news 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 ? [["id", 6], ["LIMIT", 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", 6]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]] Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["plural", false]]  (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" = ? LIMIT ? [["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", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 7], ["label", "Slide 1 content element 1"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["sort_order", 1]]  (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" = ? LIMIT ? [["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", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 8], ["label", "Slide 1 content element 2"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["sort_order", 2]]  (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" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 9], ["label", "Slide 1 content element 3"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["sort_order", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 5]]  (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 ? [["id", 5], ["LIMIT", 1]]  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]] SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["free_form_section_id", 5], ["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.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]]  (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 ? [["id", 7], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "partial_id") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["post_type_content_element_type_id", 11], ["content_element_type_id", 7], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["partial_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_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 ? [["id", 8], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "partial_id") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["post_type_content_element_type_id", 12], ["content_element_type_id", 8], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["partial_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_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 ? [["id", 9], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "partial_id") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["post_type_content_element_type_id", 13], ["content_element_type_id", 9], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["partial_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["plural", false]]  (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" = ? LIMIT ? [["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", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 7], ["label", "Slide 1 content element 4"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["sort_order", 1]]  (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" = ? LIMIT ? [["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", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 8], ["label", "Slide 1 content element 5"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["sort_order", 2]]  (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" = ? LIMIT ? [["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", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 9], ["label", "Slide 1 content element 6"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["sort_order", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 5]]  (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 ? [["slug", "winterfell-news-2"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["slug", "winterfell-news-2"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 6]] 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", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) 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 ? [["id", 7], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["version_id", 6], ["post_type_content_element_type_id", 11], ["content_element_type_id", 7], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["id", 8], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["version_id", 6], ["post_type_content_element_type_id", 12], ["content_element_type_id", 8], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["id", 9], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["version_id", 6], ["post_type_content_element_type_id", 13], ["content_element_type_id", 9], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.1ms) 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", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 6]]  (3.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Main Body"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Side Bar"], ["sort_order", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Footer List"], ["sort_order", 3]]  (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 ? [["slug", "test"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "test"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["slug", "test"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Main Body"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 4], ["name", "Side Bar"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 5], ["name", "Footer List"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 6]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 2"], ["sort_order", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 2"], ["sort_order", 2], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-3"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["slug", "winterfell-news-3"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 2"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 2"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 2], ["layout_id", 1], ["label", "King's Landing news 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 2"], ["LIMIT", 1]] Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."label" = ? ORDER BY "pulitzer_partials"."sort_order" ASC LIMIT ? [["free_form_section_id", 5], ["label", "King's Landing news 2"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 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]] SQL (0.2ms) DELETE FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? [["id", 1]]  (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" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 3"], ["sort_order", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 3"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 3"], ["sort_order", 3], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-4"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["slug", "winterfell-news-4"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 3"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 3"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 3], ["layout_id", 1], ["label", "King's Landing news 3"]]  (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 ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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 LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_partial_types" SET "label" = ? WHERE "pulitzer_partial_types"."id" = ? [["label", "new label"], ["id", 1]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 3"], ["LIMIT", 1]] Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."label" = ? ORDER BY "pulitzer_partials"."sort_order" ASC LIMIT ? [["free_form_section_id", 5], ["label", "King's Landing news 3"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_partials" SET "label" = ? WHERE "pulitzer_partials"."id" = ? [["label", "new label"], ["id", 1]]  (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" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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", 5]]  (0.7ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.3ms) 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.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]] SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["sort_order", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 5], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 5], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 5], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 5], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 5], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 5], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 5], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 5], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 5], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 5], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "A New Field for this Post Type"], ["version_id", 5], ["post_type_content_element_type_id", 11], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 5], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 5], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] 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", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_post_type_content_element_types" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ? [["label", "A changed label"], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 11]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."label" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 5], ["label", "A New Field for this Post Type"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["label", "A changed label"], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] 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", 5]]  (1.6ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 5]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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.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]] SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC], ["sort_order", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 1], ["status", 4]] Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 1]]  (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", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] Pulitzer::ContentElementType Load (0.5ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3410aaa0-8151-429e-b13b-bdda30d769c1] Performed Pulitzer::CloneVersionJob from Inline(default) in 98.04ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 3410aaa0-8151-429e-b13b-bdda30d769c1) to Inline(default) with arguments: #> Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 6]]  (0.6ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] 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 [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8a04624a-6b08-4982-abfe-fdef718bb64f] Performed Pulitzer::CloneVersionJob from Inline(default) in 86.63ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 8a04624a-6b08-4982-abfe-fdef718bb64f) to Inline(default) with arguments: #> Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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", 2017-05-14 16:16:18 UTC], ["id", 6]]  (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", 6], ["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", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] 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 [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 31]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 32]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 33]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 34]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 35]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 36]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 37]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 38]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 39]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 40]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 7], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.2ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 7], ["id", 8]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [843d478d-fc60-4159-a5a8-e86fb5392e2a] Performed Pulitzer::CloneVersionJob from Inline(default) in 110.17ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 843d478d-fc60-4159-a5a8-e86fb5392e2a) to Inline(default) with arguments: #> Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.2ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 7]]  (1.7ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 5]]  (0.0ms) 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", 5], ["label_type", "Pulitzer::Tag"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 1]]  (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", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] 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 [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51fef591-5c0f-4f07-ad7b-e324e091e8a8] Performed Pulitzer::CloneVersionJob from Inline(default) in 95.34ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 51fef591-5c0f-4f07-ad7b-e324e091e8a8) to Inline(default) with arguments: #> Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 5]]  (0.0ms) 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", 5], ["label_type", "Pulitzer::Tag"]] 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 6]]  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The North Remembers"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The North Remembers"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 5], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (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" = ? LIMIT ? [["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", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 5], ["label_id", 2], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.0ms) 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", 5], ["label_type", "Pulitzer::Tag"]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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", 2017-05-14 16:16:18 UTC], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 1]]  (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", 2017-05-14 16:16:18 UTC], ["updated_at", 2017-05-14 16:16:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] 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", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:18 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-14 16:16:15 UTC], ["updated_at", 2017-05-14 16:16:16 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-14 16:16:19 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 6], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 6], ["label_id", 2], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-14 16:16:19 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [e8e9a6db-cfd3-40f8-8d3f-addea730fe45] Performed Pulitzer::CloneVersionJob from Inline(default) in 117.34ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: e8e9a6db-cfd3-40f8-8d3f-addea730fe45) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "content_element_type_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 6], ["updated_at", 2017-05-14 16:16:19 UTC], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "content_element_type_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 6], ["updated_at", 2017-05-14 16:16:19 UTC], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "image" = ?, "content_element_type_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["image", "sam_and_snow.jpg"], ["content_element_type_id", 5], ["updated_at", 2017-05-14 16:16:19 UTC], ["id", 1]]  (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 ? [["id", 5], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-5"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-6"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["slug", "winterfell-news-6"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (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", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (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", 1], ["post_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (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 ? [["post_id", 5], ["status", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-7"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["slug", "winterfell-news-7"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (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", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (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 ? [["post_id", 5], ["status", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-8"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["slug", "winterfell-news-8"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 4 WHERE "pulitzer_versions"."id" = ? [["id", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.3ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 5], ["status", 4]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-9"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 9"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["slug", "winterfell-news-9"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 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", 6]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 6]] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 6]] SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 6]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 5], ["status", 4]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-10"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["slug", "winterfell-news-10"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-11"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 11"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["slug", "winterfell-news-11"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (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" != 5) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "the-new-king-in-the-north"], ["LIMIT", 1]] SQL (0.1ms) UPDATE "pulitzer_posts" SET "title" = ?, "updated_at" = ?, "slug" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["updated_at", 2017-05-14 16:16:19 UTC], ["slug", "the-new-king-in-the-north"], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["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", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-12"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 12"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["slug", "winterfell-news-12"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (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", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 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 LIMIT ? [["post_type_id", 1], ["LIMIT", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 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 LIMIT ? [["post_type_id", 1], ["LIMIT", 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::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Test Element"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["sort_order", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 26"], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "a"], ["LIMIT", 1]] Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "A"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 27"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 27"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 28"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 28"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", true]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", true]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-13"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 13"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["slug", "winterfell-news-13"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (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", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (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" = ? LIMIT ? [["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", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 7], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one 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" = ? LIMIT ? [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["id", 5], ["LIMIT", 1]]  (0.5ms) rollback 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" = ? LIMIT ? [["name", "The north 30"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 30"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 31"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 31"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]]  (0.5ms) rollback 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" = ? LIMIT ? [["name", "The north 32"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 32"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (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" = ? LIMIT ? [["name", "The north 33"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id") VALUES (?, ?, ?, ?) [["name", "The north 33"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["parent_id", 1]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-05-14 16:16:19.519855' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (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" = ? LIMIT ? [["name", "The north 34"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id") VALUES (?, ?, ?, ?) [["name", "The north 34"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["parent_id", 1]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-05-14 16:16:19.522684' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? LIMIT ? [["parent_id", 1], ["id", 2], ["LIMIT", 1]] Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? LIMIT ? [["parent_id", 1], ["id", 3], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 35"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 35"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 36"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 36"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (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" = ? LIMIT ? [["name", "The north 37"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id", "hierarchical") VALUES (?, ?, ?, ?, ?) [["name", "The north 37"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["parent_id", 1], ["hierarchical", true]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-05-14 16:16:19.546586' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 38"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 38"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 39"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 39"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (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" = ? LIMIT ? [["name", "The north 40"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id", "hierarchical") VALUES (?, ?, ?, ?, ?) [["name", "The north 40"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["parent_id", 1], ["hierarchical", true]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-05-14 16:16:19.555757' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback 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" = ? LIMIT ? [["name", "The north 41"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 41"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 42"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 42"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 43"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id", "hierarchical") VALUES (?, ?, ?, ?, ?) [["name", "The north 43"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["parent_id", 1], ["hierarchical", true]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-05-14 16:16:19.567214' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-14"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 14"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["slug", "winterfell-news-14"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 44"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 44"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-15"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 15"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["slug", "winterfell-news-15"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (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", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 7], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 7]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 4"], ["sort_order", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 4"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 4"], ["sort_order", 4], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-16"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 16"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["slug", "winterfell-news-16"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (0.1ms) 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 ? [["slug", "winterfell-news-17"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 17"], ["post_type_id", 8], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["slug", "winterfell-news-17"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 6], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 8]]  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 5"], ["sort_order", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 5"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 5"], ["sort_order", 5], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-18"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 18"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["slug", "winterfell-news-18"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 5"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 5"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 5], ["layout_id", 1], ["label", "King's Landing news 5"]]  (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 ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = 'Winterfell news 5' [["version_id", 6]] 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", 5]]  (0.0ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."label" = 'King''s Landing news 5' [["free_form_section_id", 5]]  (2.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 6"], ["sort_order", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 6"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 6"], ["sort_order", 6], ["layout_id", 1], ["post_type_id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-19"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 19"], ["post_type_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC], ["slug", "winterfell-news-19"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-14 16:16:19 UTC], ["updated_at", 2017-05-14 16:16:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 6"]]  (0.2ms) 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 6"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 6], ["layout_id", 1], ["label", "King's Landing news 6"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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 LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_partials" SET "label" = ? WHERE "pulitzer_partials"."id" = ? [["label", "Westeros news"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = 'Winterfell news 6' [["version_id", 6]] 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", 5]]  (0.1ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.2ms) SELECT COUNT(*) FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."label" = 'King''s Landing news 6' [["free_form_section_id", 5]]  (0.6ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (1.2ms) 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.5ms) 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.3ms) 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.8ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.1ms) begin transaction  (0.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (1.0ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.8ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-15 17:56:53 UTC], ["updated_at", 2017-05-15 17:56:53 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-15 17:56:53 UTC], ["updated_at", 2017-05-15 17:56:53 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-15 17:56:53 UTC], ["updated_at", 2017-05-15 17:56:53 UTC]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.7ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.7ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.0ms) begin transaction  (0.4ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.9ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) begin transaction  (0.3ms) 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.8ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.9ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.0ms) begin transaction  (0.4ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.4ms) 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) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (1.0ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) 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 ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.9ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction  (0.1ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"  (0.4ms) DROP TABLE "pulitzer_post_types"  (0.2ms) 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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"]]  (0.8ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.8ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.8ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]  (0.8ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.0ms) 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.3ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]  (0.7ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.0ms) 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.5ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.1ms) begin transaction  (0.3ms) 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.8ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.4ms) 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.9ms) commit transaction Migrating to FixPostTypeKinds (20160516150237)  (0.0ms) 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.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]  (0.8ms) 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.9ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.7ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.9ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.0ms) begin transaction  (0.1ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" 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.2ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (1.0ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.7ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.3ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.0ms) begin transaction  (0.6ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (0.9ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-15 17:56:53 UTC], ["updated_at", 2017-05-15 17:56:53 UTC]]  (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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) TRUNCATE TABLE schema_migrations;  (1.2ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.7ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.8ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.6ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.6ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.7ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (0.7ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.8ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.9ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (1.1ms) delete from pulitzer_partials;  (0.3ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (1.2ms) delete from pulitzer_free_form_section_types;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_sections;  (1.0ms) delete from pulitzer_free_form_sections;  (0.2ms) TRUNCATE TABLE pulitzer_layouts;  (0.8ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (0.8ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.8ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (0.9ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction 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.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]] SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["sort_order", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["sort_order", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["sort_order", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["sort_order", 4]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["sort_order", 5]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["sort_order", 6]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["sort_order", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["sort_order", 8]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["sort_order", 9]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["sort_order", 10]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["slug", "welcome"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (0.9ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (1.0ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["slug", "ski-jump-competition"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (0.9ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 1]]  (0.7ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC]]  (0.8ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] 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 [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.4ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Pulitzer::Partial Load (0.3ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.4ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Pulitzer::PostTag Load (0.3ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [c6864417-32e8-4405-8f9a-d729319d6bee] Performed Pulitzer::CloneVersionJob from Inline(default) in 134.71ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: c6864417-32e8-4405-8f9a-d729319d6bee) to Inline(default) with arguments: #> Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 1]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 2]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 5]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 6]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 7]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 8]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 9]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-15 17:56:56 UTC], ["id", 10]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::FreeFormSectionTypesController#new as HTML Parameters: {"post_type_id"=>"5"} Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (5.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (20.8ms) Completed 200 OK in 33ms (Views: 28.6ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::FreeFormSectionTypesController#create as HTML Parameters: {"free_form_section_type"=>{"name"=>"test sidebar", "post_type_id"=>"5"}} Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "test sidebar"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (1.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (5.3ms) Completed 200 OK in 17ms (Views: 8.1ms | ActiveRecord: 0.5ms) 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 ? [["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "main content"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML Parameters: {"id"=>"3"} 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 ? [["id", 3], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (1.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (8.3ms) Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "main content"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::FreeFormSectionTypesController#update as HTML Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"3"} Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 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", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (0.8ms) Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.4ms) Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_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", 5]] 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", 5]] SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "main content"], ["sort_order", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML Parameters: {"id"=>"3"} 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 ? [["id", 3], ["LIMIT", 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", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Rendering text template Rendered text template (0.0ms) Completed 200 OK in 8ms (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 ? [["id", 3], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC], ["plural", true], ["kind", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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"=>"5"}} Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] Pulitzer::PostType Load (0.1ms) 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", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_new.html.erb (10.3ms) Completed 200 OK in 21ms (Views: 12.6ms | ActiveRecord: 0.9ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC], ["plural", true], ["kind", 1]]  (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", "free as a bird"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::PartialsController#create as HTML Parameters: {"partial"=>{"free_form_section_id"=>"5", "post_type_id"=>"5"}} Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]] SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["free_form_section_id", 5], ["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 ? [["id", 5], ["LIMIT", 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", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.5ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (4.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_show.html.erb (13.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (17.8ms) Completed 200 OK in 33ms (Views: 20.9ms | ActiveRecord: 0.7ms) Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.5ms) rollback 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.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC], ["plural", true], ["kind", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]] SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["free_form_section_id", 5], ["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 ? [["id", 1], ["LIMIT", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) Pulitzer::Layout Load (0.0ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_form.html.erb (5.1ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Left Text White BG"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC], ["plural", true], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC], ["plural", true], ["kind", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]] SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::PartialsController#update as HTML Parameters: {"partial"=>{"post_type_id"=>"5"}, "id"=>"1"} Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_partials" SET "post_type_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_id", 5], ["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 ? [["id", 5], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.0ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_show.html.erb (3.4ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.3ms) Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"kind"=>"template", "name"=>"Flock of birds", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (4.6ms) Completed 200 OK in 12ms (Views: 7.6ms | ActiveRecord: 0.5ms) Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Flock of birds"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT ? [["post_type_id", 5], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"kind"=>"template", "name"=>"Crow", "plural"=>"0"}}  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Crow"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? LIMIT ? [["post_type_id", 5], ["LIMIT", 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 ? [["slug", "crow"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Crow"], ["post_type_id", 5], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC], ["slug", "crow"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 5]] 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", 5]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 5], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (2.0ms) Completed 200 OK in 17ms (Views: 2.2ms | ActiveRecord: 1.5ms) Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Crow"], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 5], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 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", 1]] SQL (0.2ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 3]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 4]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 5]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 6]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 7]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 8]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 9]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 10]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] SQL (0.1ms) DELETE FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? [["id", 2]] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"abandoned", "id"=>"5"} Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? [["post_id", 1]] 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", 5]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 11]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 12]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 13]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 14]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 15]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 16]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 17]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 18]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 19]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 20]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] SQL (0.3ms) DELETE FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? [["id", 3]] SQL (0.1ms) DELETE FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? [["id", 4]] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 5]] SQL (0.2ms) DELETE FROM "pulitzer_posts" WHERE "pulitzer_posts"."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 ? [["id", 1], ["LIMIT", 1]] Completed 200 OK in 23ms (Views: 0.3ms | ActiveRecord: 2.1ms) Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.7ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 5], ["required", true]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" IN (3, 4) ORDER BY "pulitzer_partials"."sort_order" ASC  (0.1ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::FreeFormSection Load (0.7ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" IN ('Main Content', 'Handpicked Homes') [["version_id", 5]] 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]]  (0.1ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 1]] Pulitzer::PartialType Load (0.1ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 1]]  (0.0ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 2]] Pulitzer::PartialType Load (0.1ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 2]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 1]]  (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", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] 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 [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d0335e9a-56eb-40c0-8d9c-57f49e84b2a1] Performed Pulitzer::CloneVersionJob from Inline(default) in 92.41ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: d0335e9a-56eb-40c0-8d9c-57f49e84b2a1) to Inline(default) with arguments: #> Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"abandoned", "id"=>"5"} Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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", 2017-05-15 17:56:57 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]] 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (2.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_slug_wrapper.html.erb (5.6ms) Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 6], ["label_type", "Pulitzer::Tag"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (3.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (6.2ms) 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", 6], ["label_type", "SearchLocation"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (1.7ms) 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", 6]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 6]] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 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 ? [["id", 1], ["LIMIT", 1]] Pulitzer::FreeFormSectionType Load (0.2ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (6.6ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.3ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.2ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.1ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.2ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.3ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.4ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.2ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.4ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.3ms) 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", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_index.html.erb (2.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show.html.erb (5.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show_wrapper.html.erb (8.0ms) 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", 6]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_index.html.erb (1.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show.html.erb (1.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show_wrapper.html.erb (1.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (2.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (85.4ms) Completed 200 OK in 99ms (Views: 0.7ms | ActiveRecord: 2.3ms) Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 5], ["required", true]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" IN (3, 4) ORDER BY "pulitzer_partials"."sort_order" ASC  (0.1ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" IN ('Main Content', 'Handpicked Homes') [["version_id", 5]] 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]]  (0.0ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 1]] Pulitzer::PartialType Load (0.0ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 1]]  (0.0ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 2]] Pulitzer::PartialType Load (0.0ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 2]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 1]]  (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", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] 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 [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.2ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c0e8373-2da8-477b-a9f8-ef9238234672] Performed Pulitzer::CloneVersionJob from Inline(default) in 90.93ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 3c0e8373-2da8-477b-a9f8-ef9238234672) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"abandoned", "id"=>"6"} Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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", 2017-05-15 17:56:57 UTC], ["id", 6]]  (0.0ms) 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", 6], ["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", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] 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", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 31]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 32]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 33]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 34]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 35]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 36]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 37]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 38]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 39]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 40]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 7], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 7], ["id", 8]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-15 17:56:57 UTC], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [30af4c12-4b26-4279-8588-2b5c92fa3a47] Performed Pulitzer::CloneVersionJob from Inline(default) in 106.73ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 30af4c12-4b26-4279-8588-2b5c92fa3a47) to Inline(default) with arguments: #>  (0.2ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (7.8ms) Completed 200 OK in 128ms (Views: 0.3ms | ActiveRecord: 8.1ms) Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]  (3.2ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 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 LIMIT ? [["post_type_id", 1], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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.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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "required", "sort_order") VALUES (?, ?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "test"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC], ["required", true], ["sort_order", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["version_id", 5], ["LIMIT", 1]] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "body" = NULL, "post_type_content_element_type_id" = 11 WHERE "pulitzer_content_elements"."id" = ? [["id", 11]] Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"active", "id"=>"5"} Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 5], ["required", true]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" IN ('Main Content', 'Handpicked Homes') [["version_id", 5]] 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]]  (0.0ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 1]] Pulitzer::PartialType Load (0.0ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 1]]  (0.0ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 2]] Pulitzer::PartialType Load (0.0ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 2]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (0.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_slug_wrapper.html.erb (3.5ms) 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", 5], ["label_type", "Pulitzer::Tag"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (4.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (9.1ms) Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 5], ["label_type", "SearchLocation"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (1.3ms) 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", 5]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 11], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (5.9ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.7ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.8ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.5ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.6ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.4ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (2.1ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.8ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.4ms) 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", 3]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_index.html.erb (2.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show.html.erb (5.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show_wrapper.html.erb (7.5ms) 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", 4]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_index.html.erb (1.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show.html.erb (2.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show_wrapper.html.erb (2.2ms) Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.8ms) Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (3.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (78.4ms) Completed 409 Conflict in 97ms (Views: 1.3ms | ActiveRecord: 2.3ms)  (3.0ms) rollback 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" = ? LIMIT ? [["name", "The north 1"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC]]  (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" = ? LIMIT ? [["name", "The north 2"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 2"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC], ["hierarchical", true]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#index as HTML Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? AND "pulitzer_tags"."parent_id" IS NULL [["hierarchical", true]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 2]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (10.0ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (17.1ms) Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (1.7ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (2.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_index.html.erb (27.0ms) Completed 200 OK in 33ms (Views: 31.1ms | ActiveRecord: 0.5ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 3"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC]]  (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" = ? LIMIT ? [["name", "The north 4"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 4"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC], ["hierarchical", true]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#index as HTML Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? AND "pulitzer_tags"."parent_id" IS NULL [["hierarchical", true]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 2]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.3ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (2.6ms) Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.7ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (2.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_index.html.erb (7.6ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 5"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 5"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC]]  (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" = ? LIMIT ? [["name", "The north 6"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 6"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC], ["hierarchical", true]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#index as HTML Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? AND "pulitzer_tags"."parent_id" IS NULL [["hierarchical", true]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 2]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (3.3ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (3.6ms) Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.6ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (2.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_index.html.erb (8.6ms) Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 7"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 7"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC]]  (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 ? [["id", 1], ["LIMIT", 1]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.4ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 8"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 8"], ["created_at", 2017-05-15 17:56:57 UTC], ["updated_at", 2017-05-15 17:56:57 UTC]]  (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 ? [["id", 1], ["LIMIT", 1]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.4ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction Processing by Pulitzer::TagsController#new as HTML Parameters: {"tag"=>{"hierarchical"=>"true"}} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (10.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (13.0ms) Completed 200 OK in 16ms (Views: 15.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by Pulitzer::TagsController#new as HTML Parameters: {"tag"=>{"hierarchical"=>"true"}} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (1.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (1.9ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Pulitzer::TagsController#new as HTML Parameters: {"tag"=>{"hierarchical"=>"false"}} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (1.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (2.3ms) Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback 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" = ? LIMIT ? [["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", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (3.2ms) Completed 200 OK in 10ms (Views: 5.5ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags"  (0.4ms) rollback transaction  (0.1ms) begin transaction Processing by Pulitzer::TagsController#create as HTML Parameters: {"tag"=>{"name"=>"The north 10"}}  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["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", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (4.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (4.3ms) Completed 200 OK in 9ms (Views: 5.1ms | ActiveRecord: 0.9ms)  (0.5ms) rollback 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" = ? LIMIT ? [["name", "awesomesauce"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (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.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "awesomesauce"], ["LIMIT", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (2.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (2.7ms) Completed 409 Conflict in 7ms (Views: 5.4ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags"  (0.4ms) rollback 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" = ? LIMIT ? [["name", "awesomesauce"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (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" = ? LIMIT ? [["name", "awesomesauce"], ["LIMIT", 1]]  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (3.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (3.5ms) Completed 409 Conflict in 7ms (Views: 4.0ms | ActiveRecord: 0.4ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 13"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 13"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (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 ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (4.1ms) Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["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", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#edit as HTML Parameters: {"id"=>"1"} Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (1.6ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["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", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/tags/1?tag%5Bname%5D=The+north+16" for 127.0.0.1 at 2017-05-15 12:56:58 -0500 Processing by Pulitzer::TagsController#update as HTML Parameters: {"tag"=>{"name"=>"The north 16"}, "id"=>"1"} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (6.2ms) Completed 409 Conflict in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms)  (0.6ms) rollback 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" = ? LIMIT ? [["name", "The north 17"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 17"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/tags/1?tag%5Bname%5D=The+north+18" for 127.0.0.1 at 2017-05-15 12:56:58 -0500 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" = ? AND ("pulitzer_tags"."id" != ?) LIMIT ? [["name", "The north 18"], ["id", 1], ["LIMIT", 1]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ? [["name", "The north 18"], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (4.4ms) Completed 200 OK in 10ms (Views: 6.8ms | ActiveRecord: 0.3ms)  (0.5ms) rollback 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" = ? LIMIT ? [["name", "sadpanda"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (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" = ? LIMIT ? [["name", "The north 20"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 20"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/tags/2?tag%5Bname%5D=sadpanda" for 127.0.0.1 at 2017-05-15 12:56:58 -0500 Processing by Pulitzer::TagsController#update as HTML Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"}  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? AND ("pulitzer_tags"."id" != ?) LIMIT ? [["name", "sadpanda"], ["id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (6.9ms) Completed 409 Conflict in 12ms (Views: 9.2ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "sadpanda"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (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" = ? LIMIT ? [["name", "The north 22"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 22"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/tags/2?tag%5Bname%5D=sadpanda" for 127.0.0.1 at 2017-05-15 12:56:58 -0500 Processing by Pulitzer::TagsController#update as HTML Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"}  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? AND ("pulitzer_tags"."id" != ?) LIMIT ? [["name", "sadpanda"], ["id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (7.7ms) Completed 409 Conflict in 13ms (Views: 10.0ms | ActiveRecord: 0.3ms)  (0.5ms) rollback 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" = ? LIMIT ? [["name", "The north 23"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 23"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#destroy as HTML Parameters: {"id"=>"1"} Rendering text template Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.5ms) rollback 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" = ? LIMIT ? [["name", "The north 24"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 24"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.0ms) 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.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] SQL (0.2ms) DELETE FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering text template Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.5ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/goma/.rbenv/versions/2.3.1/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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] 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", 5]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 21]]  (0.0ms) 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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.5ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 22]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 23]]  (0.0ms) 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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 24]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 25]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 26]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 27]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 28]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 29]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 30]]  (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", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]]  (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.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.1ms) 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", 4]]  (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", 6], ["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", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 6]]  (3.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/goma/.rbenv/versions/2.3.1/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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] 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", 5]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 21]]  (0.0ms) 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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 22]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 23]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 24]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 25]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 26]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 27]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 28]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 29]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 30]]  (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", 5]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (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", 4]]  (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", 6], ["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", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 6]]  (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", 6]]  (3.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/goma/.rbenv/versions/2.3.1/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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] 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", 5]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 21]]  (0.0ms) 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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 22]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 23]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 24]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 25]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 26]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 27]]  (0.0ms) 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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 28]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 29]]  (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 ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]]  (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", 6], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 30]]  (0.1ms) 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", 5]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.1ms) 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.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.1ms) 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", 4]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-15 17:56:58 UTC], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 LIMIT ? [["version_id", 6], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (3.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 1"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 1], ["layout_id", 1], ["label", "King's Landing news 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 ? [["id", 6], ["LIMIT", 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", 6]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]] Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["plural", false]]  (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" = ? LIMIT ? [["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", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 7], ["label", "Slide 1 content element 1"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["sort_order", 1]]  (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" = ? LIMIT ? [["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", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 8], ["label", "Slide 1 content element 2"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["sort_order", 2]]  (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" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 9], ["label", "Slide 1 content element 3"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["sort_order", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 5]]  (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.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 ? [["id", 5], ["LIMIT", 1]]  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]] SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["free_form_section_id", 5], ["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.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]]  (0.1ms) 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 ? [["id", 7], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "partial_id") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["post_type_content_element_type_id", 11], ["content_element_type_id", 7], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["partial_id", 1]]  (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 ? [["id", 8], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "partial_id") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["post_type_content_element_type_id", 12], ["content_element_type_id", 8], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["partial_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_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 ? [["id", 9], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "partial_id") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["post_type_content_element_type_id", 13], ["content_element_type_id", 9], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["partial_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["plural", false]]  (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" = ? LIMIT ? [["name", "Text 4"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 7], ["label", "Slide 1 content element 4"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["sort_order", 1]]  (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" = ? LIMIT ? [["name", "Text 5"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 8], ["label", "Slide 1 content element 5"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["sort_order", 2]]  (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" = ? LIMIT ? [["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", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 5], ["content_element_type_id", 9], ["label", "Slide 1 content element 6"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["sort_order", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 5]]  (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 ? [["slug", "winterfell-news-2"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 5], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["slug", "winterfell-news-2"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 6]] 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", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) 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 ? [["id", 7], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["version_id", 6], ["post_type_content_element_type_id", 11], ["content_element_type_id", 7], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["id", 8], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["version_id", 6], ["post_type_content_element_type_id", 12], ["content_element_type_id", 8], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["id", 9], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["version_id", 6], ["post_type_content_element_type_id", 13], ["content_element_type_id", 9], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 6]]  (3.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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", 5]] 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", 5]] SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Main Body"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Side Bar"], ["sort_order", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Footer List"], ["sort_order", 3]]  (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 ? [["slug", "test"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "test"], ["post_type_id", 5], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["slug", "test"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Main Body"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 4], ["name", "Side Bar"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 5], ["name", "Footer List"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 6]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 2"], ["sort_order", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 2"], ["sort_order", 2], ["layout_id", 1], ["post_type_id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-3"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 5], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["slug", "winterfell-news-3"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 2"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 2], ["layout_id", 1], ["label", "King's Landing news 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 2"], ["LIMIT", 1]] Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."label" = ? ORDER BY "pulitzer_partials"."sort_order" ASC LIMIT ? [["free_form_section_id", 5], ["label", "King's Landing news 2"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 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]] SQL (0.1ms) DELETE FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? [["id", 1]]  (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" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 5]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 3"], ["sort_order", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 3"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 3"], ["sort_order", 3], ["layout_id", 1], ["post_type_id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-4"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 5], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["slug", "winterfell-news-4"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 3"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 3"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 3], ["layout_id", 1], ["label", "King's Landing news 3"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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 LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_partial_types" SET "label" = ? WHERE "pulitzer_partial_types"."id" = ? [["label", "new label"], ["id", 1]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 3"], ["LIMIT", 1]] Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."label" = ? ORDER BY "pulitzer_partials"."sort_order" ASC LIMIT ? [["free_form_section_id", 5], ["label", "King's Landing news 3"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_partials" SET "label" = ? WHERE "pulitzer_partials"."id" = ? [["label", "new label"], ["id", 1]]  (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" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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", 5]]  (0.7ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC], ["sort_order", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 5], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 5], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 5], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 5], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 5], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 5], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:58 UTC], ["updated_at", 2017-05-15 17:56:58 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 5], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 5], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 5], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 5], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["id", 4], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "A New Field for this Post Type"], ["version_id", 5], ["post_type_content_element_type_id", 11], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 5], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 5], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] 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", 5]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ? [["label", "A changed label"], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 11]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."label" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 5], ["label", "A New Field for this Post Type"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["label", "A changed label"], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] 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", 5]]  (0.6ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 5]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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]] SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC], ["sort_order", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 1], ["status", 4]] Pulitzer::Partial Load (0.3ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Post Load (0.4ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 1]]  (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", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] 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 [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [220fc299-29e9-4f5b-84af-dc6620d0f0e4] Performed Pulitzer::CloneVersionJob from Inline(default) in 86.78ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 220fc299-29e9-4f5b-84af-dc6620d0f0e4) to Inline(default) with arguments: #> Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 6]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] 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", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d10c7066-c6ec-416f-881e-95d30caf715b] Performed Pulitzer::CloneVersionJob from Inline(default) in 88.38ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: d10c7066-c6ec-416f-881e-95d30caf715b) to Inline(default) with arguments: #> Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 6]]  (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", 6], ["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", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] 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", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 31]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 32]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 33]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 34]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 35]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 36]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 37]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 38]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 39]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 7], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 40]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 7], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 7], ["id", 8]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [49749cd4-d143-4278-a371-2ea9bc611791] Performed Pulitzer::CloneVersionJob from Inline(default) in 85.32ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 49749cd4-d143-4278-a371-2ea9bc611791) to Inline(default) with arguments: #> Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 7]]  (3.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] 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", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [46060480-d6a0-4172-a1c0-1085a1261d1e] Performed Pulitzer::CloneVersionJob from Inline(default) in 103.35ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 46060480-d6a0-4172-a1c0-1085a1261d1e) to Inline(default) with arguments: #> Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 5]]  (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", 5], ["label_type", "Pulitzer::Tag"]] 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 6]]  (3.1ms) rollback 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" = ? LIMIT ? [["name", "The North Remembers"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The North Remembers"], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 5], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (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" = ? LIMIT ? [["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", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 5], ["label_id", 2], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (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", 5], ["label_type", "Pulitzer::Tag"]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] 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", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 21]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 22]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 23]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 24]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 25]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 27]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 28]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 29]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:56:56 UTC], ["updated_at", 2017-05-15 17:56:56 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] 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", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] 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", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 6], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 6], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 6], ["label_id", 2], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [3c36d4c7-f2c3-4530-9124-7e675d24c073] Performed Pulitzer::CloneVersionJob from Inline(default) in 89.45ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 3c36d4c7-f2c3-4530-9124-7e675d24c073) to Inline(default) with arguments: #> Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]  (3.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "content_element_type_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "content_element_type_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 6], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.2ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "image" = ?, "content_element_type_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["image", "sam_and_snow.jpg"], ["content_element_type_id", 5], ["updated_at", 2017-05-15 17:56:59 UTC], ["id", 1]]  (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 ? [["id", 5], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC], ["plural", false]]  (0.0ms) RELEASE 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 ? [["slug", "winterfell-news-5"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-6"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 5], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC], ["slug", "winterfell-news-6"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (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", 5], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (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", 5], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (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 ? [["post_id", 5], ["status", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-7"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 5], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC], ["slug", "winterfell-news-7"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (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" = ? LIMIT ? [["post_id", 5], ["status", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC], ["plural", false]]  (0.1ms) 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 ? [["slug", "winterfell-news-8"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 5], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC], ["slug", "winterfell-news-8"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 4 WHERE "pulitzer_versions"."id" = ? [["id", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 5], ["status", 4]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-9"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 9"], ["post_type_id", 5], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC], ["slug", "winterfell-news-9"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:56:59 UTC], ["updated_at", 2017-05-15 17:56:59 UTC]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 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", 6]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 6]] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 6]] SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 6]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 5], ["status", 4]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-10"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["post_type_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["slug", "winterfell-news-10"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-11"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 11"], ["post_type_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["slug", "winterfell-news-11"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (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" != 5) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "the-new-king-in-the-north"], ["LIMIT", 1]] SQL (0.1ms) UPDATE "pulitzer_posts" SET "title" = ?, "updated_at" = ?, "slug" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["updated_at", 2017-05-15 17:57:00 UTC], ["slug", "the-new-king-in-the-north"], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback 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" = ? LIMIT ? [["name", "The north 25"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 25"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-12"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 12"], ["post_type_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["slug", "winterfell-news-12"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (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", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 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 LIMIT ? [["post_type_id", 1], ["LIMIT", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 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 LIMIT ? [["post_type_id", 1], ["LIMIT", 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.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::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Test Element"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["sort_order", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 26"], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT ? [["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "a"], ["LIMIT", 1]] Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "A"], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 27"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 27"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 28"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 28"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", true]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", true]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-13"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 13"], ["post_type_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["slug", "winterfell-news-13"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (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", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (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" = ? LIMIT ? [["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", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 7], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one 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" = ? LIMIT ? [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["id", 5], ["LIMIT", 1]]  (0.6ms) rollback 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" = ? LIMIT ? [["name", "The north 30"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 30"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 31"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 31"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]]  (0.5ms) rollback 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" = ? LIMIT ? [["name", "The north 32"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 32"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (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" = ? LIMIT ? [["name", "The north 33"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id") VALUES (?, ?, ?, ?) [["name", "The north 33"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["parent_id", 1]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-05-15 17:57:00.159586' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (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" = ? LIMIT ? [["name", "The north 34"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id") VALUES (?, ?, ?, ?) [["name", "The north 34"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["parent_id", 1]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-05-15 17:57:00.162561' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? LIMIT ? [["parent_id", 1], ["id", 2], ["LIMIT", 1]] Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? LIMIT ? [["parent_id", 1], ["id", 3], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 35"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 35"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 36"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 36"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (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" = ? LIMIT ? [["name", "The north 37"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id", "hierarchical") VALUES (?, ?, ?, ?, ?) [["name", "The north 37"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["parent_id", 1], ["hierarchical", true]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-05-15 17:57:00.175492' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback 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" = ? LIMIT ? [["name", "The north 38"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 38"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 39"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 39"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (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" = ? LIMIT ? [["name", "The north 40"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id", "hierarchical") VALUES (?, ?, ?, ?, ?) [["name", "The north 40"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["parent_id", 1], ["hierarchical", true]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-05-15 17:57:00.185794' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback 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" = ? LIMIT ? [["name", "The north 41"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 41"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 42"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 42"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (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" = ? LIMIT ? [["name", "The north 43"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id", "hierarchical") VALUES (?, ?, ?, ?, ?) [["name", "The north 43"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["parent_id", 1], ["hierarchical", true]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-05-15 17:57:00.195954' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-14"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 14"], ["post_type_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["slug", "winterfell-news-14"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback 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" = ? LIMIT ? [["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", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-15"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 15"], ["post_type_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["slug", "winterfell-news-15"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (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", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 7], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 7]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 4"], ["sort_order", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 4"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 4"], ["sort_order", 4], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-16"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 16"], ["post_type_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["slug", "winterfell-news-16"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-17"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 17"], ["post_type_id", 8], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["slug", "winterfell-news-17"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 6], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 8]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 5"], ["sort_order", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 5"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 5"], ["sort_order", 5], ["layout_id", 1], ["post_type_id", 6]]  (0.1ms) 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 ? [["slug", "winterfell-news-18"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 18"], ["post_type_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["slug", "winterfell-news-18"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 5"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 5"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 5], ["layout_id", 1], ["label", "King's Landing news 5"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = 'Winterfell news 5' [["version_id", 6]] 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", 5]]  (0.1ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]] Pulitzer::PartialType Load (0.1ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."post_type_id" = ? [["free_form_section_id", 5], ["post_type_id", 6]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 6"], ["sort_order", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 6"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 6"], ["sort_order", 6], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-19"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 19"], ["post_type_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC], ["slug", "winterfell-news-19"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:57:00 UTC], ["updated_at", 2017-05-15 17:57:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 6"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 6"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 6], ["layout_id", 1], ["label", "King's Landing news 6"]]  (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 ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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 LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_partials" SET "label" = ? WHERE "pulitzer_partials"."id" = ? [["label", "Westeros news"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = 'Winterfell news 6' [["version_id", 6]] 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", 5]]  (0.0ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]] Pulitzer::PartialType Load (0.0ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."post_type_id" = ? [["free_form_section_id", 5], ["post_type_id", 6]]  (0.6ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (1.3ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.0ms) begin transaction  (0.3ms) 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.9ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.0ms) begin transaction  (0.3ms) 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.9ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.0ms) begin transaction  (0.3ms) 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.9ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction  (0.3ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (0.6ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.8ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.7ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.8ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-15 17:58:20 UTC], ["updated_at", 2017-05-15 17:58:20 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-15 17:58:20 UTC], ["updated_at", 2017-05-15 17:58:20 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-15 17:58:20 UTC], ["updated_at", 2017-05-15 17:58:20 UTC]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.9ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.1ms) select sqlite_version(*)  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (1.1ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.3ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.9ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) begin transaction  (0.3ms) 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.9ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.4ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.7ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction  (0.1ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.4ms) 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.2ms) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (0.9ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.6ms) 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 ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.8ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"  (0.1ms) DROP TABLE "apulitzer_post_types"  (0.3ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.8ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (1.2ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.8ms) 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.7ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.0ms) begin transaction  (0.3ms) 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"]]  (0.8ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.0ms) 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.8ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.0ms) begin transaction  (0.3ms) 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.8ms) 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"]]  (1.1ms) 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.8ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.0ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (0.9ms) 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"]]  (1.6ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.8ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) begin transaction  (0.1ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.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.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.7ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.8ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.6ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (0.8ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-15 17:58:20 UTC], ["updated_at", 2017-05-15 17:58:20 UTC]]  (0.7ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) TRUNCATE TABLE schema_migrations;  (2.5ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.9ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.7ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (1.0ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.8ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (1.0ms) delete from pulitzer_post_type_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_versions;  (0.9ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.8ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.9ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.7ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.8ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.7ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_layouts;  (0.8ms) delete from pulitzer_layouts;  (0.2ms) TRUNCATE TABLE pulitzer_content_elements;  (0.9ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.8ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["plural", true]]  (0.9ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.9ms) commit transaction  (0.0ms) begin transaction 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]] 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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["sort_order", 1]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["sort_order", 2]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["sort_order", 3]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["sort_order", 4]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["sort_order", 5]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["sort_order", 6]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["sort_order", 7]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["sort_order", 8]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["sort_order", 9]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["sort_order", 10]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.9ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (2.0ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["plural", true]]  (2.0ms) commit transaction  (0.2ms) begin transaction Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["plural", true]]  (1.1ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.8ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 1]]  (0.8ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.9ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] 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 [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.3ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] 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", 2]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.2ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [55ae43a4-53e4-44ed-9d1f-e5e35c823232] Performed Pulitzer::CloneVersionJob from Inline(default) in 128.03ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 55ae43a4-53e4-44ed-9d1f-e5e35c823232) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 1]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 2]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 3]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 4]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 5]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 6]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 8]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 9]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-15 17:58:24 UTC], ["id", 10]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:58:24 UTC], ["updated_at", 2017-05-15 17:58:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback 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" = ? LIMIT ? [["name", "The north 1"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-2"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 5], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC], ["slug", "winterfell-news-2"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC]]  (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", 5], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 7], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC]]  (0.1ms) 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", 7]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-3"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 5], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC], ["slug", "winterfell-news-3"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-4"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 8], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC], ["slug", "winterfell-news-4"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 6], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 8]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 2"], ["sort_order", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 2"], ["sort_order", 2], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-5"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 5], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC], ["slug", "winterfell-news-5"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 2"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 2], ["layout_id", 1], ["label", "King's Landing news 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = 'Winterfell news 2' [["version_id", 6]] 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", 5]]  (0.1ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]] Pulitzer::PartialType Load (0.1ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."post_type_id" = ? [["free_form_section_id", 5], ["post_type_id", 6]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 3"], ["sort_order", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 3"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 3"], ["sort_order", 3], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-6"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 5], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC], ["slug", "winterfell-news-6"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:58:25 UTC], ["updated_at", 2017-05-15 17:58:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 3"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 3"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 3], ["layout_id", 1], ["label", "King's Landing news 3"]]  (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 ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 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 LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_partials" SET "label" = ? WHERE "pulitzer_partials"."id" = ? [["label", "Westeros news"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = 'Winterfell news 3' [["version_id", 6]] 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", 5]]  (0.0ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]] Pulitzer::PartialType Load (0.0ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."post_type_id" = ? [["free_form_section_id", 5], ["post_type_id", 6]]  (0.8ms) rollback transaction Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.9ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.0ms) begin transaction  (0.3ms) 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.8ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.0ms) begin transaction  (0.3ms) 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.5ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (0.6ms) 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.5ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.8ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.8ms) 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" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-15 17:59:36 UTC], ["updated_at", 2017-05-15 17:59:36 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-15 17:59:37 UTC], ["updated_at", 2017-05-15 17:59:37 UTC]] Pulitzer::ContentElementType Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-15 17:59:37 UTC], ["updated_at", 2017-05-15 17:59:37 UTC]] SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (1.4ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.2ms) begin transaction  (1.7ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.2ms) select sqlite_version(*)  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (2.5ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.3ms) begin transaction  (0.2ms) 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" 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.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.4ms) DROP TABLE "apulitzer_post_tags" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.9ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.2ms) begin transaction  (0.6ms) 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.8ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.4ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.8ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.0ms) begin transaction  (0.2ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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, "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.2ms) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" 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.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) 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) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (0.9ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) 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.5ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (1.0ms) 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.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" 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.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.9ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.9ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.8ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.3ms) 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.7ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.1ms) 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"]]  (0.8ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.0ms) 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.8ms) 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.8ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (0.4ms) 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.9ms) 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.8ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.0ms) begin transaction  (0.3ms) 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.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.8ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.9ms) 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) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" 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.4ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (1.0ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.7ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (1.0ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (0.9ms) commit transaction ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-05-15 17:59:37 UTC], ["updated_at", 2017-05-15 17:59:37 UTC]]  (0.7ms) 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.1ms)  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'  Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) TRUNCATE TABLE schema_migrations;  (3.8ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (1.0ms) delete from ar_internal_metadata;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.8ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.9ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.9ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.9ms) delete from pulitzer_post_type_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_versions;  (1.2ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.8ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.7ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.7ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.7ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.8ms) delete from pulitzer_free_form_sections;  (0.2ms) TRUNCATE TABLE pulitzer_layouts;  (0.7ms) delete from pulitzer_layouts;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (0.8ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.6ms) delete from pulitzer_partial_types;  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC]]  (3.3ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC]]  (0.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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.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]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 1"], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["sort_order", 1]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 2"], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["sort_order", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Hero Title 3"], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["sort_order", 3]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Title"], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["sort_order", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Guest Text"], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["sort_order", 5]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Title"], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["sort_order", 6]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Footer Text"], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["sort_order", 7]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata title"], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["sort_order", 8]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata description"], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["sort_order", 9]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_id", 1], ["content_element_type_id", 4], ["label", "Metadata keywords"], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["sort_order", 10]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["slug", "welcome"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC]]  (3.3ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.7ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["slug", "complete-guide-to-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["plural", true]]  (1.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["slug", "ski-jump-competition"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["slug", "why-visit-breckenridge"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC]]  (0.8ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 1]]  (0.7ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC]]  (0.8ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] 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 ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::PostTypeContentElementType Load (0.4ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 2], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (1.1ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 3], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 4], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 5], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 6], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 7], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 7], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 8], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 8], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 9], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 9], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 19]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC LIMIT ? [["id", 10], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 10], ["content_element_type_id", 4], ["created_at", 2017-05-15 17:59:41 UTC], ["updated_at", 2017-05-15 17:59:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 5], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 20]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 1], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.4ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.5ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::Partial Load (0.2ms) 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.4ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 5], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [061c0e25-5d6e-4fef-8e7a-c35a383c794d] Performed Pulitzer::CloneVersionJob from Inline(default) in 151.23ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 061c0e25-5d6e-4fef-8e7a-c35a383c794d) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 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 [["version_id", 1]]  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 2]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 4]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 5]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 6]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 7]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 8]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 9]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-15 17:59:42 UTC], ["id", 10]]  (0.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["plural", false]]  (0.1ms) 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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 5], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["slug", "winterfell-news-1"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback 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" = ? LIMIT ? [["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", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-2"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 5], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["slug", "winterfell-news-2"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC]]  (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", 5], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 7], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC]]  (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", 7]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 1"], ["sort_order", 1], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-3"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 5], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["slug", "winterfell-news-3"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["plural", false]]  (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 ? [["slug", "winterfell-news-4"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 8], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["slug", "winterfell-news-4"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 6], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 8]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 2"], ["sort_order", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 2"], ["sort_order", 2], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-5"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 5], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["slug", "winterfell-news-5"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 2"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 2"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 2], ["layout_id", 1], ["label", "King's Landing news 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = 'Winterfell news 2' [["version_id", 6]] 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", 5]]  (0.1ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]] Pulitzer::PartialType Load (0.1ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."post_type_id" = ? [["free_form_section_id", 5], ["post_type_id", 6]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 5], ["name", "Winterfell news 3"], ["sort_order", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_layouts" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 7], ["name", "Photo bg text large 3"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "layout_id", "post_type_id") VALUES (?, ?, ?, ?, ?) [["free_form_section_type_id", 3], ["label", "King's Landing news 3"], ["sort_order", 3], ["layout_id", 1], ["post_type_id", 6]]  (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 ? [["slug", "winterfell-news-6"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 5], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC], ["slug", "winterfell-news-6"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-05-15 17:59:42 UTC], ["updated_at", 2017-05-15 17:59:42 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 5]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Winterfell news 3"]]  (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 ? [["post_id", 5], ["status", 0], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 6], ["name", "Winterfell news 3"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_id", "free_form_section_id", "sort_order", "layout_id", "label") VALUES (?, ?, ?, ?, ?) [["post_type_id", 6], ["free_form_section_id", 5], ["sort_order", 3], ["layout_id", 1], ["label", "King's Landing news 3"]]  (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 ? [["id", 6], ["LIMIT", 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", 6]] 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 6], ["LIMIT", 1]] Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC LIMIT ? [["free_form_section_id", 5], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."partial_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["partial_id", 1]] SQL (0.1ms) DELETE FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 5]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = 'Winterfell news 3' [["version_id", 6]] 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", 5]]  (0.1ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]] Pulitzer::PartialType Load (0.0ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? [["free_form_section_type_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."post_type_id" = ? [["free_form_section_id", 5], ["post_type_id", 6]]  (0.6ms) rollback transaction  (0.9ms) CREATE TABLE "pulitzer_arrangement_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "display_name" varchar, "view_file_name" varchar)  (0.8ms) CREATE TABLE "pulitzer_background_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "display_name" varchar, "css_class_name" varchar)  (0.8ms) 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)  (0.9ms) 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, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "partial_id" integer, "style_id" integer, "custom_option_id" integer)  (0.8ms) CREATE TABLE "pulitzer_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)  (0.7ms) CREATE TABLE "pulitzer_custom_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "custom_option_list_id" integer, "display" varchar, "value" varchar)  (1.1ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "name" varchar, "sort_order" integer)  (0.9ms) 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_justification_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "display_name" varchar, "css_class_name" varchar)  (0.9ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_version_id" integer)  (0.8ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer, "label" varchar, "background_style_id" integer, "justification_style_id" integer, "sequence_flow_style_id" integer, "arrangement_style_id" integer)  (0.9ms) 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.8ms) CREATE TABLE "pulitzer_post_type_content_element_type_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "custom_option_list_id" integer)  (1.0ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_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, "required" boolean DEFAULT 'f', "sort_order" integer, "clickable_kind" varchar DEFAULT 'any' NOT NULL)  (1.3ms) CREATE TABLE "pulitzer_post_type_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "version_number" integer DEFAULT 1 NOT NULL, "status" varchar DEFAULT 'preview' NOT NULL)  (0.2ms) select sqlite_version(*)  (1.4ms) CREATE INDEX "index_pulitzer_post_type_versions_on_post_type_id" ON "pulitzer_post_type_versions" ("post_type_id")  (1.3ms) 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.9ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar, "post_type_version_id" integer)  (0.9ms) CREATE INDEX "index_pulitzer_posts_on_post_type_version_id" ON "pulitzer_posts" ("post_type_version_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index'   (0.8ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")  (0.9ms) CREATE TABLE "pulitzer_sequence_flow_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "display_name" varchar, "css_class_name" varchar)  (0.8ms) CREATE TABLE "pulitzer_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "display_name" varchar, "css_class_name" varchar)  (1.1ms) 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.9ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")  (0.8ms) 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, "cloning_errors" text)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20170602204900')  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20150618224344'), ('20150618225402'), ('20150619204615'), ('20150619204708'), ('20150619213436'), ('20150619213457'), ('20150619215914'), ('20150629195832'), ('20150702150819'), ('20150724150230'), ('20150902212741'), ('20151026180630'), ('20151029194354'), ('20151029220558'), ('20151113183344'), ('20151116162508'), ('20151118031237'), ('20160122204201'), ('20160511192041'), ('20160511201527'), ('20160512214545'), ('20160513153209'), ('20160513153214'), ('20160516150237'), ('20160517181706'), ('20160517182500'), ('20160519181030'), ('20160609214139'), ('20160927160910'), ('20170502210827'), ('20170508145431'), ('20170515230633'), ('20170515232938'), ('20170518142411'), ('20170518144418'), ('20170518144449'), ('20170518144515'), ('20170518145318'), ('20170526212313'), ('20170526212330'), ('20170530145657'), ('20170530164044'), ('20170531164349'), ('20170601195822');   (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-07-04 01:41:04 UTC], ["updated_at", 2017-07-04 01:41:04 UTC]]  (0.8ms) commit transaction ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) TRUNCATE TABLE pulitzer_arrangement_styles;  (3.8ms) delete from pulitzer_arrangement_styles;  (0.1ms) TRUNCATE TABLE pulitzer_background_styles;  (0.8ms) delete from pulitzer_background_styles;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.7ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (0.6ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_custom_option_lists;  (0.6ms) delete from pulitzer_custom_option_lists;  (0.1ms) TRUNCATE TABLE pulitzer_custom_options;  (0.7ms) delete from pulitzer_custom_options;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.7ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.9ms) delete from pulitzer_free_form_sections;  (0.2ms) TRUNCATE TABLE pulitzer_justification_styles;  (0.9ms) delete from pulitzer_justification_styles;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.7ms) delete from pulitzer_partial_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.9ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.7ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_type_custom_option_lists;  (0.7ms) delete from pulitzer_post_type_content_element_type_custom_option_lists;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.9ms) delete from pulitzer_post_type_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_post_type_versions;  (0.8ms) delete from pulitzer_post_type_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.7ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.8ms) delete from pulitzer_posts;  (0.2ms) TRUNCATE TABLE pulitzer_sequence_flow_styles;  (0.7ms) delete from pulitzer_sequence_flow_styles;  (0.1ms) TRUNCATE TABLE pulitzer_styles;  (0.6ms) delete from pulitzer_styles;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.7ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (0.7ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE schema_migrations;  (0.8ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.7ms) delete from ar_internal_metadata;  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["plural", true]]  (3.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 1], ["status", "published"]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Clickable"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_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"."post_type_version_id" = ? [["post_type_version_id", 1]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 1], ["content_element_type_id", 1], ["label", "Hero Title 1"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["sort_order", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 1], ["content_element_type_id", 1], ["label", "Hero Title 2"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["sort_order", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 1], ["content_element_type_id", 1], ["label", "Hero Title 3"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["sort_order", 3]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 1], ["content_element_type_id", 1], ["label", "Guest Title"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["sort_order", 4]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 1], ["content_element_type_id", 1], ["label", "Guest Text"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["sort_order", 5]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 1], ["content_element_type_id", 1], ["label", "Footer Title"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["sort_order", 6]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 1], ["content_element_type_id", 1], ["label", "Footer Text"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["sort_order", 7]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 1], ["content_element_type_id", 1], ["label", "Metadata title"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["sort_order", 8]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 1], ["content_element_type_id", 1], ["label", "Metadata description"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["sort_order", 9]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 1], ["content_element_type_id", 1], ["label", "Metadata keywords"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["sort_order", 10]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 1], ["content_element_type_id", 4], ["label", "Call to Action Button"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["sort_order", 11]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 1], ["name", "Main Content"], ["sort_order", 12]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 1], ["name", "Handpicked Homes"], ["sort_order", 13]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["slug", "welcome"], ["post_type_version_id", 1]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (1.0ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["content_element_type_id", 1], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["content_element_type_id", 1], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["content_element_type_id", 1], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["content_element_type_id", 1], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["content_element_type_id", 1], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["content_element_type_id", 1], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["content_element_type_id", 1], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["content_element_type_id", 1], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["content_element_type_id", 1], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["content_element_type_id", 1], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["version_id", 1], ["post_type_content_element_type_id", 11], ["content_element_type_id", 4], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (1.0ms) commit transaction 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 2], ["status", "published"]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["slug", "complete-guide-to-breckenridge"], ["post_type_version_id", 2]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 3], ["status", "published"]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["slug", "ski-jump-competition"], ["post_type_version_id", 3]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 4], ["status", "published"]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC], ["slug", "why-visit-breckenridge"], ["post_type_version_id", 4]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.9ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-07-04 01:41:15 UTC], ["id", 1]]  (0.9ms) commit transaction 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", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-07-04 01:41:15 UTC], ["updated_at", 2017-07-04 01:41:15 UTC]]  (0.8ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [e02d5ce3-a021-42dc-87eb-465d391f1bdc] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [e02d5ce3-a021-42dc-87eb-465d391f1bdc] Performed Pulitzer::CloneVersionJob from Inline(default) in 28.63ms  (0.1ms) TRUNCATE TABLE pulitzer_arrangement_styles;  (3.9ms) delete from pulitzer_arrangement_styles;  (0.1ms) TRUNCATE TABLE pulitzer_background_styles;  (0.8ms) delete from pulitzer_background_styles;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.6ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (0.6ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_custom_option_lists;  (0.6ms) delete from pulitzer_custom_option_lists;  (0.1ms) TRUNCATE TABLE pulitzer_custom_options;  (0.8ms) delete from pulitzer_custom_options;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.9ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (1.0ms) delete from pulitzer_free_form_sections;  (0.2ms) TRUNCATE TABLE pulitzer_justification_styles;  (0.8ms) delete from pulitzer_justification_styles;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.6ms) delete from pulitzer_partial_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.5ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.5ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_type_custom_option_lists;  (0.5ms) delete from pulitzer_post_type_content_element_type_custom_option_lists;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.8ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_versions;  (0.7ms) delete from pulitzer_post_type_versions;  (0.2ms) TRUNCATE TABLE pulitzer_post_types;  (1.4ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.8ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_sequence_flow_styles;  (0.6ms) delete from pulitzer_sequence_flow_styles;  (0.1ms) TRUNCATE TABLE pulitzer_styles;  (0.6ms) delete from pulitzer_styles;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.8ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (0.7ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE schema_migrations;  (0.6ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.7ms) delete from ar_internal_metadata;  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-07-04 01:42:24 UTC], ["updated_at", 2017-07-04 01:42:24 UTC], ["plural", true]]  (3.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 5], ["status", "published"]]  (0.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-07-04 01:42:24 UTC], ["updated_at", 2017-07-04 01:42:24 UTC]]  (0.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-07-04 01:42:24 UTC], ["updated_at", 2017-07-04 01:42:24 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-07-04 01:42:24 UTC], ["updated_at", 2017-07-04 01:42:24 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Clickable"], ["created_at", 2017-07-04 01:42:24 UTC], ["updated_at", 2017-07-04 01:42:24 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 5]] 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_version_id" = ? [["post_type_version_id", 5]] SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 5], ["content_element_type_id", 5], ["label", "Hero Title 1"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["sort_order", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 5], ["content_element_type_id", 5], ["label", "Hero Title 2"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["sort_order", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 5], ["content_element_type_id", 5], ["label", "Hero Title 3"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["sort_order", 3]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 5], ["content_element_type_id", 5], ["label", "Guest Title"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["sort_order", 4]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 5], ["content_element_type_id", 5], ["label", "Guest Text"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["sort_order", 5]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 5], ["content_element_type_id", 5], ["label", "Footer Title"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["sort_order", 6]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 5], ["content_element_type_id", 5], ["label", "Footer Text"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["sort_order", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 5], ["content_element_type_id", 5], ["label", "Metadata title"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["sort_order", 8]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 5], ["content_element_type_id", 5], ["label", "Metadata description"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["sort_order", 9]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 5], ["content_element_type_id", 5], ["label", "Metadata keywords"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["sort_order", 10]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 5], ["content_element_type_id", 8], ["label", "Call to Action Button"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["sort_order", 11]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 5], ["name", "Main Content"], ["sort_order", 12]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 5], ["name", "Handpicked Homes"], ["sort_order", 13]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["slug", "welcome"], ["post_type_version_id", 5]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC]]  (2.4ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 6], ["post_type_content_element_type_id", 12], ["content_element_type_id", 5], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC]]  (1.0ms) commit transaction 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 6], ["post_type_content_element_type_id", 13], ["content_element_type_id", 5], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 6], ["post_type_content_element_type_id", 14], ["content_element_type_id", 5], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 6], ["post_type_content_element_type_id", 15], ["content_element_type_id", 5], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 6], ["post_type_content_element_type_id", 16], ["content_element_type_id", 5], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 6], ["post_type_content_element_type_id", 17], ["content_element_type_id", 5], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 6], ["post_type_content_element_type_id", 18], ["content_element_type_id", 5], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 6], ["post_type_content_element_type_id", 19], ["content_element_type_id", 5], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 6], ["post_type_content_element_type_id", 20], ["content_element_type_id", 5], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 6], ["post_type_content_element_type_id", 21], ["content_element_type_id", 5], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["version_id", 6], ["post_type_content_element_type_id", 22], ["content_element_type_id", 8], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 3], ["name", "Main Content"]]  (0.7ms) commit transaction 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 6], ["free_form_section_type_id", 4], ["name", "Handpicked Homes"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 6], ["status", "published"]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["slug", "complete-guide-to-breckenridge"], ["post_type_version_id", 6]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 6], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 7], ["status", "published"]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["slug", "ski-jump-competition"], ["post_type_version_id", 7]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 7], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 8], ["status", "published"]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC], ["slug", "why-visit-breckenridge"], ["post_type_version_id", 8]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 8], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC]]  (0.8ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 5], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 5], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-07-04 01:42:25 UTC], ["id", 6]]  (0.8ms) commit transaction 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", 6], ["label_type", "Pulitzer::Tag"]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 5], ["created_at", 2017-07-04 01:42:25 UTC], ["updated_at", 2017-07-04 01:42:25 UTC]]  (0.9ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4d0daaf8-6d09-44d0-805a-db821115e66a] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [4d0daaf8-6d09-44d0-805a-db821115e66a] Performed Pulitzer::CloneVersionJob from Inline(default) in 66864.61ms  (0.2ms) TRUNCATE TABLE pulitzer_arrangement_styles;  (4.1ms) delete from pulitzer_arrangement_styles;  (0.2ms) TRUNCATE TABLE pulitzer_background_styles;  (0.9ms) delete from pulitzer_background_styles;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.8ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (0.8ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_custom_option_lists;  (0.8ms) delete from pulitzer_custom_option_lists;  (0.1ms) TRUNCATE TABLE pulitzer_custom_options;  (0.8ms) delete from pulitzer_custom_options;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.7ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.8ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_justification_styles;  (0.7ms) delete from pulitzer_justification_styles;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.7ms) delete from pulitzer_partial_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.7ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.8ms) delete from pulitzer_post_tags;  (0.2ms) TRUNCATE TABLE pulitzer_post_type_content_element_type_custom_option_lists;  (0.7ms) delete from pulitzer_post_type_content_element_type_custom_option_lists;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.7ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_versions;  (0.6ms) delete from pulitzer_post_type_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.6ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (1.1ms) delete from pulitzer_posts;  (0.2ms) TRUNCATE TABLE pulitzer_sequence_flow_styles;  (0.8ms) delete from pulitzer_sequence_flow_styles;  (0.2ms) TRUNCATE TABLE pulitzer_styles;  (0.6ms) delete from pulitzer_styles;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.7ms) delete from pulitzer_tags;  (0.2ms) TRUNCATE TABLE pulitzer_versions;  (0.7ms) delete from pulitzer_versions;  (0.2ms) TRUNCATE TABLE schema_migrations;  (0.8ms) delete from schema_migrations;  (0.2ms) TRUNCATE TABLE ar_internal_metadata;  (0.9ms) delete from ar_internal_metadata;  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-07-04 01:45:41 UTC], ["updated_at", 2017-07-04 01:45:41 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 9], ["status", "published"]]  (1.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-07-04 01:45:41 UTC], ["updated_at", 2017-07-04 01:45:41 UTC]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-07-04 01:45:41 UTC], ["updated_at", 2017-07-04 01:45:41 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-07-04 01:45:41 UTC], ["updated_at", 2017-07-04 01:45:41 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Clickable"], ["created_at", 2017-07-04 01:45:41 UTC], ["updated_at", 2017-07-04 01:45:41 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 9]] 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_version_id" = ? [["post_type_version_id", 9]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 9], ["content_element_type_id", 9], ["label", "Hero Title 1"], ["created_at", 2017-07-04 01:45:41 UTC], ["updated_at", 2017-07-04 01:45:41 UTC], ["sort_order", 1]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 9], ["content_element_type_id", 9], ["label", "Hero Title 2"], ["created_at", 2017-07-04 01:45:41 UTC], ["updated_at", 2017-07-04 01:45:41 UTC], ["sort_order", 2]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 9], ["content_element_type_id", 9], ["label", "Hero Title 3"], ["created_at", 2017-07-04 01:45:41 UTC], ["updated_at", 2017-07-04 01:45:41 UTC], ["sort_order", 3]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 9], ["content_element_type_id", 9], ["label", "Guest Title"], ["created_at", 2017-07-04 01:45:41 UTC], ["updated_at", 2017-07-04 01:45:41 UTC], ["sort_order", 4]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 9], ["content_element_type_id", 9], ["label", "Guest Text"], ["created_at", 2017-07-04 01:45:41 UTC], ["updated_at", 2017-07-04 01:45:41 UTC], ["sort_order", 5]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 9], ["content_element_type_id", 9], ["label", "Footer Title"], ["created_at", 2017-07-04 01:45:41 UTC], ["updated_at", 2017-07-04 01:45:41 UTC], ["sort_order", 6]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 9], ["content_element_type_id", 9], ["label", "Footer Text"], ["created_at", 2017-07-04 01:45:41 UTC], ["updated_at", 2017-07-04 01:45:41 UTC], ["sort_order", 7]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 9], ["content_element_type_id", 9], ["label", "Metadata title"], ["created_at", 2017-07-04 01:45:41 UTC], ["updated_at", 2017-07-04 01:45:41 UTC], ["sort_order", 8]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 9], ["content_element_type_id", 9], ["label", "Metadata description"], ["created_at", 2017-07-04 01:45:41 UTC], ["updated_at", 2017-07-04 01:45:41 UTC], ["sort_order", 9]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 9], ["content_element_type_id", 9], ["label", "Metadata keywords"], ["created_at", 2017-07-04 01:45:41 UTC], ["updated_at", 2017-07-04 01:45:41 UTC], ["sort_order", 10]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 9], ["content_element_type_id", 12], ["label", "Call to Action Button"], ["created_at", 2017-07-04 01:45:41 UTC], ["updated_at", 2017-07-04 01:45:41 UTC], ["sort_order", 11]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 9], ["name", "Main Content"], ["sort_order", 12]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 9], ["name", "Handpicked Homes"], ["sort_order", 13]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC], ["slug", "welcome"], ["post_type_version_id", 9]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 9], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC]]  (1.1ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 9], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 11], ["post_type_content_element_type_id", 23], ["content_element_type_id", 9], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 9], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 11], ["post_type_content_element_type_id", 24], ["content_element_type_id", 9], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 9], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 11], ["post_type_content_element_type_id", 25], ["content_element_type_id", 9], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 9], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 11], ["post_type_content_element_type_id", 26], ["content_element_type_id", 9], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 9], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 11], ["post_type_content_element_type_id", 27], ["content_element_type_id", 9], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 9], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 11], ["post_type_content_element_type_id", 28], ["content_element_type_id", 9], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 9], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 11], ["post_type_content_element_type_id", 29], ["content_element_type_id", 9], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 9], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 11], ["post_type_content_element_type_id", 30], ["content_element_type_id", 9], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 9], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 11], ["post_type_content_element_type_id", 31], ["content_element_type_id", 9], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 9], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 11], ["post_type_content_element_type_id", 32], ["content_element_type_id", 9], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 9], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["version_id", 11], ["post_type_content_element_type_id", 33], ["content_element_type_id", 12], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 9], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 11], ["free_form_section_type_id", 5], ["name", "Main Content"]]  (0.7ms) commit transaction 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 ? [["post_id", 9], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 11], ["free_form_section_type_id", 6], ["name", "Handpicked Homes"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 10], ["status", "published"]]  (0.8ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC], ["slug", "complete-guide-to-breckenridge"], ["post_type_version_id", 10]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 10], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC], ["plural", true]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 11], ["status", "published"]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC], ["slug", "ski-jump-competition"], ["post_type_version_id", 11]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 11], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 12], ["status", "published"]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC], ["slug", "why-visit-breckenridge"], ["post_type_version_id", 12]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 12], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC]]  (0.9ms) commit transaction Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 9], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 9], ["status", 1], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-07-04 01:45:42 UTC], ["id", 11]]  (0.7ms) commit transaction 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", 11], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 9], ["created_at", 2017-07-04 01:45:42 UTC], ["updated_at", 2017-07-04 01:45:42 UTC]]  (0.8ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [b404bf30-e49d-4ed1-8efb-07e7de897f39] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [b404bf30-e49d-4ed1-8efb-07e7de897f39] Performed Pulitzer::CloneVersionJob from Inline(default) in 5263.98ms  (0.1ms) TRUNCATE TABLE pulitzer_arrangement_styles;  (4.0ms) delete from pulitzer_arrangement_styles;  (0.1ms) TRUNCATE TABLE pulitzer_background_styles;  (0.8ms) delete from pulitzer_background_styles;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.7ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (0.7ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_custom_option_lists;  (0.7ms) delete from pulitzer_custom_option_lists;  (0.1ms) TRUNCATE TABLE pulitzer_custom_options;  (0.7ms) delete from pulitzer_custom_options;  (0.5ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.9ms) delete from pulitzer_free_form_section_types;  (0.2ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.9ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_justification_styles;  (0.7ms) delete from pulitzer_justification_styles;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.7ms) delete from pulitzer_partial_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.6ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.8ms) delete from pulitzer_post_tags;  (0.2ms) TRUNCATE TABLE pulitzer_post_type_content_element_type_custom_option_lists;  (0.8ms) delete from pulitzer_post_type_content_element_type_custom_option_lists;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.6ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_versions;  (0.6ms) delete from pulitzer_post_type_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.6ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.9ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_sequence_flow_styles;  (0.7ms) delete from pulitzer_sequence_flow_styles;  (0.1ms) TRUNCATE TABLE pulitzer_styles;  (0.6ms) delete from pulitzer_styles;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (1.2ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (0.9ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE schema_migrations;  (0.8ms) delete from schema_migrations;  (0.2ms) TRUNCATE TABLE ar_internal_metadata;  (0.8ms) delete from ar_internal_metadata;  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-07-04 01:47:21 UTC], ["updated_at", 2017-07-04 01:47:21 UTC], ["plural", true]]  (0.8ms) commit transaction Pulitzer::PostTypeVersion Load (0.2ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? [["post_type_id", 13]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 13], ["status", "published"]]  (2.3ms) commit transaction  (1.1ms) begin transaction SQL (1.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 13], ["status", "published"]]  (3.5ms) commit transaction  (0.9ms) begin transaction Pulitzer::ContentElementType Exists (1.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (1.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-07-04 01:47:43 UTC], ["updated_at", 2017-07-04 01:47:43 UTC]]  (3.7ms) commit transaction  (1.7ms) begin transaction Pulitzer::ContentElementType Exists (1.5ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-07-04 01:47:44 UTC], ["updated_at", 2017-07-04 01:47:44 UTC]]  (2.8ms) commit transaction  (1.0ms) begin transaction Pulitzer::ContentElementType Exists (1.4ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-07-04 01:47:44 UTC], ["updated_at", 2017-07-04 01:47:44 UTC]]  (3.0ms) commit transaction  (0.7ms) begin transaction Pulitzer::ContentElementType Exists (0.8ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]] SQL (1.9ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Clickable"], ["created_at", 2017-07-04 01:47:45 UTC], ["updated_at", 2017-07-04 01:47:45 UTC]]  (2.9ms) commit transaction  (0.6ms) begin transaction Pulitzer::PostTypeContentElementType Load (1.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 14]] Pulitzer::FreeFormSectionType Load (1.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_version_id" = ? [["post_type_version_id", 14]] SQL (2.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 14], ["content_element_type_id", 13], ["label", "Hero Title 1"], ["created_at", 2017-07-04 01:47:51 UTC], ["updated_at", 2017-07-04 01:47:51 UTC], ["sort_order", 1]]  (4.1ms) commit transaction  (0.8ms) begin transaction SQL (1.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 14], ["content_element_type_id", 13], ["label", "Hero Title 2"], ["created_at", 2017-07-04 01:47:52 UTC], ["updated_at", 2017-07-04 01:47:52 UTC], ["sort_order", 2]]  (4.6ms) commit transaction  (0.8ms) begin transaction SQL (1.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 14], ["content_element_type_id", 13], ["label", "Hero Title 3"], ["created_at", 2017-07-04 01:47:53 UTC], ["updated_at", 2017-07-04 01:47:53 UTC], ["sort_order", 3]]  (4.5ms) commit transaction  (0.8ms) begin transaction SQL (1.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 14], ["content_element_type_id", 13], ["label", "Guest Title"], ["created_at", 2017-07-04 01:47:54 UTC], ["updated_at", 2017-07-04 01:47:54 UTC], ["sort_order", 4]]  (2.1ms) commit transaction  (0.8ms) begin transaction SQL (1.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 14], ["content_element_type_id", 13], ["label", "Guest Text"], ["created_at", 2017-07-04 01:47:55 UTC], ["updated_at", 2017-07-04 01:47:55 UTC], ["sort_order", 5]]  (4.1ms) commit transaction  (1.0ms) begin transaction SQL (2.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 14], ["content_element_type_id", 13], ["label", "Footer Title"], ["created_at", 2017-07-04 01:47:55 UTC], ["updated_at", 2017-07-04 01:47:55 UTC], ["sort_order", 6]]  (4.5ms) commit transaction  (0.8ms) begin transaction SQL (1.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 14], ["content_element_type_id", 13], ["label", "Footer Text"], ["created_at", 2017-07-04 01:47:56 UTC], ["updated_at", 2017-07-04 01:47:56 UTC], ["sort_order", 7]]  (3.8ms) commit transaction  (0.8ms) begin transaction SQL (1.7ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 14], ["content_element_type_id", 13], ["label", "Metadata title"], ["created_at", 2017-07-04 01:47:57 UTC], ["updated_at", 2017-07-04 01:47:57 UTC], ["sort_order", 8]]  (4.3ms) commit transaction  (0.8ms) begin transaction SQL (1.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 14], ["content_element_type_id", 13], ["label", "Metadata description"], ["created_at", 2017-07-04 01:47:58 UTC], ["updated_at", 2017-07-04 01:47:58 UTC], ["sort_order", 9]]  (4.3ms) commit transaction  (1.0ms) begin transaction SQL (1.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 14], ["content_element_type_id", 13], ["label", "Metadata keywords"], ["created_at", 2017-07-04 01:47:58 UTC], ["updated_at", 2017-07-04 01:47:58 UTC], ["sort_order", 10]]  (4.2ms) commit transaction  (0.8ms) begin transaction SQL (1.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 14], ["content_element_type_id", 16], ["label", "Call to Action Button"], ["created_at", 2017-07-04 01:47:59 UTC], ["updated_at", 2017-07-04 01:47:59 UTC], ["sort_order", 11]]  (4.4ms) commit transaction  (1.0ms) begin transaction SQL (1.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 14], ["name", "Main Content"], ["sort_order", 12]]  (4.1ms) commit transaction  (0.8ms) begin transaction SQL (1.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 14], ["name", "Handpicked Homes"], ["sort_order", 13]]  (3.9ms) commit transaction  (1.0ms) begin transaction Pulitzer::Post Exists (1.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] Pulitzer::Post Exists (0.8ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["created_at", 2017-07-04 01:48:06 UTC], ["updated_at", 2017-07-04 01:48:06 UTC], ["slug", "welcome"], ["post_type_version_id", 14]] SQL (1.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 13], ["created_at", 2017-07-04 01:48:06 UTC], ["updated_at", 2017-07-04 01:48:06 UTC]]  (4.3ms) commit transaction Pulitzer::Version Load (1.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 13], ["status", 0], ["LIMIT", 1]]  (0.7ms) begin transaction Pulitzer::ContentElementType Load (1.7ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 16], ["post_type_content_element_type_id", 34], ["content_element_type_id", 13], ["created_at", 2017-07-04 01:48:10 UTC], ["updated_at", 2017-07-04 01:48:10 UTC]]  (3.0ms) commit transaction Pulitzer::Version Load (0.8ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 13], ["status", 0], ["LIMIT", 1]]  (1.2ms) begin transaction Pulitzer::ContentElementType Load (1.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 16], ["post_type_content_element_type_id", 35], ["content_element_type_id", 13], ["created_at", 2017-07-04 01:48:10 UTC], ["updated_at", 2017-07-04 01:48:10 UTC]]  (2.7ms) commit transaction Pulitzer::Version Load (1.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 13], ["status", 0], ["LIMIT", 1]]  (1.1ms) begin transaction Pulitzer::ContentElementType Load (0.8ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 16], ["post_type_content_element_type_id", 36], ["content_element_type_id", 13], ["created_at", 2017-07-04 01:48:10 UTC], ["updated_at", 2017-07-04 01:48:10 UTC]]  (3.3ms) commit transaction Pulitzer::Version Load (0.9ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 13], ["status", 0], ["LIMIT", 1]]  (0.8ms) begin transaction Pulitzer::ContentElementType Load (0.7ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 16], ["post_type_content_element_type_id", 37], ["content_element_type_id", 13], ["created_at", 2017-07-04 01:48:10 UTC], ["updated_at", 2017-07-04 01:48:10 UTC]]  (3.1ms) commit transaction Pulitzer::Version Load (0.8ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 13], ["status", 0], ["LIMIT", 1]]  (0.8ms) begin transaction Pulitzer::ContentElementType Load (1.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 16], ["post_type_content_element_type_id", 38], ["content_element_type_id", 13], ["created_at", 2017-07-04 01:48:10 UTC], ["updated_at", 2017-07-04 01:48:10 UTC]]  (2.8ms) commit transaction Pulitzer::Version Load (1.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 13], ["status", 0], ["LIMIT", 1]]  (1.0ms) begin transaction Pulitzer::ContentElementType Load (0.8ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 16], ["post_type_content_element_type_id", 39], ["content_element_type_id", 13], ["created_at", 2017-07-04 01:48:10 UTC], ["updated_at", 2017-07-04 01:48:10 UTC]]  (3.3ms) commit transaction Pulitzer::Version Load (1.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 13], ["status", 0], ["LIMIT", 1]]  (0.8ms) begin transaction Pulitzer::ContentElementType Load (0.7ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 16], ["post_type_content_element_type_id", 40], ["content_element_type_id", 13], ["created_at", 2017-07-04 01:48:11 UTC], ["updated_at", 2017-07-04 01:48:11 UTC]]  (3.2ms) commit transaction Pulitzer::Version Load (1.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 13], ["status", 0], ["LIMIT", 1]]  (0.9ms) begin transaction Pulitzer::ContentElementType Load (0.7ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 16], ["post_type_content_element_type_id", 41], ["content_element_type_id", 13], ["created_at", 2017-07-04 01:48:11 UTC], ["updated_at", 2017-07-04 01:48:11 UTC]]  (3.1ms) commit transaction Pulitzer::Version Load (0.8ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 13], ["status", 0], ["LIMIT", 1]]  (0.7ms) begin transaction Pulitzer::ContentElementType Load (0.8ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 16], ["post_type_content_element_type_id", 42], ["content_element_type_id", 13], ["created_at", 2017-07-04 01:48:11 UTC], ["updated_at", 2017-07-04 01:48:11 UTC]]  (3.6ms) commit transaction Pulitzer::Version Load (0.9ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 13], ["status", 0], ["LIMIT", 1]]  (1.0ms) begin transaction Pulitzer::ContentElementType Load (0.8ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 16], ["post_type_content_element_type_id", 43], ["content_element_type_id", 13], ["created_at", 2017-07-04 01:48:11 UTC], ["updated_at", 2017-07-04 01:48:11 UTC]]  (3.1ms) commit transaction Pulitzer::Version Load (0.8ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 13], ["status", 0], ["LIMIT", 1]]  (0.8ms) begin transaction Pulitzer::ContentElementType Load (0.8ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 16], ["LIMIT", 1]] SQL (1.6ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["version_id", 16], ["post_type_content_element_type_id", 44], ["content_element_type_id", 16], ["created_at", 2017-07-04 01:48:11 UTC], ["updated_at", 2017-07-04 01:48:11 UTC]]  (3.3ms) commit transaction Pulitzer::Version Load (0.8ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 13], ["status", 0], ["LIMIT", 1]]  (1.3ms) begin transaction SQL (1.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 16], ["free_form_section_type_id", 7], ["name", "Main Content"]]  (3.1ms) commit transaction Pulitzer::Version Load (0.8ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 13], ["status", 0], ["LIMIT", 1]]  (0.8ms) begin transaction SQL (1.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 16], ["free_form_section_type_id", 8], ["name", "Handpicked Homes"]]  (3.4ms) commit transaction  (0.8ms) begin transaction SQL (1.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-07-04 01:48:14 UTC], ["updated_at", 2017-07-04 01:48:14 UTC], ["plural", true]]  (4.7ms) commit transaction  (0.7ms) begin transaction SQL (1.6ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 14], ["status", "published"]]  (4.5ms) commit transaction  (0.8ms) begin transaction Pulitzer::Post Exists (0.9ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] Pulitzer::Post Exists (0.9ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["created_at", 2017-07-04 01:48:16 UTC], ["updated_at", 2017-07-04 01:48:16 UTC], ["slug", "complete-guide-to-breckenridge"], ["post_type_version_id", 15]] SQL (1.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 14], ["created_at", 2017-07-04 01:48:16 UTC], ["updated_at", 2017-07-04 01:48:16 UTC]]  (4.7ms) commit transaction  (0.8ms) begin transaction SQL (1.9ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-07-04 01:48:17 UTC], ["updated_at", 2017-07-04 01:48:17 UTC], ["plural", true]]  (4.2ms) commit transaction  (0.6ms) begin transaction SQL (1.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 15], ["status", "published"]]  (4.4ms) commit transaction  (0.7ms) begin transaction Pulitzer::Post Exists (1.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] Pulitzer::Post Exists (0.7ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["created_at", 2017-07-04 01:48:18 UTC], ["updated_at", 2017-07-04 01:48:18 UTC], ["slug", "ski-jump-competition"], ["post_type_version_id", 16]] SQL (1.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 15], ["created_at", 2017-07-04 01:48:18 UTC], ["updated_at", 2017-07-04 01:48:18 UTC]]  (4.4ms) commit transaction  (1.3ms) begin transaction SQL (1.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-07-04 01:48:19 UTC], ["updated_at", 2017-07-04 01:48:19 UTC], ["plural", true]]  (4.3ms) commit transaction  (1.0ms) begin transaction SQL (1.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 16], ["status", "published"]]  (4.2ms) commit transaction  (0.7ms) begin transaction Pulitzer::Post Exists (1.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] Pulitzer::Post Exists (0.7ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["created_at", 2017-07-04 01:48:21 UTC], ["updated_at", 2017-07-04 01:48:21 UTC], ["slug", "why-visit-breckenridge"], ["post_type_version_id", 17]] SQL (1.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 16], ["created_at", 2017-07-04 01:48:21 UTC], ["updated_at", 2017-07-04 01:48:21 UTC]]  (4.6ms) commit transaction Pulitzer::Post Load (1.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 1]] Pulitzer::Version Load (0.8ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 13], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (1.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 13], ["status", 1], ["LIMIT", 1]]  (0.7ms) begin transaction SQL (1.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-07-04 01:48:24 UTC], ["id", 16]]  (1.5ms) commit transaction Pulitzer::Tag Load (1.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", 16], ["label_type", "Pulitzer::Tag"]]  (0.8ms) begin transaction SQL (1.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 13], ["created_at", 2017-07-04 01:48:24 UTC], ["updated_at", 2017-07-04 01:48:24 UTC]]  (4.7ms) commit transaction [ActiveJob] Pulitzer::Version Load (1.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 16], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6aaceea5-4292-4b17-b4c5-0368d4e7d204] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [6aaceea5-4292-4b17-b4c5-0368d4e7d204] Performed Pulitzer::CloneVersionJob from Inline(default) in 5817.91ms  (0.1ms) TRUNCATE TABLE pulitzer_arrangement_styles;  (4.1ms) delete from pulitzer_arrangement_styles;  (0.1ms) TRUNCATE TABLE pulitzer_background_styles;  (0.9ms) delete from pulitzer_background_styles;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.9ms) delete from pulitzer_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_content_elements;  (0.7ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_custom_option_lists;  (0.7ms) delete from pulitzer_custom_option_lists;  (0.1ms) TRUNCATE TABLE pulitzer_custom_options;  (0.7ms) delete from pulitzer_custom_options;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.8ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.7ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_justification_styles;  (0.7ms) delete from pulitzer_justification_styles;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.6ms) delete from pulitzer_partial_types;  (0.1ms) TRUNCATE TABLE pulitzer_partials;  (0.6ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.7ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_type_custom_option_lists;  (0.6ms) delete from pulitzer_post_type_content_element_type_custom_option_lists;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.5ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_versions;  (0.6ms) delete from pulitzer_post_type_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.6ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.7ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_sequence_flow_styles;  (0.6ms) delete from pulitzer_sequence_flow_styles;  (0.2ms) TRUNCATE TABLE pulitzer_styles;  (0.6ms) delete from pulitzer_styles;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.8ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (0.6ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE schema_migrations;  (0.6ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.7ms) delete from ar_internal_metadata;  (0.2ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 17], ["status", "published"]]  (0.9ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Clickable"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 18]] 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_version_id" = ? [["post_type_version_id", 18]] SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 18], ["content_element_type_id", 17], ["label", "Hero Title 1"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["sort_order", 1]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 18], ["content_element_type_id", 17], ["label", "Hero Title 2"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["sort_order", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 18], ["content_element_type_id", 17], ["label", "Hero Title 3"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["sort_order", 3]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 18], ["content_element_type_id", 17], ["label", "Guest Title"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["sort_order", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 18], ["content_element_type_id", 17], ["label", "Guest Text"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["sort_order", 5]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 18], ["content_element_type_id", 17], ["label", "Footer Title"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["sort_order", 6]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 18], ["content_element_type_id", 17], ["label", "Footer Text"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["sort_order", 7]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 18], ["content_element_type_id", 17], ["label", "Metadata title"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["sort_order", 8]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 18], ["content_element_type_id", 17], ["label", "Metadata description"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["sort_order", 9]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 18], ["content_element_type_id", 17], ["label", "Metadata keywords"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["sort_order", 10]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 18], ["content_element_type_id", 20], ["label", "Call to Action Button"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["sort_order", 11]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 18], ["name", "Main Content"], ["sort_order", 12]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 18], ["name", "Handpicked Homes"], ["sort_order", 13]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["slug", "welcome"], ["post_type_version_id", 18]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 17], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (3.7ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 17], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 17], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 21], ["post_type_content_element_type_id", 45], ["content_element_type_id", 17], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 17], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 17], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 21], ["post_type_content_element_type_id", 46], ["content_element_type_id", 17], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 17], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 17], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 21], ["post_type_content_element_type_id", 47], ["content_element_type_id", 17], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 17], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 17], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 21], ["post_type_content_element_type_id", 48], ["content_element_type_id", 17], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 17], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 17], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 21], ["post_type_content_element_type_id", 49], ["content_element_type_id", 17], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (0.7ms) commit transaction 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 ? [["post_id", 17], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 17], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 21], ["post_type_content_element_type_id", 50], ["content_element_type_id", 17], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 17], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 17], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 21], ["post_type_content_element_type_id", 51], ["content_element_type_id", 17], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 17], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 17], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 21], ["post_type_content_element_type_id", 52], ["content_element_type_id", 17], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 17], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 17], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 21], ["post_type_content_element_type_id", 53], ["content_element_type_id", 17], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 17], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 17], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 21], ["post_type_content_element_type_id", 54], ["content_element_type_id", 17], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (0.6ms) commit transaction 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 ? [["post_id", 17], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 20], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["version_id", 21], ["post_type_content_element_type_id", 55], ["content_element_type_id", 20], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 17], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 21], ["free_form_section_type_id", 9], ["name", "Main Content"]]  (0.6ms) commit transaction 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 ? [["post_id", 17], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 21], ["free_form_section_type_id", 10], ["name", "Handpicked Homes"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 18], ["status", "published"]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["slug", "complete-guide-to-breckenridge"], ["post_type_version_id", 19]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 18], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 19], ["status", "published"]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["slug", "ski-jump-competition"], ["post_type_version_id", 20]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 19], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 20], ["status", "published"]]  (0.8ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC], ["slug", "why-visit-breckenridge"], ["post_type_version_id", 21]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 20], ["created_at", 2017-07-04 01:49:20 UTC], ["updated_at", 2017-07-04 01:49:20 UTC]]  (1.0ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 17], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 17], ["status", 1], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-07-04 01:50:46 UTC], ["id", 21]]  (3.3ms) commit transaction 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", 21], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 17], ["created_at", 2017-07-04 01:50:46 UTC], ["updated_at", 2017-07-04 01:50:46 UTC]]  (0.8ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [3ec633bf-097f-4958-9e1b-bb9faafb994d] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [3ec633bf-097f-4958-9e1b-bb9faafb994d] Performed Pulitzer::CloneVersionJob from Inline(default) in 91966.89ms 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 ? [["post_id", 17], ["status", 0], ["LIMIT", 1]]  (0.1ms) TRUNCATE TABLE pulitzer_arrangement_styles;  (2.3ms) delete from pulitzer_arrangement_styles;  (0.1ms) TRUNCATE TABLE pulitzer_background_styles;  (0.6ms) delete from pulitzer_background_styles;  (0.1ms) TRUNCATE TABLE pulitzer_content_element_types;  (0.6ms) delete from pulitzer_content_element_types;  (0.2ms) TRUNCATE TABLE pulitzer_content_elements;  (0.6ms) delete from pulitzer_content_elements;  (0.1ms) TRUNCATE TABLE pulitzer_custom_option_lists;  (0.6ms) delete from pulitzer_custom_option_lists;  (0.1ms) TRUNCATE TABLE pulitzer_custom_options;  (0.7ms) delete from pulitzer_custom_options;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_section_types;  (0.7ms) delete from pulitzer_free_form_section_types;  (0.1ms) TRUNCATE TABLE pulitzer_free_form_sections;  (0.6ms) delete from pulitzer_free_form_sections;  (0.1ms) TRUNCATE TABLE pulitzer_justification_styles;  (0.6ms) delete from pulitzer_justification_styles;  (0.1ms) TRUNCATE TABLE pulitzer_partial_types;  (0.6ms) delete from pulitzer_partial_types;  (0.2ms) TRUNCATE TABLE pulitzer_partials;  (0.7ms) delete from pulitzer_partials;  (0.1ms) TRUNCATE TABLE pulitzer_post_tags;  (0.6ms) delete from pulitzer_post_tags;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_type_custom_option_lists;  (0.6ms) delete from pulitzer_post_type_content_element_type_custom_option_lists;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_content_element_types;  (0.6ms) delete from pulitzer_post_type_content_element_types;  (0.1ms) TRUNCATE TABLE pulitzer_post_type_versions;  (0.5ms) delete from pulitzer_post_type_versions;  (0.1ms) TRUNCATE TABLE pulitzer_post_types;  (0.7ms) delete from pulitzer_post_types;  (0.1ms) TRUNCATE TABLE pulitzer_posts;  (0.8ms) delete from pulitzer_posts;  (0.1ms) TRUNCATE TABLE pulitzer_sequence_flow_styles;  (0.7ms) delete from pulitzer_sequence_flow_styles;  (0.1ms) TRUNCATE TABLE pulitzer_styles;  (0.6ms) delete from pulitzer_styles;  (0.1ms) TRUNCATE TABLE pulitzer_tags;  (0.6ms) delete from pulitzer_tags;  (0.1ms) TRUNCATE TABLE pulitzer_versions;  (0.7ms) delete from pulitzer_versions;  (0.1ms) TRUNCATE TABLE schema_migrations;  (0.7ms) delete from schema_migrations;  (0.1ms) TRUNCATE TABLE ar_internal_metadata;  (0.8ms) delete from ar_internal_metadata;  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 21], ["status", "published"]]  (1.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Clickable"], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC]]  (0.7ms) commit transaction  (0.1ms) begin transaction 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 22]] 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_version_id" = ? [["post_type_version_id", 22]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 22], ["content_element_type_id", 21], ["label", "Hero Title 1"], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC], ["sort_order", 1]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 22], ["content_element_type_id", 21], ["label", "Hero Title 2"], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC], ["sort_order", 2]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 22], ["content_element_type_id", 21], ["label", "Hero Title 3"], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC], ["sort_order", 3]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 22], ["content_element_type_id", 21], ["label", "Guest Title"], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC], ["sort_order", 4]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 22], ["content_element_type_id", 21], ["label", "Guest Text"], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC], ["sort_order", 5]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 22], ["content_element_type_id", 21], ["label", "Footer Title"], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC], ["sort_order", 6]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 22], ["content_element_type_id", 21], ["label", "Footer Text"], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC], ["sort_order", 7]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 22], ["content_element_type_id", 21], ["label", "Metadata title"], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC], ["sort_order", 8]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 22], ["content_element_type_id", 21], ["label", "Metadata description"], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC], ["sort_order", 9]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 22], ["content_element_type_id", 21], ["label", "Metadata keywords"], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC], ["sort_order", 10]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 22], ["content_element_type_id", 24], ["label", "Call to Action Button"], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC], ["sort_order", 11]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 22], ["name", "Main Content"], ["sort_order", 12]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 22], ["name", "Handpicked Homes"], ["sort_order", 13]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC], ["slug", "welcome"], ["post_type_version_id", 22]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC]]  (2.3ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 26], ["post_type_content_element_type_id", 56], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 26], ["post_type_content_element_type_id", 57], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 26], ["post_type_content_element_type_id", 58], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 26], ["post_type_content_element_type_id", 59], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 26], ["post_type_content_element_type_id", 60], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 26], ["post_type_content_element_type_id", 61], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC]]  (1.0ms) commit transaction 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 26], ["post_type_content_element_type_id", 62], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 26], ["post_type_content_element_type_id", 63], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 26], ["post_type_content_element_type_id", 64], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 26], ["post_type_content_element_type_id", 65], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC]]  (0.9ms) commit transaction 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["version_id", 26], ["post_type_content_element_type_id", 66], ["content_element_type_id", 24], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC]]  (0.8ms) commit transaction 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 26], ["free_form_section_type_id", 11], ["name", "Main Content"]]  (0.7ms) commit transaction 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 26], ["free_form_section_type_id", 12], ["name", "Handpicked Homes"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 22], ["status", "published"]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["slug", "complete-guide-to-breckenridge"], ["post_type_version_id", 23]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 22], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", true]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 23], ["status", "published"]]  (0.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["slug", "ski-jump-competition"], ["post_type_version_id", 24]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 23], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", true]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 24], ["status", "published"]]  (0.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["slug", "why-visit-breckenridge"], ["post_type_version_id", 25]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 24], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC]]  (0.8ms) commit transaction Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 26]]  (0.8ms) commit transaction 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", 26], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC]]  (0.9ms) commit transaction [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] 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 ? [["post_id", 21], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] 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", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 56], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 56], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 30], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 67]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 57], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 57], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:40 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 30], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 68]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 58], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 58], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 30], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 69]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 59], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 59], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 30], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 70]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 60], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 60], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 30], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 71]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.5ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 61], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 61], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 30], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 72]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.6ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 62], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 62], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 30], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 73]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 63], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 63], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 30], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 74]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 64], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 64], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 30], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 75]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 65], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 65], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.9ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 30], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 76]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 66], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["post_type_content_element_type_id", 66], ["content_element_type_id", 24], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 30], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 77]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 11], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] 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", 11]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 30], ["id", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (1.0ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.1ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 12], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] 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", 12]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.2ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 30], ["id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.8ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 26]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.0ms) begin transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3]  (0.7ms) commit transaction [ActiveJob] [Pulitzer::CloneVersionJob] [6da2ebcd-9227-4e29-94f0-2af5a816bcd3] Performed Pulitzer::CloneVersionJob from Inline(default) in 131.14ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 6da2ebcd-9227-4e29-94f0-2af5a816bcd3) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 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 [["version_id", 26]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 56]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 57]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 58]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 59]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 60]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 61]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 62]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 63]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 64]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 65]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Call to Action Button"], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 66]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_custom_option_lists" ("name") VALUES (?) [["name", "Sliders"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_custom_options" ("custom_option_list_id", "display", "value") VALUES (?, ?, ?) [["custom_option_list_id", 1], ["display", "Rental Estimate"], ["value", "contactMgmt"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "pulitzer_custom_options" ("custom_option_list_id", "display", "value") VALUES (?, ?, ?) [["custom_option_list_id", 1], ["display", "Agent Coterie"], ["value", "contactRealEstate"]]  (0.6ms) commit transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? AND "pulitzer_post_type_versions"."status" = ? LIMIT ? [["post_type_id", 21], ["status", "published"], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? AND "pulitzer_posts"."slug" = ? LIMIT ? [["post_type_version_id", 22], ["slug", "welcome"], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 26], ["name", "Main Content"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with no display"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", false], ["kind", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]]  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 11]] SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_version_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 26], ["free_form_section_id", 11], ["sort_order", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/welcome/welcome" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by PagesController#welcome as HTML Parameters: {"slug"=>"welcome"} Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? AND "pulitzer_post_type_versions"."status" = ? LIMIT ? [["post_type_id", 21], ["status", "published"], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? AND "pulitzer_posts"."slug" = ? LIMIT ? [["post_type_version_id", 22], ["slug", "welcome"], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 1]] Rendering pages/welcome.html.erb within layouts/application Rendered pages/welcome.html.erb within layouts/application (0.2ms) Completed 200 OK in 18ms (Views: 10.5ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", false], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/arrangement_styles/new?arrangement_style%5Bpost_type_version_id%5D=26" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::ArrangementStylesController#new as HTML Parameters: {"arrangement_style"=>{"post_type_version_id"=>"26"}} Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/arrangement_styles/_form_fields.html.erb (0.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/arrangement_styles/_new.html.erb (19.3ms) Completed 200 OK in 30ms (Views: 21.9ms | ActiveRecord: 0.6ms)  (0.5ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", false], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/pulitzer/arrangement_styles?arrangement_style%5Bdisplay_name%5D=Pretty+Arrangement&arrangement_style%5Bpost_type_version_id%5D=26&arrangement_style%5Bview_file_name%5D=pretty-arrangement" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::ArrangementStylesController#create as HTML Parameters: {"arrangement_style"=>{"display_name"=>"Pretty Arrangement", "post_type_version_id"=>"26", "view_file_name"=>"pretty-arrangement"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_arrangement_styles" ("post_type_version_id", "display_name", "view_file_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "Pretty Arrangement"], ["view_file_name", "pretty-arrangement"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/arrangement_styles/_show.html.erb (2.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/arrangement_styles/_show_wrapper.html.erb (5.4ms) Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.3ms) Pulitzer::ArrangementStyle Load (0.1ms) SELECT "pulitzer_arrangement_styles".* FROM "pulitzer_arrangement_styles" ORDER BY "pulitzer_arrangement_styles"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", false], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_arrangement_styles" ("post_type_version_id", "display_name", "view_file_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "White"], ["view_file_name", "white"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/arrangement_styles/1/edit" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::ArrangementStylesController#edit as HTML Parameters: {"id"=>"1"} Pulitzer::ArrangementStyle Load (0.1ms) SELECT "pulitzer_arrangement_styles".* FROM "pulitzer_arrangement_styles" WHERE "pulitzer_arrangement_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/arrangement_styles/_form_fields.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/arrangement_styles/_form.html.erb (7.5ms) Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", false], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_arrangement_styles" ("post_type_version_id", "display_name", "view_file_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "White"], ["view_file_name", "white"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/arrangement_styles/1?arrangement_style%5Bdisplay_name%5D=edited+name" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::ArrangementStylesController#update as HTML Parameters: {"arrangement_style"=>{"display_name"=>"edited name"}, "id"=>"1"} Pulitzer::ArrangementStyle Load (0.1ms) SELECT "pulitzer_arrangement_styles".* FROM "pulitzer_arrangement_styles" WHERE "pulitzer_arrangement_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_arrangement_styles" SET "display_name" = ? WHERE "pulitzer_arrangement_styles"."id" = ? [["display_name", "edited name"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/arrangement_styles/_show.html.erb (2.6ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.3ms) Pulitzer::ArrangementStyle Load (0.1ms) SELECT "pulitzer_arrangement_styles".* FROM "pulitzer_arrangement_styles" WHERE "pulitzer_arrangement_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", false], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_arrangement_styles" ("post_type_version_id", "display_name", "view_file_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "White"], ["view_file_name", "white"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/pulitzer/arrangement_styles/1" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::ArrangementStylesController#destroy as HTML Parameters: {"id"=>"1"} Pulitzer::ArrangementStyle Load (0.1ms) SELECT "pulitzer_arrangement_styles".* FROM "pulitzer_arrangement_styles" WHERE "pulitzer_arrangement_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "pulitzer_arrangement_styles" WHERE "pulitzer_arrangement_styles"."id" = ? [["id", 1]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 2ms (ActiveRecord: 0.5ms) Pulitzer::ArrangementStyle Load (0.0ms) SELECT "pulitzer_arrangement_styles".* FROM "pulitzer_arrangement_styles" WHERE "pulitzer_arrangement_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", false], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/background_styles/new?background_style%5Bpost_type_version_id%5D=26" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::BackgroundStylesController#new as HTML Parameters: {"background_style"=>{"post_type_version_id"=>"26"}} Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/background_styles/_form_fields.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/background_styles/_new.html.erb (10.8ms) Completed 200 OK in 24ms (Views: 14.5ms | ActiveRecord: 0.5ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", false], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/pulitzer/background_styles?background_style%5Bcss_class_name%5D=pretty-class&background_style%5Bdisplay_name%5D=Pretty+Class&background_style%5Bpost_type_version_id%5D=26" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::BackgroundStylesController#create as HTML Parameters: {"background_style"=>{"css_class_name"=>"pretty-class", "display_name"=>"Pretty Class", "post_type_version_id"=>"26"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_background_styles" ("post_type_version_id", "display_name", "css_class_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "Pretty Class"], ["css_class_name", "pretty-class"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/background_styles/_show.html.erb (2.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/background_styles/_show_wrapper.html.erb (4.8ms) Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.3ms) Pulitzer::BackgroundStyle Load (0.1ms) SELECT "pulitzer_background_styles".* FROM "pulitzer_background_styles" ORDER BY "pulitzer_background_styles"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", false], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_background_styles" ("post_type_version_id", "display_name", "css_class_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "White"], ["css_class_name", "white"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/background_styles/1/edit" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::BackgroundStylesController#edit as HTML Parameters: {"id"=>"1"} Pulitzer::BackgroundStyle Load (0.1ms) SELECT "pulitzer_background_styles".* FROM "pulitzer_background_styles" WHERE "pulitzer_background_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/background_styles/_form_fields.html.erb (0.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/background_styles/_form.html.erb (6.7ms) Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", false], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_background_styles" ("post_type_version_id", "display_name", "css_class_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "White"], ["css_class_name", "white"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/background_styles/1?background_style%5Bdisplay_name%5D=edited+name" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::BackgroundStylesController#update as HTML Parameters: {"background_style"=>{"display_name"=>"edited name"}, "id"=>"1"} Pulitzer::BackgroundStyle Load (0.1ms) SELECT "pulitzer_background_styles".* FROM "pulitzer_background_styles" WHERE "pulitzer_background_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_background_styles" SET "display_name" = ? WHERE "pulitzer_background_styles"."id" = ? [["display_name", "edited name"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/background_styles/_show.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.3ms) Pulitzer::BackgroundStyle Load (0.0ms) SELECT "pulitzer_background_styles".* FROM "pulitzer_background_styles" WHERE "pulitzer_background_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", false], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_background_styles" ("post_type_version_id", "display_name", "css_class_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "White"], ["css_class_name", "white"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/pulitzer/background_styles/1" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::BackgroundStylesController#destroy as HTML Parameters: {"id"=>"1"} Pulitzer::BackgroundStyle Load (0.1ms) SELECT "pulitzer_background_styles".* FROM "pulitzer_background_styles" WHERE "pulitzer_background_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "pulitzer_background_styles" WHERE "pulitzer_background_styles"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 2ms (ActiveRecord: 0.3ms) Pulitzer::BackgroundStyle Load (0.0ms) SELECT "pulitzer_background_styles".* FROM "pulitzer_background_styles" WHERE "pulitzer_background_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."content_element_type_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["content_element_type_id", 24], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "remove me"], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 66]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CustomOption Load (0.1ms) SELECT "pulitzer_custom_options".* FROM "pulitzer_custom_options" WHERE "pulitzer_custom_options"."value" = ? LIMIT ? [["value", "contactMgmt"], ["LIMIT", 1]] Pulitzer::CustomOptionList Load (0.1ms) SELECT "pulitzer_custom_option_lists".* FROM "pulitzer_custom_option_lists" WHERE "pulitzer_custom_option_lists"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Started PATCH "/pulitzer/content_elements/66?content_element%5Bclickable_kind%5D=gid%3A%2F%2Fdummy%2FPulitzer%3A%3ACustomOptionList%2F1&content_element%5Bcustom_option_id%5D=1" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::ContentElementsController#update as HTML Parameters: {"content_element"=>{"clickable_kind"=>"gid://dummy/Pulitzer::CustomOptionList/1", "custom_option_id"=>"1"}, "id"=>"66"} Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["id", 66], ["LIMIT", 1]] Pulitzer::CustomOptionList Load (0.1ms) SELECT "pulitzer_custom_option_lists".* FROM "pulitzer_custom_option_lists" WHERE "pulitzer_custom_option_lists"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "custom_option_id" = ?, "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["custom_option_id", 1], ["body", nil], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 66]]  (0.0ms) RELEASE SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 66], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] Pulitzer::CustomOption Load (0.1ms) SELECT "pulitzer_custom_options".* FROM "pulitzer_custom_options" WHERE "pulitzer_custom_options"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::CustomOptionList Load (0.0ms) SELECT "pulitzer_custom_option_lists".* FROM "pulitzer_custom_option_lists" WHERE "pulitzer_custom_option_lists"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (11.1ms) Completed 200 OK in 19ms (Views: 13.2ms | ActiveRecord: 0.8ms) Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? LIMIT ? [["id", 66], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."content_element_type_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["content_element_type_id", 24], ["LIMIT", 1]] Pulitzer::CustomOption Load (0.0ms) SELECT "pulitzer_custom_options".* FROM "pulitzer_custom_options" WHERE "pulitzer_custom_options"."value" = ? LIMIT ? [["value", "contactMgmt"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "custom_option_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["custom_option_id", 1], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 66]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/content_elements/66?content_element%5Bbody%5D=http%3A%2F%2Fgoogle.com&content_element%5Bclickable_kind%5D=url" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::ContentElementsController#update as HTML Parameters: {"content_element"=>{"body"=>"http://google.com", "clickable_kind"=>"url"}, "id"=>"66"} Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["id", 66], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "custom_option_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "http://google.com"], ["custom_option_id", nil], ["updated_at", 2017-07-04 01:52:41 UTC], ["id", 66]]  (0.1ms) RELEASE SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 66], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (5.2ms) Completed 200 OK in 12ms (Views: 7.2ms | ActiveRecord: 0.7ms) Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? LIMIT ? [["id", 66], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/free_form_section_types/new?post_type_version_id=26" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::FreeFormSectionTypesController#new as HTML Parameters: {"post_type_version_id"=>"26"} Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (7.4ms) Completed 200 OK in 14ms (Views: 11.0ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/pulitzer/free_form_section_types?free_form_section_type%5Bname%5D=test+sidebar&free_form_section_type%5Bpost_type_version_id%5D=26" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::FreeFormSectionTypesController#create as HTML Parameters: {"free_form_section_type"=>{"name"=>"test sidebar", "post_type_version_id"=>"26"}} Pulitzer::PostTypeVersion Load (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 26]] 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_version_id" = ? [["post_type_version_id", 26]] SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 26], ["name", "test sidebar"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? [["post_type_version_id", 26]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (4.1ms) Completed 200 OK in 15ms (Views: 6.6ms | 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 ? [["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 26]] 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_version_id" = ? [["post_type_version_id", 26]] SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 26], ["name", "main content"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/free_form_section_types/13/edit" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML Parameters: {"id"=>"13"} 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 ? [["id", 13], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (7.8ms) Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", true]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 26]] 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_version_id" = ? [["post_type_version_id", 26]] SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 26], ["name", "main content"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/free_form_section_types/13?free_form_section_type%5Bname%5D=edited+name" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::FreeFormSectionTypesController#update as HTML Parameters: {"free_form_section_type"=>{"name"=>"edited name"}, "id"=>"13"} Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 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", 13]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? [["post_type_version_id", 26]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (1.0ms) Completed 200 OK in 8ms (Views: 3.2ms | ActiveRecord: 0.3ms) Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 26]] 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_version_id" = ? [["post_type_version_id", 26]] SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 26], ["name", "main content"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/pulitzer/free_form_section_types/13" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::FreeFormSectionTypesController#destroy as HTML Parameters: {"id"=>"13"} 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 ? [["id", 13], ["LIMIT", 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", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? [["post_type_version_id", 26]] Completed 200 OK in 5ms (ActiveRecord: 0.4ms) Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", false], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/justification_styles/new?justification_style%5Bpost_type_version_id%5D=26" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::JustificationStylesController#new as HTML Parameters: {"justification_style"=>{"post_type_version_id"=>"26"}} Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/justification_styles/_form_fields.html.erb (0.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/justification_styles/_new.html.erb (7.1ms) Completed 200 OK in 16ms (Views: 9.6ms | ActiveRecord: 0.4ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["plural", false], ["kind", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/pulitzer/justification_styles?justification_style%5Bcss_class_name%5D=pretty-class&justification_style%5Bdisplay_name%5D=Pretty+Class&justification_style%5Bpost_type_version_id%5D=26" for 127.0.0.1 at 2017-07-03 20:52:41 -0500 Processing by Pulitzer::JustificationStylesController#create as HTML Parameters: {"justification_style"=>{"css_class_name"=>"pretty-class", "display_name"=>"Pretty Class", "post_type_version_id"=>"26"}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_justification_styles" ("post_type_version_id", "display_name", "css_class_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "Pretty Class"], ["css_class_name", "pretty-class"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/justification_styles/_show.html.erb (2.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/justification_styles/_show_wrapper.html.erb (4.9ms) Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.5ms) Pulitzer::JustificationStyle Load (0.1ms) SELECT "pulitzer_justification_styles".* FROM "pulitzer_justification_styles" ORDER BY "pulitzer_justification_styles"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", false], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_justification_styles" ("post_type_version_id", "display_name", "css_class_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "White"], ["css_class_name", "white"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/justification_styles/1/edit" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::JustificationStylesController#edit as HTML Parameters: {"id"=>"1"} Pulitzer::JustificationStyle Load (0.1ms) SELECT "pulitzer_justification_styles".* FROM "pulitzer_justification_styles" WHERE "pulitzer_justification_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/justification_styles/_form_fields.html.erb (0.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/justification_styles/_form.html.erb (7.6ms) Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", false], ["kind", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_justification_styles" ("post_type_version_id", "display_name", "css_class_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "White"], ["css_class_name", "white"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/justification_styles/1?justification_style%5Bdisplay_name%5D=edited+name" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::JustificationStylesController#update as HTML Parameters: {"justification_style"=>{"display_name"=>"edited name"}, "id"=>"1"} Pulitzer::JustificationStyle Load (0.1ms) SELECT "pulitzer_justification_styles".* FROM "pulitzer_justification_styles" WHERE "pulitzer_justification_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_justification_styles" SET "display_name" = ? WHERE "pulitzer_justification_styles"."id" = ? [["display_name", "edited name"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/justification_styles/_show.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.3ms) Pulitzer::JustificationStyle Load (0.1ms) SELECT "pulitzer_justification_styles".* FROM "pulitzer_justification_styles" WHERE "pulitzer_justification_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", false], ["kind", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_justification_styles" ("post_type_version_id", "display_name", "css_class_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "White"], ["css_class_name", "white"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/pulitzer/justification_styles/1" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::JustificationStylesController#destroy as HTML Parameters: {"id"=>"1"} Pulitzer::JustificationStyle Load (0.0ms) SELECT "pulitzer_justification_styles".* FROM "pulitzer_justification_styles" WHERE "pulitzer_justification_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "pulitzer_justification_styles" WHERE "pulitzer_justification_styles"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 1ms (ActiveRecord: 0.2ms) Pulitzer::JustificationStyle Load (0.0ms) SELECT "pulitzer_justification_styles".* FROM "pulitzer_justification_styles" WHERE "pulitzer_justification_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", true], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/partials/new?partial%5Bfree_form_section_id%5D=15" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::PartialsController#new as HTML Parameters: {"partial"=>{"free_form_section_id"=>"15"}} Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT ? [["id", 15], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.5ms) Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? ORDER BY "pulitzer_post_types"."name" ASC [["kind", 1]] Pulitzer::PostTypeVersion Load (0.2ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? AND "pulitzer_post_type_versions"."status" = ? LIMIT ? [["post_type_id", 25], ["status", "published"], ["LIMIT", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] CACHE (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? AND "pulitzer_post_type_versions"."status" = ? LIMIT ? [["post_type_id", 25], ["status", "published"], ["LIMIT", 1]] Pulitzer::ArrangementStyle Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_arrangement_styles" WHERE "pulitzer_arrangement_styles"."post_type_version_id" = ? LIMIT ? [["post_type_version_id", 26], ["LIMIT", 1]] Pulitzer::BackgroundStyle Load (0.1ms) SELECT "pulitzer_background_styles".* FROM "pulitzer_background_styles" WHERE "pulitzer_background_styles"."post_type_version_id" = ? [["post_type_version_id", 26]] Pulitzer::JustificationStyle Load (0.1ms) SELECT "pulitzer_justification_styles".* FROM "pulitzer_justification_styles" WHERE "pulitzer_justification_styles"."post_type_version_id" = ? [["post_type_version_id", 26]] Pulitzer::SequenceFlowStyle Load (0.1ms) SELECT "pulitzer_sequence_flow_styles".* FROM "pulitzer_sequence_flow_styles" WHERE "pulitzer_sequence_flow_styles"."post_type_version_id" = ? [["post_type_version_id", 26]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_new.html.erb (26.4ms) Completed 200 OK in 31ms (Views: 28.9ms | ActiveRecord: 1.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", true], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_background_styles" ("post_type_version_id", "display_name", "css_class_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "Grey"], ["css_class_name", "grey"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_justification_styles" ("post_type_version_id", "display_name", "css_class_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "Left"], ["css_class_name", "left"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_sequence_flow_styles" ("post_type_version_id", "display_name", "css_class_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "Begin Sequence"], ["css_class_name", "begin-sequence"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_arrangement_styles" ("post_type_version_id", "display_name", "view_file_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "Image Right"], ["view_file_name", "image-right"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/pulitzer/partials?partial%5Barrangement_style_id%5D=1&partial%5Bbackground_style_id%5D=1&partial%5Bfree_form_section_id%5D=15&partial%5Bjustification_style_id%5D=1&partial%5Bpost_type_version_id%5D=26&partial%5Bsequence_flow_style_id%5D=1" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::PartialsController#create as HTML Parameters: {"partial"=>{"arrangement_style_id"=>"1", "background_style_id"=>"1", "free_form_section_id"=>"15", "justification_style_id"=>"1", "post_type_version_id"=>"26", "sequence_flow_style_id"=>"1"}} Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT ? [["id", 15], ["LIMIT", 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 ? [["id", 15], ["LIMIT", 1]]  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 15]] SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_version_id", "free_form_section_id", "sort_order", "background_style_id", "justification_style_id", "sequence_flow_style_id", "arrangement_style_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["post_type_version_id", 26], ["free_form_section_id", 15], ["sort_order", 1], ["background_style_id", 1], ["justification_style_id", 1], ["sequence_flow_style_id", 1], ["arrangement_style_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 26]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 25], ["LIMIT", 1]] Pulitzer::ArrangementStyle Load (0.1ms) SELECT "pulitzer_arrangement_styles".* FROM "pulitzer_arrangement_styles" WHERE "pulitzer_arrangement_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::BackgroundStyle Load (0.1ms) SELECT "pulitzer_background_styles".* FROM "pulitzer_background_styles" WHERE "pulitzer_background_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::JustificationStyle Load (0.1ms) SELECT "pulitzer_justification_styles".* FROM "pulitzer_justification_styles" WHERE "pulitzer_justification_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::SequenceFlowStyle Load (0.1ms) SELECT "pulitzer_sequence_flow_styles".* FROM "pulitzer_sequence_flow_styles" WHERE "pulitzer_sequence_flow_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.4ms) Pulitzer::ContentElement Load (0.2ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (4.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_show.html.erb (22.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (25.5ms) Completed 200 OK in 38ms (Views: 27.5ms | ActiveRecord: 1.1ms) Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" ORDER BY "pulitzer_partials"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.6ms) rollback 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.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", true], ["kind", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.1ms) 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 ? [["id", 15], ["LIMIT", 1]]  (0.1ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 15]] SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_version_id", "free_form_section_id", "sort_order", "label") VALUES (?, ?, ?, ?) [["post_type_version_id", 26], ["free_form_section_id", 15], ["sort_order", 1], ["label", "test partial"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/partials/1/edit" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 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 ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.4ms) Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Pulitzer::ArrangementStyle Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_arrangement_styles" WHERE "pulitzer_arrangement_styles"."post_type_version_id" = ? LIMIT ? [["post_type_version_id", 26], ["LIMIT", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 25], ["LIMIT", 1]] Pulitzer::ArrangementStyle Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_arrangement_styles" WHERE "pulitzer_arrangement_styles"."post_type_version_id" = ? LIMIT ? [["post_type_version_id", 26], ["LIMIT", 1]] Pulitzer::ArrangementStyle Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_arrangement_styles" WHERE "pulitzer_arrangement_styles"."post_type_version_id" = ? LIMIT ? [["post_type_version_id", 26], ["LIMIT", 1]] Pulitzer::BackgroundStyle Load (0.1ms) SELECT "pulitzer_background_styles".* FROM "pulitzer_background_styles" WHERE "pulitzer_background_styles"."post_type_version_id" = ? [["post_type_version_id", 26]] Pulitzer::JustificationStyle Load (0.1ms) SELECT "pulitzer_justification_styles".* FROM "pulitzer_justification_styles" WHERE "pulitzer_justification_styles"."post_type_version_id" = ? [["post_type_version_id", 26]] Pulitzer::SequenceFlowStyle Load (0.1ms) SELECT "pulitzer_sequence_flow_styles".* FROM "pulitzer_sequence_flow_styles" WHERE "pulitzer_sequence_flow_styles"."post_type_version_id" = ? [["post_type_version_id", 26]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_form.html.erb (17.2ms) Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.9ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Left Text White BG"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", true], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", true], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 26], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT ? [["id", 15], ["LIMIT", 1]]  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 15]] SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_version_id", "free_form_section_id", "sort_order", "label") VALUES (?, ?, ?, ?) [["post_type_version_id", 27], ["free_form_section_id", 15], ["sort_order", 1], ["label", "test partial"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/partials/1?partial%5Bpost_type_version_id%5D=26" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::PartialsController#update as HTML Parameters: {"partial"=>{"post_type_version_id"=>"26"}, "id"=>"1"} Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_partials" SET "post_type_version_id" = ? WHERE "pulitzer_partials"."id" = ? [["post_type_version_id", 26], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 25], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_drag_handle.html.erb (0.3ms) Pulitzer::ContentElement Load (0.2ms) 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/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (3.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_show.html.erb (12.4ms) Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.4ms) Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 25], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Text and Action"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", true], ["kind", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.0ms) 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"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 26]] 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_version_id" = ? [["post_type_version_id", 26]] SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 26], ["content_element_type_id", 24], ["label", "Action Button"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["sort_order", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/post_type_content_element_types/67/edit" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::PostTypeContentElementTypesController#edit as HTML Parameters: {"id"=>"67"} 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 67], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]] Pulitzer::CustomOptionList Load (0.1ms) SELECT "pulitzer_custom_option_lists".* FROM "pulitzer_custom_option_lists" Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb (9.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_form.html.erb (14.2ms) Completed 200 OK in 18ms (Views: 16.4ms | ActiveRecord: 0.6ms) Pulitzer::CustomOptionList Load (0.1ms) SELECT "pulitzer_custom_option_lists".* FROM "pulitzer_custom_option_lists" WHERE "pulitzer_custom_option_lists"."name" = ? LIMIT ? [["name", "Sliders"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Text and Action"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", true], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/pulitzer/post_type_content_element_types?post_type_content_element_type%5Bclickable_kind%5D=any&post_type_content_element_type%5Bcontent_element_type_id%5D=24&post_type_content_element_type%5Blabel%5D=Action+Button+2&post_type_content_element_type%5Bpost_type_version_id%5D=26" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::PostTypeContentElementTypesController#create as HTML Parameters: {"post_type_content_element_type"=>{"clickable_kind"=>"any", "content_element_type_id"=>"24", "label"=>"Action Button 2", "post_type_version_id"=>"26"}} Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 26]] 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_version_id" = ? [["post_type_version_id", 26]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 26], ["content_element_type_id", 24], ["label", "Action Button 2"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["sort_order", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? [["post_type_version_id", 26]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show.html.erb (2.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show_wrapper.html.erb (5.1ms) Completed 200 OK in 15ms (Views: 7.3ms | ActiveRecord: 0.6ms) Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC, "pulitzer_post_type_content_element_types"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Text and Action"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", true], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CustomOptionList Load (0.0ms) SELECT "pulitzer_custom_option_lists".* FROM "pulitzer_custom_option_lists" WHERE "pulitzer_custom_option_lists"."name" = ? LIMIT ? [["name", "Sliders"], ["LIMIT", 1]] Started POST "/pulitzer/post_type_content_element_types?post_type_content_element_type%5Bclickable_kind%5D=gid%3A%2F%2Fdummy%2FPulitzer%3A%3ACustomOptionList%2F1&post_type_content_element_type%5Bcontent_element_type_id%5D=24&post_type_content_element_type%5Blabel%5D=Action+Button+2&post_type_content_element_type%5Bpost_type_version_id%5D=26" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::PostTypeContentElementTypesController#create as HTML Parameters: {"post_type_content_element_type"=>{"clickable_kind"=>"gid://dummy/Pulitzer::CustomOptionList/1", "content_element_type_id"=>"24", "label"=>"Action Button 2", "post_type_version_id"=>"26"}} Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 26]] 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_version_id" = ? [["post_type_version_id", 26]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order", "clickable_kind") VALUES (?, ?, ?, ?, ?, ?, ?) [["post_type_version_id", 26], ["content_element_type_id", 24], ["label", "Action Button 2"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["sort_order", 1], ["clickable_kind", "gid://dummy/Pulitzer::CustomOptionList/1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? [["post_type_version_id", 26]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] Pulitzer::CustomOptionList Load (0.1ms) SELECT "pulitzer_custom_option_lists".* FROM "pulitzer_custom_option_lists" WHERE "pulitzer_custom_option_lists"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show.html.erb (3.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show_wrapper.html.erb (6.9ms) Completed 200 OK in 17ms (Views: 10.0ms | ActiveRecord: 0.8ms) Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC, "pulitzer_post_type_content_element_types"."id" DESC LIMIT ? [["LIMIT", 1]] Pulitzer::CustomOptionList Load (0.0ms) SELECT "pulitzer_custom_option_lists".* FROM "pulitzer_custom_option_lists" WHERE "pulitzer_custom_option_lists"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Text and Action"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", true], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/pulitzer/post_type_content_element_types?post_type_content_element_type%5Bclickable_kind%5D=url&post_type_content_element_type%5Bcontent_element_type_id%5D=24&post_type_content_element_type%5Blabel%5D=Action+Button+2&post_type_content_element_type%5Bpost_type_version_id%5D=26" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::PostTypeContentElementTypesController#create as HTML Parameters: {"post_type_content_element_type"=>{"clickable_kind"=>"url", "content_element_type_id"=>"24", "label"=>"Action Button 2", "post_type_version_id"=>"26"}} Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 26]] 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_version_id" = ? [["post_type_version_id", 26]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order", "clickable_kind") VALUES (?, ?, ?, ?, ?, ?, ?) [["post_type_version_id", 26], ["content_element_type_id", 24], ["label", "Action Button 2"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["sort_order", 1], ["clickable_kind", "url"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? [["post_type_version_id", 26]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show.html.erb (3.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show_wrapper.html.erb (5.9ms) Completed 200 OK in 16ms (Views: 8.1ms | ActiveRecord: 0.6ms) Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC, "pulitzer_post_type_content_element_types"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Text and Action"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", true], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (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"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 26]] 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_version_id" = ? [["post_type_version_id", 26]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 26], ["content_element_type_id", 24], ["label", "Action Button"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CustomOptionList Load (0.0ms) SELECT "pulitzer_custom_option_lists".* FROM "pulitzer_custom_option_lists" WHERE "pulitzer_custom_option_lists"."name" = ? LIMIT ? [["name", "Sliders"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "updated_at" = ?, "clickable_kind" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ? [["updated_at", 2017-07-04 01:52:42 UTC], ["clickable_kind", "gid://dummy/Pulitzer::CustomOptionList/1"], ["id", 67]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/post_type_content_element_types/67" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::PostTypeContentElementTypesController#show as HTML Parameters: {"id"=>"67"} 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 67], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] Pulitzer::CustomOptionList Load (0.1ms) SELECT "pulitzer_custom_option_lists".* FROM "pulitzer_custom_option_lists" WHERE "pulitzer_custom_option_lists"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show.html.erb (4.4ms) Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.4ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Text and Action"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", true], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (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"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 26]] 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_version_id" = ? [["post_type_version_id", 26]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 26], ["content_element_type_id", 24], ["label", "Action Button"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CustomOptionList Load (0.0ms) SELECT "pulitzer_custom_option_lists".* FROM "pulitzer_custom_option_lists" WHERE "pulitzer_custom_option_lists"."name" = ? LIMIT ? [["name", "Sliders"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "updated_at" = ?, "clickable_kind" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ? [["updated_at", 2017-07-04 01:52:42 UTC], ["clickable_kind", "gid://dummy/Pulitzer::CustomOptionList/1"], ["id", 67]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/post_type_content_element_types/67?post_type_content_element_type%5Bclickable_kind%5D=url&post_type_content_element_type%5Bcontent_element_type_id%5D=24&post_type_content_element_type%5Blabel%5D=Action+Button+2&post_type_content_element_type%5Bpost_type_version_id%5D=26" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::PostTypeContentElementTypesController#update as HTML Parameters: {"post_type_content_element_type"=>{"clickable_kind"=>"url", "content_element_type_id"=>"24", "label"=>"Action Button 2", "post_type_version_id"=>"26"}, "id"=>"67"} 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 67], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "label" = ?, "clickable_kind" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ? [["label", "Action Button 2"], ["clickable_kind", "url"], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 67]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? [["post_type_version_id", 26]] Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" INNER JOIN "pulitzer_free_form_sections" ON "pulitzer_free_form_sections"."id" = "pulitzer_partials"."free_form_section_id" INNER JOIN "pulitzer_versions" ON "pulitzer_versions"."id" = "pulitzer_free_form_sections"."version_id" WHERE "pulitzer_partials"."post_type_version_id" = ? AND "pulitzer_versions"."status" = ? [["post_type_version_id", 26], ["status", 0]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_type_content_element_types/_show.html.erb (2.9ms) Completed 200 OK in 16ms (Views: 5.1ms | ActiveRecord: 0.7ms) 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"."id" = ? LIMIT ? [["id", 67], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "Text and Action"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", true], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (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"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 26]] 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_version_id" = ? [["post_type_version_id", 26]] SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 26], ["content_element_type_id", 24], ["label", "Action Button"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/pulitzer/post_type_content_element_types/67" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::PostTypeContentElementTypesController#destroy as HTML Parameters: {"id"=>"67"} 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 67], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? [["id", 67]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? [["post_type_version_id", 26]] Completed 200 OK in 6ms (ActiveRecord: 0.5ms) 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 67], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction Started POST "/pulitzer/post_types?post_type%5Bkind%5D=template&post_type%5Bname%5D=Flock+of+birds&post_type%5Bplural%5D=1" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"kind"=>"template", "name"=>"Flock of birds", "plural"=>"1"}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Flock of birds"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", true]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (4.6ms) Completed 200 OK in 13ms (Views: 7.3ms | ActiveRecord: 0.8ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Flock of birds"], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? ORDER BY "pulitzer_post_type_versions"."id" ASC LIMIT ? [["post_type_id", 25], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? LIMIT ? [["post_type_version_id", 26], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction Started POST "/pulitzer/post_types?post_type%5Bkind%5D=template&post_type%5Bname%5D=Crow&post_type%5Bplural%5D=0" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::PostTypesController#create as HTML Parameters: {"post_type"=>{"kind"=>"template", "name"=>"Crow", "plural"=>"0"}}  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Crow"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? LIMIT ? [["post_type_version_id", 26], ["LIMIT", 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 ? [["slug", "crow"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "crow"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Crow"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["slug", "crow"], ["post_type_version_id", 26]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 25], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 26]] 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_version_id" = ? [["post_type_version_id", 26]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show.html.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_types/_show_wrapper.html.erb (3.6ms) Completed 200 OK in 19ms (Views: 6.0ms | ActiveRecord: 1.2ms) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Crow"], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? ORDER BY "pulitzer_post_type_versions"."id" ASC LIMIT ? [["post_type_id", 25], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? [["post_type_version_id", 26]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_version_id", 26], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", false], ["kind", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/sequence_flow_styles/new?sequence_flow_style%5Bpost_type_version_id%5D=26" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::SequenceFlowStylesController#new as HTML Parameters: {"sequence_flow_style"=>{"post_type_version_id"=>"26"}} Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/sequence_flow_styles/_form_fields.html.erb (0.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/sequence_flow_styles/_new.html.erb (6.2ms) Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", false], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/pulitzer/sequence_flow_styles?sequence_flow_style%5Bcss_class_name%5D=pretty-class&sequence_flow_style%5Bdisplay_name%5D=Pretty+Class&sequence_flow_style%5Bpost_type_version_id%5D=26" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::SequenceFlowStylesController#create as HTML Parameters: {"sequence_flow_style"=>{"css_class_name"=>"pretty-class", "display_name"=>"Pretty Class", "post_type_version_id"=>"26"}}  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_sequence_flow_styles" ("post_type_version_id", "display_name", "css_class_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "Pretty Class"], ["css_class_name", "pretty-class"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/sequence_flow_styles/_show.html.erb (2.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/sequence_flow_styles/_show_wrapper.html.erb (5.7ms) Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.3ms) Pulitzer::SequenceFlowStyle Load (0.1ms) SELECT "pulitzer_sequence_flow_styles".* FROM "pulitzer_sequence_flow_styles" ORDER BY "pulitzer_sequence_flow_styles"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", false], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_sequence_flow_styles" ("post_type_version_id", "display_name", "css_class_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "White"], ["css_class_name", "white"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/sequence_flow_styles/1/edit" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::SequenceFlowStylesController#edit as HTML Parameters: {"id"=>"1"} Pulitzer::SequenceFlowStyle Load (0.1ms) SELECT "pulitzer_sequence_flow_styles".* FROM "pulitzer_sequence_flow_styles" WHERE "pulitzer_sequence_flow_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/sequence_flow_styles/_form_fields.html.erb (0.7ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/sequence_flow_styles/_form.html.erb (7.0ms) Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", false], ["kind", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_sequence_flow_styles" ("post_type_version_id", "display_name", "css_class_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "White"], ["css_class_name", "white"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/sequence_flow_styles/1?sequence_flow_style%5Bdisplay_name%5D=edited+name" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::SequenceFlowStylesController#update as HTML Parameters: {"sequence_flow_style"=>{"display_name"=>"edited name"}, "id"=>"1"} Pulitzer::SequenceFlowStyle Load (0.0ms) SELECT "pulitzer_sequence_flow_styles".* FROM "pulitzer_sequence_flow_styles" WHERE "pulitzer_sequence_flow_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_sequence_flow_styles" SET "display_name" = ? WHERE "pulitzer_sequence_flow_styles"."id" = ? [["display_name", "edited name"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 26], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/sequence_flow_styles/_show.html.erb (2.9ms) Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.2ms) Pulitzer::SequenceFlowStyle Load (0.0ms) SELECT "pulitzer_sequence_flow_styles".* FROM "pulitzer_sequence_flow_styles" WHERE "pulitzer_sequence_flow_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural", "kind") VALUES (?, ?, ?, ?, ?) [["name", "partial with various layout styles"], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC], ["plural", false], ["kind", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_sequence_flow_styles" ("post_type_version_id", "display_name", "css_class_name") VALUES (?, ?, ?) [["post_type_version_id", 26], ["display_name", "White"], ["css_class_name", "white"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/pulitzer/sequence_flow_styles/1" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::SequenceFlowStylesController#destroy as HTML Parameters: {"id"=>"1"} Pulitzer::SequenceFlowStyle Load (0.1ms) SELECT "pulitzer_sequence_flow_styles".* FROM "pulitzer_sequence_flow_styles" WHERE "pulitzer_sequence_flow_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "pulitzer_sequence_flow_styles" WHERE "pulitzer_sequence_flow_styles"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 2ms (ActiveRecord: 0.3ms) Pulitzer::SequenceFlowStyle Load (0.0ms) SELECT "pulitzer_sequence_flow_styles".* FROM "pulitzer_sequence_flow_styles" WHERE "pulitzer_sequence_flow_styles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? AND "pulitzer_post_type_versions"."status" = ? LIMIT ? [["post_type_id", 21], ["status", "published"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_version_id", 22], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 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", 26]] SQL (0.2ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 56]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 57]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 58]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 59]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 60]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 61]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 62]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 63]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 64]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 65]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 66]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 26]] SQL (0.1ms) DELETE FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? [["id", 11]] SQL (0.1ms) DELETE FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? [["id", 12]] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 26]] SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 26]]  (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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]] Started PATCH "/pulitzer/versions/30?status=abandoned" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"abandoned", "id"=>"30"} Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 30]]  (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", 30], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? [["post_id", 21]] 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 [["version_id", 30]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 67]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 68]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 69]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 70]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 71]] SQL (0.1ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 72]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 73]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 74]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 75]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 76]] SQL (0.0ms) DELETE FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? [["id", 77]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 30]] SQL (0.0ms) DELETE FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? [["id", 13]] SQL (0.0ms) DELETE FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? [["id", 14]] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 30]] SQL (0.0ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 30]] SQL (0.1ms) DELETE FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? [["id", 21]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 22], ["LIMIT", 1]] Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Completed 200 OK in 33ms (Views: 0.2ms | ActiveRecord: 2.1ms) Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? AND "pulitzer_post_type_versions"."status" = ? LIMIT ? [["post_type_id", 21], ["status", "published"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_version_id", 22], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 30], ["required", true]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 30]] Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" IN (13, 14) ORDER BY "pulitzer_partials"."sort_order" ASC  (0.1ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_version_id" = ? [["post_type_version_id", 22]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" IN ('Main Content', 'Handpicked Homes') [["version_id", 30]] 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_version_id" = ? [["post_type_version_id", 22]]  (0.2ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? ORDER BY "pulitzer_partial_types"."id" ASC [["free_form_section_type_id", 11]] Pulitzer::PartialType Load (0.1ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? ORDER BY "pulitzer_partial_types"."id" ASC [["free_form_section_type_id", 11]]  (0.0ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? ORDER BY "pulitzer_partial_types"."id" ASC [["free_form_section_type_id", 12]] Pulitzer::PartialType Load (0.0ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? ORDER BY "pulitzer_partial_types"."id" ASC [["free_form_section_type_id", 12]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 30]]  (0.1ms) 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", 30], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 26]]  (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", 21], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] 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 ? [["post_id", 21], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] 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 [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 56], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 56], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 78]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 57], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 57], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 79]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 58], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 58], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 80]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 59], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 59], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 81]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 60], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 60], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 82]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 61], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 61], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 83]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 62], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 62], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 84]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 63], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 63], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 85]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 64], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 64], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 86]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 65], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 65], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 87]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 66], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["post_type_content_element_type_id", 66], ["content_element_type_id", 24], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 88]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 11], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] 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", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 31], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 12], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] 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", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 31], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 31]] [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [564922e7-3d6f-4545-a204-43e59ac8bec1] Performed Pulitzer::CloneVersionJob from Inline(default) in 97.56ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 564922e7-3d6f-4545-a204-43e59ac8bec1) to Inline(default) with arguments: #> Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 31], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 1]] Started PATCH "/pulitzer/versions/30?status=abandoned" for 127.0.0.1 at 2017-07-03 20:52:42 -0500 Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"abandoned", "id"=>"30"} Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 30]]  (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", 30], ["label_type", "Pulitzer::Tag"]] 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 22], ["LIMIT", 1]] Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (3.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_slug_wrapper.html.erb (6.0ms) 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", 31], ["label_type", "Pulitzer::Tag"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (3.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (5.5ms) 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", 31], ["label_type", "SearchLocation"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (1.8ms) 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 [["version_id", 31]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 31]] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 56], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 57], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 58], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 59], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 60], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 61], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 62], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 63], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 64], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 65], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 66], ["LIMIT", 1]] Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]] Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (4.5ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.2ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (0.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.1ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (0.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.0ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (0.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.0ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (0.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.0ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.8ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (0.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.1ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (0.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.1ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.1ms) Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.3ms) 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", 15]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_index.html.erb (2.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show.html.erb (5.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show_wrapper.html.erb (7.6ms) 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", 16]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_index.html.erb (2.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show.html.erb (2.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show_wrapper.html.erb (2.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (2.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (89.2ms) Completed 200 OK in 102ms (Views: 1.0ms | ActiveRecord: 3.3ms) Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 1]]  (1.8ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? AND "pulitzer_post_type_versions"."status" = ? LIMIT ? [["post_type_id", 21], ["status", "published"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_version_id", 22], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 30], ["required", true]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 30]] Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" IN (13, 14) ORDER BY "pulitzer_partials"."sort_order" ASC  (0.0ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_version_id" = ? [["post_type_version_id", 22]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" IN ('Main Content', 'Handpicked Homes') [["version_id", 30]] 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_version_id" = ? [["post_type_version_id", 22]]  (0.0ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? ORDER BY "pulitzer_partial_types"."id" ASC [["free_form_section_type_id", 11]] Pulitzer::PartialType Load (0.0ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? ORDER BY "pulitzer_partial_types"."id" ASC [["free_form_section_type_id", 11]]  (0.1ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? ORDER BY "pulitzer_partial_types"."id" ASC [["free_form_section_type_id", 12]] Pulitzer::PartialType Load (0.0ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? ORDER BY "pulitzer_partial_types"."id" ASC [["free_form_section_type_id", 12]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 30]]  (0.1ms) 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", 30], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 26]]  (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", 21], ["created_at", 2017-07-04 01:52:42 UTC], ["updated_at", 2017-07-04 01:52:42 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] 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 ? [["post_id", 21], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] 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", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 56], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 56], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 78]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 57], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 57], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 79]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 58], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 58], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 80]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 59], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 59], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 81]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 60], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 60], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 82]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 61], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 61], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 83]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 62], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 62], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 84]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 63], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 63], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 85]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 64], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 64], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 86]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 65], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 65], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 87]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 66], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["post_type_content_element_type_id", 66], ["content_element_type_id", 24], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 88]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 11], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] 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", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 31], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 12], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.2ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 31], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-07-04 01:52:42 UTC], ["id", 31]] [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a2b679a4-0fba-4ab3-a9d5-2c6494744f36] Performed Pulitzer::CloneVersionJob from Inline(default) in 94.9ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: a2b679a4-0fba-4ab3-a9d5-2c6494744f36) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 31], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]] Started PATCH "/pulitzer/versions/31?status=abandoned" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"abandoned", "id"=>"31"} Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 31], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 31]]  (0.0ms) 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", 31], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 21], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] 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 ? [["post_id", 21], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] 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 [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 56], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 56], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 89]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 57], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 57], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 90]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 58], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 58], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 91]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 59], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 59], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 92]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 60], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 60], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 93]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 61], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 61], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 94]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 62], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 62], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 95]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 63], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 63], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 96]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 64], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 64], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 97]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 65], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 65], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 98]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 66], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["post_type_content_element_type_id", 66], ["content_element_type_id", 24], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 99]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 11], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] 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", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 32], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 12], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] 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", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 32], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 32]] [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5dffee61-9284-48e2-8f3c-b8e3ea147b44] Performed Pulitzer::CloneVersionJob from Inline(default) in 92.39ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 5dffee61-9284-48e2-8f3c-b8e3ea147b44) to Inline(default) with arguments: #>  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 30]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 30]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 30]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (6.6ms) Completed 200 OK in 112ms (Views: 0.2ms | ActiveRecord: 9.0ms) Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 31], ["LIMIT", 1]]  (1.8ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? AND "pulitzer_post_type_versions"."status" = ? LIMIT ? [["post_type_id", 21], ["status", "published"], ["LIMIT", 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["post_type_version_id", 22], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 22]] 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_version_id" = ? [["post_type_version_id", 22]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "required", "sort_order") VALUES (?, ?, ?, ?, ?, ?, ?) [["post_type_version_id", 22], ["content_element_type_id", 21], ["label", "test"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC], ["required", true], ["sort_order", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_version_id", 22], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["version_id", 30], ["LIMIT", 1]] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "body" = NULL, "post_type_content_element_type_id" = 67 WHERE "pulitzer_content_elements"."id" = ? [["id", 67]] Started PATCH "/pulitzer/versions/30?status=active" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 Processing by Pulitzer::VersionsController#update as HTML Parameters: {"status"=>"active", "id"=>"30"} Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" INNER JOIN "pulitzer_post_type_content_element_types" ON "pulitzer_post_type_content_element_types"."id" = "pulitzer_content_elements"."post_type_content_element_type_id" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_post_type_content_element_types"."required" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 30], ["required", true]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 22], ["LIMIT", 1]]  (0.1ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_version_id" = ? [["post_type_version_id", 22]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" IN ('Main Content', 'Handpicked Homes') [["version_id", 30]] 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_version_id" = ? [["post_type_version_id", 22]]  (0.1ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? ORDER BY "pulitzer_partial_types"."id" ASC [["free_form_section_type_id", 11]] Pulitzer::PartialType Load (0.1ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? ORDER BY "pulitzer_partial_types"."id" ASC [["free_form_section_type_id", 11]]  (0.1ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? ORDER BY "pulitzer_partial_types"."id" ASC [["free_form_section_type_id", 12]] Pulitzer::PartialType Load (0.1ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? ORDER BY "pulitzer_partial_types"."id" ASC [["free_form_section_type_id", 12]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_show_slug.html.erb (2.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/posts/_slug_wrapper.html.erb (5.4ms) 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", 30], ["label_type", "Pulitzer::Tag"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (3.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (5.8ms) 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", 30], ["label_type", "SearchLocation"]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/post_tags/_show_wrapper.html.erb (1.4ms) 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 [["version_id", 30]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 30]] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 67], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 57], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 58], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 59], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 60], ["LIMIT", 1]] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 61], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 62], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 63], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 64], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 65], ["LIMIT", 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 66], ["LIMIT", 1]] Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]] Pulitzer::FreeFormSectionType Load (0.0ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]] CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (2.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (5.5ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.4ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.3ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.3ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.3ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.2ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.2ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.6ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.4ms) Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.8ms) 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", 13]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_index.html.erb (2.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show.html.erb (4.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show_wrapper.html.erb (7.7ms) 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", 14]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/partials/_index.html.erb (2.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show.html.erb (2.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/free_form_sections/_show_wrapper.html.erb (2.8ms) CACHE (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show.html.erb (1.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/content_elements/_show_wrapper.html.erb (1.6ms) Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_form.html.erb (3.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/versions/_edit.html.erb (88.8ms) Completed 409 Conflict in 108ms (Views: 0.8ms | ActiveRecord: 3.8ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["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", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (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" = ? LIMIT ? [["name", "The north 2"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 2"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC], ["hierarchical", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/tags" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 Processing by Pulitzer::TagsController#index as HTML Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? AND "pulitzer_tags"."parent_id" IS NULL [["hierarchical", true]] Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 2]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (5.9ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (10.1ms) Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (1.4ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (1.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_index.html.erb (17.6ms) Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.5ms)  (0.5ms) rollback 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" = ? LIMIT ? [["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", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (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" = ? LIMIT ? [["name", "The north 4"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 4"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC], ["hierarchical", true]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/tags" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 Processing by Pulitzer::TagsController#index as HTML Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? AND "pulitzer_tags"."parent_id" IS NULL [["hierarchical", true]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 2]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.3ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (4.7ms) Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (1.8ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (1.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_index.html.erb (11.1ms) Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.4ms)  (0.6ms) rollback 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" = ? LIMIT ? [["name", "The north 5"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 5"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (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" = ? LIMIT ? [["name", "The north 6"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 6"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC], ["hierarchical", true]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/tags" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 Processing by Pulitzer::TagsController#index as HTML Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? AND "pulitzer_tags"."parent_id" IS NULL [["hierarchical", true]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 2]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.4ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (4.9ms) Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (2.2ms) Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [1 times] (2.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_index.html.erb (11.9ms) Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.4ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 7"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 7"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/tags/1" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 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 ? [["id", 1], ["LIMIT", 1]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (4.5ms) Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.2ms)  (0.5ms) rollback 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" = ? LIMIT ? [["name", "The north 8"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 8"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/tags/1" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 Processing by Pulitzer::TagsController#show as HTML Parameters: {"id"=>"1"} Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (5.2ms) Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction Started GET "/pulitzer/tags/new?tag%5Bhierarchical%5D=true" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 Processing by Pulitzer::TagsController#new as HTML Parameters: {"tag"=>{"hierarchical"=>"true"}} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (3.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (11.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (13.7ms) Completed 200 OK in 16ms (Views: 16.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started GET "/pulitzer/tags/new?tag%5Bhierarchical%5D=true" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 Processing by Pulitzer::TagsController#new as HTML Parameters: {"tag"=>{"hierarchical"=>"true"}} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (7.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (10.7ms) Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started GET "/pulitzer/tags/new?tag%5Bhierarchical%5D=false" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 Processing by Pulitzer::TagsController#new as HTML Parameters: {"tag"=>{"hierarchical"=>"false"}} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (7.2ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (10.4ms) Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" Started POST "/pulitzer/tags?tag%5Bname%5D=The+north+9" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 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" = ? LIMIT ? [["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", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (5.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (8.5ms) Completed 200 OK in 13ms (Views: 10.6ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags"  (0.6ms) rollback transaction  (0.1ms) begin transaction Started POST "/pulitzer/tags?tag%5Bname%5D=The+north+10" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 Processing by Pulitzer::TagsController#create as HTML Parameters: {"tag"=>{"name"=>"The north 10"}}  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 10"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 10"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (4.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (7.2ms) Completed 200 OK in 12ms (Views: 9.4ms | ActiveRecord: 0.5ms)  (0.5ms) rollback 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" = ? LIMIT ? [["name", "awesomesauce"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_tags" Started POST "/pulitzer/tags?tag%5Bname%5D=awesomesauce" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 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" = ? LIMIT ? [["name", "awesomesauce"], ["LIMIT", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (8.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (10.4ms) Completed 409 Conflict in 15ms (Views: 13.4ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "awesomesauce"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started POST "/pulitzer/tags?tag%5Bname%5D=awesomesauce" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 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" = ? LIMIT ? [["name", "awesomesauce"], ["LIMIT", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.6ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new.html.erb (6.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (8.9ms) Completed 409 Conflict in 14ms (Views: 11.5ms | ActiveRecord: 0.2ms)  (0.4ms) rollback 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" = ? LIMIT ? [["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", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/tags/1/edit" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 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 ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (8.5ms) Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.1ms)  (0.5ms) rollback 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" = ? LIMIT ? [["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", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/pulitzer/tags/1/edit" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 Processing by Pulitzer::TagsController#edit as HTML Parameters: {"id"=>"1"} Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.5ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (8.1ms) Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["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", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/tags/1?tag%5Bname%5D=The+north+16" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 Processing by Pulitzer::TagsController#update as HTML Parameters: {"tag"=>{"name"=>"The north 16"}, "id"=>"1"} Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.3ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.4ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (8.1ms) Completed 409 Conflict in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)  (0.5ms) rollback 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" = ? LIMIT ? [["name", "The north 17"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 17"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/tags/1?tag%5Bname%5D=The+north+18" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 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" = ? AND ("pulitzer_tags"."id" != ?) LIMIT ? [["name", "The north 18"], ["id", 1], ["LIMIT", 1]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ? [["name", "The north 18"], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] Rendered collection of /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb [0 times] (0.0ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (5.0ms) Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.4ms)  (0.4ms) rollback 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" = ? LIMIT ? [["name", "sadpanda"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (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" = ? LIMIT ? [["name", "The north 20"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 20"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/tags/2?tag%5Bname%5D=sadpanda" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 Processing by Pulitzer::TagsController#update as HTML Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"}  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? AND ("pulitzer_tags"."id" != ?) LIMIT ? [["name", "sadpanda"], ["id", 2], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.8ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (8.6ms) Completed 409 Conflict in 15ms (Views: 11.6ms | ActiveRecord: 0.3ms)  (0.5ms) rollback 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" = ? LIMIT ? [["name", "sadpanda"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 22"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 22"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started PATCH "/pulitzer/tags/2?tag%5Bname%5D=sadpanda" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 Processing by Pulitzer::TagsController#update as HTML Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"}  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? AND ("pulitzer_tags"."id" != ?) LIMIT ? [["name", "sadpanda"], ["id", 2], ["LIMIT", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form_fields.html.erb (0.9ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (1.1ms) Rendered /Users/goma/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (8.2ms) Completed 409 Conflict in 13ms (Views: 10.6ms | ActiveRecord: 0.2ms)  (0.5ms) rollback 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" = ? LIMIT ? [["name", "The north 23"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 23"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/pulitzer/tags/1" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 Processing by Pulitzer::TagsController#destroy as HTML Parameters: {"id"=>"1"} Completed 200 OK in 0ms (ActiveRecord: 0.0ms)  (0.5ms) rollback 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" = ? LIMIT ? [["name", "The north 24"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 24"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/pulitzer/tags/1" for 127.0.0.1 at 2017-07-03 20:52:43 -0500 Processing by Pulitzer::TagsController#destroy as HTML Parameters: {"id"=>"1"}  (0.0ms) 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.1ms) DELETE FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (ActiveRecord: 0.4ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? AND "pulitzer_post_type_versions"."status" = ? LIMIT ? [["post_type_id", 21], ["status", "published"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_version_id", 22], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 30]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 21], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/goma/.rbenv/versions/2.3.1/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 ? [["post_id", 21], ["status", 4], ["LIMIT", 1]] 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", 30]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 56], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 56], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 78]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 57], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 57], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 79]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 58], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 58], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 80]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 59], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 59], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 81]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 60], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 60], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 82]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 61], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 61], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 83]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 62], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 62], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 84]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 63], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 63], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 85]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 64], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 64], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 86]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 65], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 65], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 87]]  (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 ? [["id", 24], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 66], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["post_type_content_element_type_id", 66], ["content_element_type_id", 24], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 88]]  (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", 30]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 11], ["name", "Main Content"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC [["free_form_section_id", 13]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 31], ["id", 15]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 12], ["name", "Handpicked Homes"]]  (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", 14]]  (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", 31], ["id", 16]]  (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", 30]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 31]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 31]]  (1.8ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.3ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? AND "pulitzer_post_type_versions"."status" = ? LIMIT ? [["post_type_id", 21], ["status", "published"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_version_id", 22], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 30]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 21], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/goma/.rbenv/versions/2.3.1/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 ? [["post_id", 21], ["status", 4], ["LIMIT", 1]] 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", 30]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 56], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 56], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 78]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 57], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 57], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 79]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 58], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 58], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 80]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 59], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 59], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 81]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 60], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 60], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 82]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 61], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 61], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 83]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 62], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 62], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 84]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 63], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 63], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 85]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 64], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 64], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 86]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 65], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 65], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 87]]  (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 ? [["id", 24], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 66], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["post_type_content_element_type_id", 66], ["content_element_type_id", 24], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 88]]  (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", 30]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 11], ["name", "Main Content"]]  (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", 13]]  (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", 31], ["id", 15]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 12], ["name", "Handpicked Homes"]]  (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", 14]]  (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", 31], ["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 30]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 31]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 31]]  (1.8ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? AND "pulitzer_post_type_versions"."status" = ? LIMIT ? [["post_type_id", 21], ["status", "published"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_version_id", 22], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 21], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/goma/.rbenv/versions/2.3.1/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 ? [["post_id", 21], ["status", 4], ["LIMIT", 1]] 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", 30]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 56], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 56], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 78]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 57], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 57], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 79]]  (0.0ms) 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 ? [["id", 21], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 58], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 58], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 80]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 59], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 59], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 81]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 60], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 60], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 82]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 61], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 61], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 83]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 62], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 62], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 84]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 63], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 63], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 85]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 64], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 64], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 86]]  (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 ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 65], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 65], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 87]]  (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 ? [["id", 24], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 66], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["post_type_content_element_type_id", 66], ["content_element_type_id", 24], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]]  (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", 31], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 88]]  (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", 30]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 11], ["name", "Main Content"]]  (0.1ms) 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", 13]]  (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", 31], ["id", 15]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 12], ["name", "Handpicked Homes"]]  (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", 14]]  (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", 31], ["id", 16]]  (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", 30]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-07-04 01:52:43 UTC], ["id", 31]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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 LIMIT ? [["version_id", 31], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]]  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 27], ["name", "Winterfell news 1"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 26], ["status", "published"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "post_type_version_id") VALUES (?, ?, ?, ?) [["free_form_section_type_id", 13], ["label", "King's Landing news 1"], ["sort_order", 1], ["post_type_version_id", 29]]  (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 ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-1"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC], ["slug", "winterfell-news-1"], ["post_type_version_id", 27]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 25], ["created_at", 2017-07-04 01:52:43 UTC], ["updated_at", 2017-07-04 01:52:43 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? [["post_type_version_id", 27]] 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 ? [["post_id", 25], ["status", 0], ["LIMIT", 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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 31], ["free_form_section_type_id", 13], ["name", "Winterfell news 1"]]  (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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 31], ["LIMIT", 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", 15]] 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 ? [["post_id", 25], ["status", 0], ["LIMIT", 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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 31], ["name", "Winterfell news 1"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_version_id", "free_form_section_id", "sort_order", "label") VALUES (?, ?, ?, ?) [["post_type_version_id", 29], ["free_form_section_id", 15], ["sort_order", 1], ["label", "King's Landing news 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 29], ["LIMIT", 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 29]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 31], ["LIMIT", 1]] Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? ORDER BY "pulitzer_partials"."sort_order" ASC LIMIT ? [["free_form_section_id", 15], ["LIMIT", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (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" = ? LIMIT ? [["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", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 27]] 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_version_id" = ? [["post_type_version_id", 27]] SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 27], ["content_element_type_id", 25], ["label", "Slide 1 content element 1"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC], ["sort_order", 1]]  (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" = ? LIMIT ? [["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", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 27]] 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_version_id" = ? [["post_type_version_id", 27]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 27], ["content_element_type_id", 26], ["label", "Slide 1 content element 2"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC], ["sort_order", 2]]  (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" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 27]] 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_version_id" = ? [["post_type_version_id", 27]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 27], ["content_element_type_id", 27], ["label", "Slide 1 content element 3"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC], ["sort_order", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 25]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_version_id" = ? [["post_type_version_id", 27]]  (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 ? [["id", 15], ["LIMIT", 1]]  (0.0ms) SELECT MAX("pulitzer_partials"."sort_order") FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 15]] SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_version_id", "free_form_section_id", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 27], ["free_form_section_id", 15], ["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::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 27]]  (0.1ms) 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 ? [["id", 25], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "partial_id") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["post_type_content_element_type_id", 67], ["content_element_type_id", 25], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC], ["partial_id", 1]]  (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 ? [["id", 26], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "partial_id") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["post_type_content_element_type_id", 68], ["content_element_type_id", 26], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC], ["partial_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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 ? [["id", 27], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "partial_id") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["post_type_content_element_type_id", 69], ["content_element_type_id", 27], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC], ["partial_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (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" = ? LIMIT ? [["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", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 27]] 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_version_id" = ? [["post_type_version_id", 27]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 27], ["content_element_type_id", 25], ["label", "Slide 1 content element 4"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC], ["sort_order", 1]]  (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" = ? LIMIT ? [["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", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 27]] 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_version_id" = ? [["post_type_version_id", 27]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 27], ["content_element_type_id", 26], ["label", "Slide 1 content element 5"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC], ["sort_order", 2]]  (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" = ? LIMIT ? [["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", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 27], ["LIMIT", 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 27]] 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_version_id" = ? [["post_type_version_id", 27]] SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 27], ["content_element_type_id", 27], ["label", "Slide 1 content element 6"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC], ["sort_order", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_version_id" = ? [["post_type_version_id", 27]]  (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 ? [["slug", "winterfell-news-2"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-2"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC], ["slug", "winterfell-news-2"], ["post_type_version_id", 27]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 25], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 31]] 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 27]] 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 ? [["post_id", 25], ["status", 0], ["LIMIT", 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 ? [["id", 25], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["version_id", 31], ["post_type_content_element_type_id", 67], ["content_element_type_id", 25], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (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 ? [["post_id", 25], ["status", 0], ["LIMIT", 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 ? [["id", 26], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["version_id", 31], ["post_type_content_element_type_id", 68], ["content_element_type_id", 26], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (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 ? [["post_id", 25], ["status", 0], ["LIMIT", 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 ? [["id", 27], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["version_id", 31], ["post_type_content_element_type_id", 69], ["content_element_type_id", 27], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_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_version_id" = ? [["post_type_version_id", 27]] 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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 31]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 27]] 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_version_id" = ? [["post_type_version_id", 27]] SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 27], ["name", "Main Body"], ["sort_order", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 27], ["name", "Side Bar"], ["sort_order", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 27], ["name", "Footer List"], ["sort_order", 3]]  (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 ? [["slug", "test"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "test"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "test"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC], ["slug", "test"], ["post_type_version_id", 27]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 25], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 31]] 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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 31], ["free_form_section_type_id", 13], ["name", "Main Body"]]  (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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 31], ["free_form_section_type_id", 14], ["name", "Side Bar"]]  (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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 31], ["free_form_section_type_id", 15], ["name", "Footer List"]]  (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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 31]]  (0.7ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? AND "pulitzer_post_type_versions"."status" = ? LIMIT ? [["post_type_id", 21], ["status", "published"], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 22]] 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_version_id" = ? [["post_type_version_id", 22]] SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 22], ["content_element_type_id", 21], ["label", "A New Field for this Post Type"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC], ["sort_order", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_version_id", 22], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.1ms) 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 ? [["id", 21], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 30], ["post_type_content_element_type_id", 56], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["id", 21], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 30], ["post_type_content_element_type_id", 57], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["id", 21], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 30], ["post_type_content_element_type_id", 58], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["id", 21], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 30], ["post_type_content_element_type_id", 59], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["id", 21], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 30], ["post_type_content_element_type_id", 60], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["id", 21], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 30], ["post_type_content_element_type_id", 61], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["id", 21], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 30], ["post_type_content_element_type_id", 62], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["id", 21], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 30], ["post_type_content_element_type_id", 63], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["id", 21], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 30], ["post_type_content_element_type_id", 64], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["id", 21], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 30], ["post_type_content_element_type_id", 65], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["id", 24], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["version_id", 30], ["post_type_content_element_type_id", 66], ["content_element_type_id", 24], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["id", 21], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "A New Field for this Post Type"], ["version_id", 30], ["post_type_content_element_type_id", 67], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 30], ["free_form_section_type_id", 11], ["name", "Main Content"]]  (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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 30], ["free_form_section_type_id", 12], ["name", "Handpicked Homes"]]  (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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]] 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", 30]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ? [["label", "A changed label"], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 67]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? [["post_type_version_id", 22]] 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."label" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 30], ["label", "A New Field for this Post Type"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["label", "A changed label"], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 89]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" INNER JOIN "pulitzer_free_form_sections" ON "pulitzer_free_form_sections"."id" = "pulitzer_partials"."free_form_section_id" INNER JOIN "pulitzer_versions" ON "pulitzer_versions"."id" = "pulitzer_free_form_sections"."version_id" WHERE "pulitzer_partials"."post_type_version_id" = ? AND "pulitzer_versions"."status" = ? [["post_type_version_id", 22], ["status", 0]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]] 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", 30]]  (0.4ms) rollback transaction  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? AND "pulitzer_post_type_versions"."status" = ? LIMIT ? [["post_type_id", 21], ["status", "published"], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["post_type_version_id", 22], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]] SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 30]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 22]] 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_version_id" = ? [["post_type_version_id", 22]] SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 22], ["content_element_type_id", 21], ["label", "A New Field for this Post Type"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC], ["sort_order", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? [["post_type_version_id", 22]] 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 21], ["status", 4]] Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" INNER JOIN "pulitzer_free_form_sections" ON "pulitzer_free_form_sections"."id" = "pulitzer_partials"."free_form_section_id" INNER JOIN "pulitzer_versions" ON "pulitzer_versions"."id" = "pulitzer_free_form_sections"."version_id" WHERE "pulitzer_partials"."post_type_version_id" = ? AND "pulitzer_versions"."status" = ? [["post_type_version_id", 22], ["status", 0]]  (0.6ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 30]]  (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", 30], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 21], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] 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 ? [["post_id", 21], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] 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", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 56], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 56], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 78]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 57], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 57], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 79]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 58], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 58], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 80]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 59], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 59], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 81]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 60], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 60], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 82]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 61], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 61], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 83]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 62], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 62], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 84]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 63], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 63], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 85]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 64], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 64], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 86]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 65], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 65], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 87]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 66], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["post_type_content_element_type_id", 66], ["content_element_type_id", 24], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 88]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 11], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] 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", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 31], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 12], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] 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", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 31], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 31]] [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6] Performed Pulitzer::CloneVersionJob from Inline(default) in 99.21ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 091d02d7-3c6c-4ef9-bfd4-236fcc43a4a6) to Inline(default) with arguments: #> Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 31], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 31]]  (0.4ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 30]]  (0.1ms) 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", 30], ["label_type", "Pulitzer::Tag"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 21], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] 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 ? [["post_id", 21], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] 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 [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 56], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 56], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 78]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 57], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 57], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 79]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 58], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 58], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 80]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 59], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 59], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 81]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 60], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 60], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 82]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 61], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 61], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 83]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 62], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 62], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 84]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 63], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 63], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 85]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 64], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 64], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 86]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 65], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 65], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 87]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 66], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["post_type_content_element_type_id", 66], ["content_element_type_id", 24], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 88]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 11], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] 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", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 31], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 12], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] 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", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 31], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 31]] [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [cc8a09be-ec27-4cb1-8796-27d33bf06d36] Performed Pulitzer::CloneVersionJob from Inline(default) in 88.67ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: cc8a09be-ec27-4cb1-8796-27d33bf06d36) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 31], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 31]]  (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", 31], ["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", 21], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] 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 ? [["post_id", 21], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] 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", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 56], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 56], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 89]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 57], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 57], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 90]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 58], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 58], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 91]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 59], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 59], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 92]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 60], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 60], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 93]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 61], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 61], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 94]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 62], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 62], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 95]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 63], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 63], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 96]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 64], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 64], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 97]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 65], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 65], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 98]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 66], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["post_type_content_element_type_id", 66], ["content_element_type_id", 24], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 32], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 99]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 11], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] 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", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 32], ["id", 17]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 12], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] 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", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 32], ["id", 18]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 32]] [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0a9761a2-98f9-4f74-a8d4-29e83f010b85] Performed Pulitzer::CloneVersionJob from Inline(default) in 90.24ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 0a9761a2-98f9-4f74-a8d4-29e83f010b85) to Inline(default) with arguments: #> Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 31], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 32]]  (1.8ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 30]]  (0.0ms) 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", 30], ["label_type", "Pulitzer::Tag"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 26]]  (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", 4], ["post_id", 21], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] 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 ? [["post_id", 21], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] 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", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 56], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 56], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 78]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 57], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 57], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 79]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 58], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 58], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 80]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 59], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 59], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 81]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 60], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 60], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 82]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 61], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 61], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 83]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 62], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 62], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 84]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 63], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 63], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 85]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 64], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 64], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 86]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 65], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 65], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 87]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 66], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["post_type_content_element_type_id", 66], ["content_element_type_id", 24], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 88]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 11], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] 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", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 31], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 12], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] 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", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 31], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 31]] [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a622905f-38e9-4759-b8e6-a5bc15fdf112] Performed Pulitzer::CloneVersionJob from Inline(default) in 100.67ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: a622905f-38e9-4759-b8e6-a5bc15fdf112) to Inline(default) with arguments: #> Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 31], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 21], ["status", 1], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 30]]  (0.0ms) 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", 30], ["label_type", "Pulitzer::Tag"]] 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 31]]  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The North Remembers"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The North Remembers"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 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 ? [["post_id", 21], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 30], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (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" = ? LIMIT ? [["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", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 30], ["label_id", 2], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (0.0ms) 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", 30], ["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 ? [["post_id", 21], ["status", 1], ["LIMIT", 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", 2017-07-04 01:52:44 UTC], ["id", 30]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 2], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 26]]  (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", 4], ["post_id", 21], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 30], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: #> [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] /Users/goma/.rbenv/versions/2.3.1/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] 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 ? [["post_id", 21], ["status", 4], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] 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", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 56], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["post_type_content_element_type_id", 56], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 78]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 57], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["post_type_content_element_type_id", 57], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:40 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 79]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 58], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["post_type_content_element_type_id", 58], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 80]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 59], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Title"], ["post_type_content_element_type_id", 59], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 81]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 60], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Guest Text"], ["post_type_content_element_type_id", 60], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 82]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 61], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Title"], ["post_type_content_element_type_id", 61], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 83]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 62], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Footer Text"], ["post_type_content_element_type_id", 62], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 84]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 63], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata title"], ["post_type_content_element_type_id", 63], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 85]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 64], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata description"], ["post_type_content_element_type_id", 64], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 86]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 65], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["post_type_content_element_type_id", 65], ["content_element_type_id", 21], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 87]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 24], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] 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"."id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["id", 66], ["LIMIT", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at", "image") VALUES (?, ?, ?, ?, ?, ?) [["label", "Call to Action Button"], ["post_type_content_element_type_id", 66], ["content_element_type_id", 24], ["created_at", 2017-07-04 01:52:41 UTC], ["updated_at", 2017-07-04 01:52:41 UTC], ["image", nil]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 31], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 88]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 11], ["name", "Main Content"]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] 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", 13]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 31], ["id", 15]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("free_form_section_type_id", "name") VALUES (?, ?) [["free_form_section_type_id", 12], ["name", "Handpicked Homes"]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] 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", 14]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 31], ["id", 16]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 30]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 31], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 31], ["label_id", 2], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-07-04 01:52:44 UTC], ["updated_at", 2017-07-04 01:52:44 UTC]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 31]] [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [fc178e2f-664f-4b20-929f-09413db8a8d6] Performed Pulitzer::CloneVersionJob from Inline(default) in 93.99ms [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: fc178e2f-664f-4b20-929f-09413db8a8d6) to Inline(default) with arguments: #> Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 31], ["LIMIT", 1]]  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "content_element_type_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 23], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 56]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "content_element_type_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 23], ["updated_at", 2017-07-04 01:52:44 UTC], ["id", 56]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["id", 56], ["LIMIT", 1]] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "image" = ?, "content_element_type_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["image", "sam_and_snow.jpg"], ["content_element_type_id", 22], ["updated_at", 2017-07-04 01:52:45 UTC], ["id", 56]]  (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 ? [["id", 22], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.1ms) RELEASE 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 ? [["slug", "winterfell-news-3"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-3"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "6b0dd72b-ea05-456c-95cf-a9a1fcb2e66f"], ["LIMIT", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (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 ? [["slug", "winterfell-news-4"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-4"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["slug", "winterfell-news-4"], ["post_type_version_id", 27]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (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", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (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", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (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 ? [["post_id", 25], ["status", 1], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (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 ? [["slug", "winterfell-news-5"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-5"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["slug", "winterfell-news-5"], ["post_type_version_id", 27]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.1ms) 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", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (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 ? [["post_id", 25], ["status", 1], ["LIMIT", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (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 ? [["slug", "winterfell-news-6"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-6"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["slug", "winterfell-news-6"], ["post_type_version_id", 27]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 4 WHERE "pulitzer_versions"."id" = ? [["id", 31]] 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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 25], ["status", 4]]  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (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 ? [["slug", "winterfell-news-7"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-7"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["slug", "winterfell-news-7"], ["post_type_version_id", 27]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 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", 31]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 31]] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 31]] SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 31]]  (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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 25], ["status", 4]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (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 ? [["slug", "winterfell-news-8"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-8"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["slug", "winterfell-news-8"], ["post_type_version_id", 27]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (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 ? [["slug", "winterfell-news-9"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-9"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 9"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["slug", "winterfell-news-9"], ["post_type_version_id", 27]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (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" != 25) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "the-new-king-in-the-north"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? AND ("pulitzer_posts"."id" != ?) LIMIT ? [["slug", "the-new-king-in-the-north"], ["id", 25], ["LIMIT", 1]] SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "updated_at" = ?, "slug" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["updated_at", 2017-07-04 01:52:45 UTC], ["slug", "the-new-king-in-the-north"], ["id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["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", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (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 ? [["slug", "winterfell-news-10"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-10"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["slug", "winterfell-news-10"], ["post_type_version_id", 27]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (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", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? AND "pulitzer_post_type_versions"."status" = ? LIMIT ? [["post_type_id", 21], ["status", "published"], ["LIMIT", 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["post_type_version_id", 22], ["LIMIT", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] Pulitzer::PostTypeVersion Load (0.1ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."post_type_id" = ? AND "pulitzer_post_type_versions"."status" = ? LIMIT ? [["post_type_id", 21], ["status", "published"], ["LIMIT", 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC LIMIT ? [["post_type_version_id", 22], ["LIMIT", 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 22]] 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_version_id" = ? [["post_type_version_id", 22]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_version_id", "content_element_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?, ?) [["post_type_version_id", 22], ["content_element_type_id", 21], ["label", "Test Element"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["sort_order", 14]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 26"], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT ? [["LIMIT", 1]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT ? [["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", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "a"], ["LIMIT", 1]] Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "A"], ["LIMIT", 1]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 27"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 27"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["hierarchical", true]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 28"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 28"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", true]] Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", true]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.1ms) 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 ? [["slug", "winterfell-news-11"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-11"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 11"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["slug", "winterfell-news-11"], ["post_type_version_id", 27]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (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", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (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" = ? LIMIT ? [["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", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 32], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one 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" = ? LIMIT ? [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["id", 25], ["LIMIT", 1]]  (0.5ms) rollback 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" = ? LIMIT ? [["name", "The north 30"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 30"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 31"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 31"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = ? [["hierarchical", false]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 32"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 32"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (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" = ? LIMIT ? [["name", "The north 33"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id") VALUES (?, ?, ?, ?) [["name", "The north 33"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["parent_id", 1]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-07-04 01:52:45.420470' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (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" = ? LIMIT ? [["name", "The north 34"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id") VALUES (?, ?, ?, ?) [["name", "The north 34"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["parent_id", 1]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-07-04 01:52:45.424173' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? LIMIT ? [["parent_id", 1], ["id", 2], ["LIMIT", 1]] Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? LIMIT ? [["parent_id", 1], ["id", 3], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 35"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 35"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 36"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 36"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (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" = ? LIMIT ? [["name", "The north 37"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id", "hierarchical") VALUES (?, ?, ?, ?, ?) [["name", "The north 37"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["parent_id", 1], ["hierarchical", true]] SQL (0.2ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-07-04 01:52:45.439426' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 38"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 38"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 39"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 39"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 40"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id", "hierarchical") VALUES (?, ?, ?, ?, ?) [["name", "The north 40"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["parent_id", 1], ["hierarchical", true]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-07-04 01:52:45.455058' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 41"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "hierarchical") VALUES (?, ?, ?, ?) [["name", "The north 41"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["hierarchical", true]]  (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" = ? LIMIT ? [["name", "The north 42"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 42"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["name", "The north 43"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at", "parent_id", "hierarchical") VALUES (?, ?, ?, ?, ?) [["name", "The north 43"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["parent_id", 1], ["hierarchical", true]] SQL (0.1ms) UPDATE "pulitzer_tags" SET "updated_at" = '2017-07-04 01:52:45.470706' WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (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 ? [["slug", "winterfell-news-12"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-12"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 12"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["slug", "winterfell-news-12"], ["post_type_version_id", 27]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = ? LIMIT ? [["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", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.1ms) 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 ? [["slug", "winterfell-news-13"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-13"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 13"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["slug", "winterfell-news-13"], ["post_type_version_id", 27]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (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", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_tags" ("version_id", "label_id", "label_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["version_id", 32], ["label_id", 1], ["label_type", "Pulitzer::Tag"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 32]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 27], ["name", "Winterfell news 2"], ["sort_order", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 26], ["status", "published"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 26]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "post_type_version_id") VALUES (?, ?, ?, ?) [["free_form_section_type_id", 13], ["label", "King's Landing news 2"], ["sort_order", 2], ["post_type_version_id", 29]]  (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 ? [["slug", "winterfell-news-14"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-14"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 14"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["slug", "winterfell-news-14"], ["post_type_version_id", 27]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 27], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 27]]  (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 ? [["slug", "winterfell-news-15"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-15"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 15"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["slug", "winterfell-news-15"], ["post_type_version_id", 31]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 26], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_version_id" = ? [["post_type_version_id", 31]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 27], ["name", "Winterfell news 3"], ["sort_order", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 26], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "post_type_version_id") VALUES (?, ?, ?, ?) [["free_form_section_type_id", 13], ["label", "King's Landing news 3"], ["sort_order", 3], ["post_type_version_id", 29]]  (0.1ms) 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 ? [["slug", "winterfell-news-16"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-16"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 16"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["slug", "winterfell-news-16"], ["post_type_version_id", 27]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? [["post_type_version_id", 27]] 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 ? [["post_id", 25], ["status", 0], ["LIMIT", 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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 31], ["free_form_section_type_id", 13], ["name", "Winterfell news 3"]]  (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 ? [["post_id", 25], ["status", 0], ["LIMIT", 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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 31], ["name", "Winterfell news 3"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_partials" ("post_type_version_id", "free_form_section_id", "sort_order", "label") VALUES (?, ?, ?, ?) [["post_type_version_id", 29], ["free_form_section_id", 15], ["sort_order", 3], ["label", "King's Landing news 3"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 29], ["LIMIT", 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 29]] 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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]]  (0.1ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_version_id" = ? [["post_type_version_id", 27]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = 'Winterfell news 3' [["version_id", 31]] Pulitzer::FreeFormSectionType Load (0.4ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_version_id" = ? [["post_type_version_id", 27]]  (0.1ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? ORDER BY "pulitzer_partial_types"."id" ASC [["free_form_section_type_id", 13]] Pulitzer::PartialType Load (0.0ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? ORDER BY "pulitzer_partial_types"."id" ASC [["free_form_section_type_id", 13]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."post_type_version_id" = ? [["free_form_section_id", 15], ["post_type_version_id", 29]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 25], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 25]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_version_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_version_id", 27], ["name", "Winterfell news 4"], ["sort_order", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["plural", false]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id", "status") VALUES (?, ?) [["post_type_id", 26], ["status", "published"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_versions" ("post_type_id") VALUES (?) [["post_type_id", 26]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partial_types" ("free_form_section_type_id", "label", "sort_order", "post_type_version_id") VALUES (?, ?, ?, ?) [["free_form_section_type_id", 13], ["label", "King's Landing news 4"], ["sort_order", 4], ["post_type_version_id", 29]]  (0.1ms) 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 ? [["slug", "winterfell-news-17"], ["LIMIT", 1]] Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-17"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "created_at", "updated_at", "slug", "post_type_version_id") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 17"], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC], ["slug", "winterfell-news-17"], ["post_type_version_id", 27]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 25], ["created_at", 2017-07-04 01:52:45 UTC], ["updated_at", 2017-07-04 01:52:45 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_version_id" = ? [["post_type_version_id", 27]] 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 ? [["post_id", 25], ["status", 0], ["LIMIT", 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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 31], ["free_form_section_type_id", 13], ["name", "Winterfell news 4"]]  (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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 25], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = ? LIMIT ? [["version_id", 31], ["name", "Winterfell news 4"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_partials" ("post_type_version_id", "free_form_section_id", "sort_order", "label") VALUES (?, ?, ?, ?) [["post_type_version_id", 29], ["free_form_section_id", 15], ["sort_order", 4], ["label", "King's Landing news 4"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeVersion Load (0.0ms) SELECT "pulitzer_post_type_versions".* FROM "pulitzer_post_type_versions" WHERE "pulitzer_post_type_versions"."id" = ? LIMIT ? [["id", 29], ["LIMIT", 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_version_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_version_id", 29]] 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 ? [["post_id", 25], ["status", 0], ["LIMIT", 1]] Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? ORDER BY "pulitzer_free_form_sections"."id" ASC LIMIT ? [["version_id", 31], ["LIMIT", 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 LIMIT ? [["free_form_section_id", 15], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 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]] SQL (0.1ms) DELETE FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT "pulitzer_free_form_section_types"."name" FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_version_id" = ? [["post_type_version_id", 27]] Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? AND "pulitzer_free_form_sections"."name" = 'Winterfell news 4' [["version_id", 31]] 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_version_id" = ? [["post_type_version_id", 27]]  (0.1ms) SELECT "pulitzer_partial_types"."label" FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? ORDER BY "pulitzer_partial_types"."id" ASC [["free_form_section_type_id", 13]] Pulitzer::PartialType Load (0.0ms) SELECT "pulitzer_partial_types".* FROM "pulitzer_partial_types" WHERE "pulitzer_partial_types"."free_form_section_type_id" = ? ORDER BY "pulitzer_partial_types"."id" ASC [["free_form_section_type_id", 13]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? AND "pulitzer_partials"."post_type_version_id" = ? [["free_form_section_id", 15], ["post_type_version_id", 29]]  (1.6ms) rollback transaction