(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