(1.3ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (2.6ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0)  (0.9ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) 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)  (1.7ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)   (1.2ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)  (0.1ms) select sqlite_version(*)  (1.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)   (0.8ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (2.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20151118032759')  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214842')  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214843')  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214844')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214845')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214846')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214847')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214848')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214849')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214850')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150724152813')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150901153531')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150902213853')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20151026204453')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151029221443')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20151029221444')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151113220908')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20151116162913') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.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'  ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0)  (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.8ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar)  (0.6ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)   (0.6ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")  (0.8ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20151118032759')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214842')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214843')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214844')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214845')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214846')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214847')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214848')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214849')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214850')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150724152813')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150901153531')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150902213853')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20151026204453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20151029221443')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20151029221444')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20151113220908')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151116162913') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) 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, "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)  (0.9ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar)  (0.7ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)   (0.7ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")  (0.8ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) 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 ('20151118032759')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214842')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214843')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214844')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214845')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214846')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214847')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214848')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214849')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214850')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150724152813')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150901153531')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150902213853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151026204453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20151029221443')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20151029221444')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20151113220908')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20151116162913') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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'  ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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)   (0.9ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0)  (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.8ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar)  (0.7ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)   (1.8ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")  (0.7ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20151118032759')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214842')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214843')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214844')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214845')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214846')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214847')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214848')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214849')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150716214850')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150724152813')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150901153531')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150902213853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151026204453')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20151029221443')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151029221444')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20151113220908')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20151116162913') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.6ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (0.6ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (0.6ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]  (0.6ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.7ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.3ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.8ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-08 17:29:47.282438"], ["updated_at", "2015-12-08 17:29:47.282438"]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-08 17:29:47.286634"], ["updated_at", "2015-12-08 17:29:47.286634"]] SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-08 17:29:47.287863"], ["updated_at", "2015-12-08 17:29:47.287863"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.9ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.3ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.9ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.0ms) begin transaction  (0.4ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "pulitzer_post_tags"  (0.8ms) DROP TABLE "pulitzer_post_tags"  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "apulitzer_post_tags"  (0.4ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.9ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."id" ASC) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (0.8ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.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.7ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) 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.1ms) 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.0ms) SELECT * FROM "pulitzer_post_tags"  (0.3ms) DROP TABLE "pulitzer_post_tags"  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_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" 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"]]  (1.0ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer Scoped order and limit are ignored, it's forced to be batch order and batch size Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1000 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.8ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.0ms) 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.3ms) DROP TABLE "pulitzer_post_types"  (0.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean)   (0.1ms) SELECT * FROM "apulitzer_post_types"  (0.1ms) DROP TABLE "apulitzer_post_types"  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.7ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.5ms) 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' ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (1.0ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.3ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0)  (1.0ms) 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)   (2.1ms) 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)  (1.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)   (1.4ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)  (0.1ms) select sqlite_version(*)  (2.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")  (1.2ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151118031237') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.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)   (1.0ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0)  (0.7ms) 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.7ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar)  (1.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)   (1.1ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")  (0.7ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151118031237') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.0ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0)  (1.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)   (1.1ms) 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)  (1.6ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)   (1.4ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")  (0.8ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20151118031237') 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)   (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0)  (0.6ms) 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.6ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar)  (1.0ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)   (1.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, "slug" varchar)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")  (0.7ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.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)  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20151118031237') 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)   (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (915.3ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.2ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0)  (1.4ms) 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)   (1.2ms) 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)  (1.5ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)   (1.2ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")  (0.6ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.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)  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151118031237') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4735.8ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.4ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0)  (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)   (1.0ms) 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)  (1.4ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)   (1.4ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)  (0.1ms) select sqlite_version(*)  (1.4ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")  (1.4ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.8ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151118031237') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2580.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.2ms) select sqlite_version(*)  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.3ms) begin transaction  (0.7ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (2.0ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (0.9ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (0.7ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.0ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]  (0.7ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.9ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.8ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-08 17:40:35.694798"], ["updated_at", "2015-12-08 17:40:35.694798"]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-08 17:40:35.696912"], ["updated_at", "2015-12-08 17:40:35.696912"]] SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-08 17:40:35.698431"], ["updated_at", "2015-12-08 17:40:35.698431"]] 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.5ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.8ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.5ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "pulitzer_post_tags"  (0.6ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "apulitzer_post_tags"  (0.6ms) DROP TABLE "apulitzer_post_tags" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (1.1ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar SQL (0.2ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."id" ASC) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (0.8ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.7ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.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.0ms) SELECT * FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.3ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "pulitzer_post_tags"  (0.4ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "apulitzer_post_tags"  (0.2ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (1.0ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer Scoped order and limit are ignored, it's forced to be batch order and batch size Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1000 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (1.1ms) 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.3ms) DROP TABLE "pulitzer_post_types"  (0.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean)   (0.0ms) SELECT * FROM "apulitzer_post_types"  (0.1ms) DROP TABLE "apulitzer_post_types"  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.7ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_pulitzer_posts_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_posts_on_slug' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (535.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.8ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (1.3ms) 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"]]  (1.1ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]  (1.2ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (1.3ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.7ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.7ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-08 17:45:16.677483"], ["updated_at", "2015-12-08 17:45:16.677483"]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-08 17:45:16.679475"], ["updated_at", "2015-12-08 17:45:16.679475"]] SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-08 17:45:16.680344"], ["updated_at", "2015-12-08 17:45:16.680344"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.8ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.3ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.8ms) commit transaction Migrating to CreateSearchLocations (20150901153531)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150901153531"]]  (0.7ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.0ms) begin transaction  (0.5ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "pulitzer_post_tags"  (0.3ms) DROP TABLE "pulitzer_post_tags"  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "apulitzer_post_tags"  (0.5ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (1.0ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.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.8ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.7ms) 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.0ms) SELECT * FROM "pulitzer_content_elements"  (0.2ms) DROP TABLE "pulitzer_content_elements"  (0.1ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) 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.5ms) DROP TABLE "pulitzer_post_tags"  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1000 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (1.1ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer Scoped order and limit are ignored, it's forced to be batch order and batch size Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1000 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.6ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "template" boolean)  (0.0ms) SELECT * FROM "pulitzer_post_types"  (0.2ms) DROP TABLE "pulitzer_post_types"  (0.2ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean)   (0.1ms) SELECT * FROM "apulitzer_post_types"  (0.1ms) DROP TABLE "apulitzer_post_types"  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.6ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.7ms) commit transaction 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' ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.5ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 14:16:05.701858"], ["updated_at", "2015-12-09 14:16:05.701858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 14:17:28.286753"], ["updated_at", "2015-12-09 14:17:28.286753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (324.9ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.4ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 14:18:01.976544"], ["updated_at", "2015-12-09 14:18:01.976544"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.4ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 14:22:12.241211"], ["updated_at", "2015-12-09 14:22:12.241211"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Pulitzer::ContentElement Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 14:32:15.309366"], ["updated_at", "2015-12-09 14:32:15.309366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 16:41:03.243414"], ["updated_at", "2015-12-09 16:41:03.243414"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 16:44:23.497127"], ["updated_at", "2015-12-09 16:44:23.497127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (724.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 16:44:53.964376"], ["updated_at", "2015-12-09 16:44:53.964376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (751.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["created_at", "2015-12-09 16:44:54.734071"], ["updated_at", "2015-12-09 16:44:54.734071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 16:46:54.342206"], ["updated_at", "2015-12-09 16:46:54.342206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (695.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["created_at", "2015-12-09 16:46:55.053536"], ["updated_at", "2015-12-09 16:46:55.053536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (254.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image 1"], ["created_at", "2015-12-09 16:59:33.601003"], ["updated_at", "2015-12-09 16:59:33.601003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 16:59:33.887512"], ["updated_at", "2015-12-09 16:59:33.887512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image 2"], ["created_at", "2015-12-09 16:59:33.898336"], ["updated_at", "2015-12-09 16:59:33.898336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image 3"], ["created_at", "2015-12-09 16:59:33.902711"], ["updated_at", "2015-12-09 16:59:33.902711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image 4"], ["created_at", "2015-12-09 16:59:33.906447"], ["updated_at", "2015-12-09 16:59:33.906447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 4], ["created_at", "2015-12-09 16:59:33.908911"], ["updated_at", "2015-12-09 16:59:33.908911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image 1"], ["created_at", "2015-12-09 17:00:15.168729"], ["updated_at", "2015-12-09 17:00:15.168729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (203.5ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:00:15.406210"], ["updated_at", "2015-12-09 17:00:15.406210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image 2"], ["created_at", "2015-12-09 17:00:15.414995"], ["updated_at", "2015-12-09 17:00:15.414995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image 3"], ["created_at", "2015-12-09 17:00:15.419787"], ["updated_at", "2015-12-09 17:00:15.419787"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image 4"], ["created_at", "2015-12-09 17:00:15.424301"], ["updated_at", "2015-12-09 17:00:15.424301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image 5"], ["created_at", "2015-12-09 17:00:15.449985"], ["updated_at", "2015-12-09 17:00:15.449985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 4], ["created_at", "2015-12-09 17:00:15.452310"], ["updated_at", "2015-12-09 17:00:15.452310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-09 17:01:53.965738"], ["updated_at", "2015-12-09 17:01:53.965738"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (113.3ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:01:54.109542"], ["updated_at", "2015-12-09 17:01:54.109542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-09 17:01:54.119526"], ["updated_at", "2015-12-09 17:01:54.119526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-09 17:01:54.123806"], ["updated_at", "2015-12-09 17:01:54.123806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-09 17:01:54.128043"], ["updated_at", "2015-12-09 17:01:54.128043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-09 17:01:54.155445"], ["updated_at", "2015-12-09 17:01:54.155445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 4], ["created_at", "2015-12-09 17:01:54.158738"], ["updated_at", "2015-12-09 17:01:54.158738"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-09 17:02:24.150826"], ["updated_at", "2015-12-09 17:02:24.150826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (34.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:02:24.220439"], ["updated_at", "2015-12-09 17:02:24.220439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-09 17:02:24.231011"], ["updated_at", "2015-12-09 17:02:24.231011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-09 17:02:24.236240"], ["updated_at", "2015-12-09 17:02:24.236240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-09 17:02:24.242374"], ["updated_at", "2015-12-09 17:02:24.242374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-09 17:02:24.268108"], ["updated_at", "2015-12-09 17:02:24.268108"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 4], ["created_at", "2015-12-09 17:02:24.272969"], ["updated_at", "2015-12-09 17:02:24.272969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 Pulitzer::ContentElementType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'tEXT' LIMIT 1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'tEXT' LIMIT 1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'tEXT' LIMIT 1  (0.0ms) rollback transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" ORDER BY "pulitzer_content_element_types"."id" DESC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "pulitzer_content_element_types"  (0.2ms) SELECT "pulitzer_content_element_types"."name" FROM "pulitzer_content_element_types" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:23:52.192056"], ["updated_at", "2015-12-09 17:23:52.192056"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["created_at", "2015-12-09 17:23:52.219705"], ["updated_at", "2015-12-09 17:23:52.219705"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:24:21.148003"], ["updated_at", "2015-12-09 17:24:21.148003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (103.6ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["created_at", "2015-12-09 17:24:21.273697"], ["updated_at", "2015-12-09 17:24:21.273697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:24:34.260762"], ["updated_at", "2015-12-09 17:24:34.260762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (654.5ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.2ms) begin transaction Pulitzer::ContentElementType Load (6.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["created_at", "2015-12-09 17:26:06.825937"], ["updated_at", "2015-12-09 17:26:06.825937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:26:10.713837"], ["updated_at", "2015-12-09 17:26:10.713837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (2105.3ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["created_at", "2015-12-09 17:26:12.849947"], ["updated_at", "2015-12-09 17:26:12.849947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:27:20.780798"], ["updated_at", "2015-12-09 17:27:20.780798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (217.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["created_at", "2015-12-09 17:27:23.427936"], ["updated_at", "2015-12-09 17:27:23.427936"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:27:39.100076"], ["updated_at", "2015-12-09 17:27:39.100076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (895.4ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-09 17:27:40.021071"], ["updated_at", "2015-12-09 17:27:40.021071"]]  (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", 1]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:28:03.342694"], ["updated_at", "2015-12-09 17:28:03.342694"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (1065.7ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-09 17:28:04.430712"], ["updated_at", "2015-12-09 17:28:04.430712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:28:20.061954"], ["updated_at", "2015-12-09 17:28:20.061954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (200.3ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-09 17:28:20.280675"], ["updated_at", "2015-12-09 17:28:20.280675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:28:35.089513"], ["updated_at", "2015-12-09 17:28:35.089513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (755.3ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-09 17:28:35.873900"], ["updated_at", "2015-12-09 17:28:35.873900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:30:50.403175"], ["updated_at", "2015-12-09 17:30:50.403175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (43.5ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:32:51.078940"], ["updated_at", "2015-12-09 17:32:51.078940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.2ms) begin transaction Pulitzer::ContentElementType Load (0.7ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:49:53.438907"], ["updated_at", "2015-12-09 17:49:53.438907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:50:06.839916"], ["updated_at", "2015-12-09 17:50:06.839916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (1076.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:51:24.998409"], ["updated_at", "2015-12-09 17:51:24.998409"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (53.5ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:52:06.249310"], ["updated_at", "2015-12-09 17:52:06.249310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (604.7ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:52:22.353819"], ["updated_at", "2015-12-09 17:52:22.353819"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (274.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:53:13.640010"], ["updated_at", "2015-12-09 17:53:13.640010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (2512.5ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:53:59.302294"], ["updated_at", "2015-12-09 17:53:59.302294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (203.9ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 17:54:33.428153"], ["updated_at", "2015-12-09 17:54:33.428153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (203.6ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 19:30:54.004396"], ["updated_at", "2015-12-09 19:30:54.004396"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 19:31:02.761837"], ["updated_at", "2015-12-09 19:31:02.761837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (2630.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-09 19:52:43.704429"], ["updated_at", "2015-12-09 19:52:43.704429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Load (0.4ms) 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", "2015-12-09 20:19:14.764746"], ["updated_at", "2015-12-09 20:19:14.764746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Load (0.4ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-09 20:22:16.575123"], ["updated_at", "2015-12-09 20:22:16.575123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-09 20:22:26.441463"], ["updated_at", "2015-12-09 20:22:26.441463"]]  (0.0ms) 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.0ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback 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.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-09 20:23:08.139406"], ["updated_at", "2015-12-09 20:23:08.139406"]]  (0.0ms) 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  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-09 20:23:19.990547"], ["updated_at", "2015-12-09 20:23:19.990547"]]  (0.0ms) 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  (344.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-09 20:23:34.206790"], ["updated_at", "2015-12-09 20:23:34.206790"]]  (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  (143.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.1ms) 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", "2015-12-09 20:25:33.562273"], ["updated_at", "2015-12-09 20:25:33.562273"]]  (0.0ms) 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.0ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1  (294.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-09 20:26:18.674514"], ["updated_at", "2015-12-09 20:26:18.674514"]]  (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  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::Tag Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 01:49:59.309661"], ["updated_at", "2015-12-10 01:49:59.309661"]]  (0.0ms) 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.0ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback 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", "2015-12-10 01:50:26.137736"], ["updated_at", "2015-12-10 01:50:26.137736"]]  (0.0ms) 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  (51.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 02:32:04.826827"], ["updated_at", "2015-12-10 02:32:04.826827"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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" = 'The north 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 02:33:02.111901"], ["updated_at", "2015-12-10 02:33:02.111901"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 02:43:54.996597"], ["updated_at", "2015-12-10 02:43:54.996597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.4ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::PostTag Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" IS NULL LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostTag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" IS NULL LIMIT 1 Pulitzer::PostTag Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."label_id" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostTag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" IS NULL LIMIT 1 Pulitzer::PostTag Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."label_id" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::PostTag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" IS NULL LIMIT 1 Pulitzer::PostTag Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."label_id" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 02:44:15.654006"], ["updated_at", "2015-12-10 02:44:15.654006"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 1]]  (1156.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) 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 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 02:44:58.925148"], ["updated_at", "2015-12-10 02:44:58.925148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (534.6ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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" = 'The north 1' LIMIT 1 SQL (0.9ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 02:45:06.186727"], ["updated_at", "2015-12-10 02:45:06.186727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (424.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 02:45:15.287159"], ["updated_at", "2015-12-10 02:45:15.287159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 1]]  (444.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 02:45:26.023320"], ["updated_at", "2015-12-10 02:45:26.023320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 1]]  (203.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 02:46:10.772455"], ["updated_at", "2015-12-10 02:46:10.772455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1880.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 02:46:46.919720"], ["updated_at", "2015-12-10 02:46:46.919720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (23.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 02:46:57.566570"], ["updated_at", "2015-12-10 02:46:57.566570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (995.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 02:47:40.906031"], ["updated_at", "2015-12-10 02:47:40.906031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (23.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-10 02:47:48.434410"], ["updated_at", "2015-12-10 02:47:48.434410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 02:47:48.581339"], ["updated_at", "2015-12-10 02:47:48.581339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 02:47:48.613863"], ["updated_at", "2015-12-10 02:47:48.613863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.3ms) 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  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-10 02:47:55.073342"], ["updated_at", "2015-12-10 02:47:55.073342"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (3.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 02:47:55.179190"], ["updated_at", "2015-12-10 02:47:55.179190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 02:47:55.210114"], ["updated_at", "2015-12-10 02:47:55.210114"]]  (0.0ms) 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  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-10 03:03:33.131902"], ["updated_at", "2015-12-10 03:03:33.131902"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 03:03:33.267715"], ["updated_at", "2015-12-10 03:03:33.267715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 03:03:33.297513"], ["updated_at", "2015-12-10 03:03:33.297513"]]  (0.0ms) 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.0ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" ORDER BY "pulitzer_versions"."id" ASC LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-10 03:03:48.124425"], ["updated_at", "2015-12-10 03:03:48.124425"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (925.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 03:03:49.162444"], ["updated_at", "2015-12-10 03:03:49.162444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 03:03:49.190705"], ["updated_at", "2015-12-10 03:03:49.190705"]]  (0.0ms) 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  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" ORDER BY "pulitzer_versions"."id" ASC LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-10 03:03:58.161656"], ["updated_at", "2015-12-10 03:03:58.161656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (1377.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 03:03:59.659270"], ["updated_at", "2015-12-10 03:03:59.659270"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 03:03:59.703522"], ["updated_at", "2015-12-10 03:03:59.703522"]]  (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  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" ORDER BY "pulitzer_versions"."id" ASC LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" ORDER BY "pulitzer_versions"."id" ASC LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" ORDER BY "pulitzer_versions"."id" ASC LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::Post Load (0.4ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-10 03:21:05.769710"], ["updated_at", "2015-12-10 03:21:05.769710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (294.3ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 03:21:06.181832"], ["updated_at", "2015-12-10 03:21:06.181832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 03:21:06.213105"], ["updated_at", "2015-12-10 03:21:06.213105"]]  (0.0ms) 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  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-10 03:22:50.728376"], ["updated_at", "2015-12-10 03:22:50.728376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (13.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 03:22:50.852711"], ["updated_at", "2015-12-10 03:22:50.852711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 03:22:50.860828"], ["updated_at", "2015-12-10 03:22:50.860828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.1ms) 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.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 03:22:50.890259"], ["updated_at", "2015-12-10 03:22:50.890259"]]  (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  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-10 03:24:41.299810"], ["updated_at", "2015-12-10 03:24:41.299810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (203.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 03:24:42.825735"], ["updated_at", "2015-12-10 03:24:42.825735"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 03:24:42.832616"], ["updated_at", "2015-12-10 03:24:42.832616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback 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.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 03:24:42.864499"], ["updated_at", "2015-12-10 03:24:42.864499"]]  (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  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-10 03:32:36.737218"], ["updated_at", "2015-12-10 03:32:36.737218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (202.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 03:32:37.050885"], ["updated_at", "2015-12-10 03:32:37.050885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 03:32:37.058585"], ["updated_at", "2015-12-10 03:32:37.058585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 03:32:37.090358"], ["updated_at", "2015-12-10 03:32:37.090358"]]  (0.0ms) 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  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.5ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-10 15:05:18.364868"], ["updated_at", "2015-12-10 15:05:18.364868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 15:05:18.502853"], ["updated_at", "2015-12-10 15:05:18.502853"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 15:05:18.510203"], ["updated_at", "2015-12-10 15:05:18.510203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 15:05:18.537127"], ["updated_at", "2015-12-10 15:05:18.537127"]]  (0.0ms) 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.0ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-10 15:05:38.641050"], ["updated_at", "2015-12-10 15:05:38.641050"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (374.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 15:05:39.152918"], ["updated_at", "2015-12-10 15:05:39.152918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 15:05:39.160635"], ["updated_at", "2015-12-10 15:05:39.160635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 15:05:39.192436"], ["updated_at", "2015-12-10 15:05:39.192436"]]  (0.0ms) 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  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1056.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 15:35:43.430524"], ["updated_at", "2015-12-10 15:35:43.430524"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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"], ["plural", "f"], ["created_at", "2015-12-10 16:09:39.446244"], ["updated_at", "2015-12-10 16:09:39.446244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]]  (2028.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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"], ["plural", "f"], ["created_at", "2015-12-10 16:11:41.901507"], ["updated_at", "2015-12-10 16:11:41.901507"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]]  (5538.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 16:11:47.568880"], ["updated_at", "2015-12-10 16:11:47.568880"]]  (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"]] SQL (0.8ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 16:11:47.571559"], ["updated_at", "2015-12-10 16:11:47.571559"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 16:11:47.588859"], ["updated_at", "2015-12-10 16:11:47.588859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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"], ["plural", "f"], ["created_at", "2015-12-10 16:17:47.017588"], ["updated_at", "2015-12-10 16:17:47.017588"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]]  (1226.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback 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"], ["plural", "f"], ["created_at", "2015-12-10 16:17:48.375405"], ["updated_at", "2015-12-10 16:17:48.375405"]]  (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"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 16:17:48.379329"], ["updated_at", "2015-12-10 16:17:48.379329"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 16:17:48.395300"], ["updated_at", "2015-12-10 16:17:48.395300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback 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"], ["plural", "f"], ["created_at", "2015-12-10 16:17:48.400924"], ["updated_at", "2015-12-10 16:17:48.400924"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (0.9ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 16:17:48.404873"], ["updated_at", "2015-12-10 16:17:48.404873"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 16:17:48.407989"], ["updated_at", "2015-12-10 16:17:48.407989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-10 16:17:48.414085"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-10 16:50:45.243854"], ["updated_at", "2015-12-10 16:50:45.243854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback 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"], ["plural", "f"], ["created_at", "2015-12-10 16:50:45.364437"], ["updated_at", "2015-12-10 16:50:45.364437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]]  (242.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback 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"], ["plural", "f"], ["created_at", "2015-12-10 16:50:45.722623"], ["updated_at", "2015-12-10 16:50:45.722623"]]  (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"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 16:50:45.725806"], ["updated_at", "2015-12-10 16:50:45.725806"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 16:50:45.751278"], ["updated_at", "2015-12-10 16:50:45.751278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 16:50:45.756383"], ["updated_at", "2015-12-10 16:50:45.756383"]]  (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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 16:50:45.758979"], ["updated_at", "2015-12-10 16:50:45.758979"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 16:50:45.760719"], ["updated_at", "2015-12-10 16:50:45.760719"]]  (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" != 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", "2015-12-10 16:50:45.762819"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 16:50:45.774051"], ["updated_at", "2015-12-10 16:50:45.774051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 16:50:45.777669"], ["updated_at", "2015-12-10 16:50:45.777669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.2ms) 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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 16:50:45.840138"], ["updated_at", "2015-12-10 16:50:45.840138"]]  (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  (212.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-10 16:51:03.723123"], ["updated_at", "2015-12-10 16:51:03.723123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (1890.5ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback 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"], ["plural", "f"], ["created_at", "2015-12-10 16:51:05.756942"], ["updated_at", "2015-12-10 16:51:05.756942"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 16:51:05.893579"], ["updated_at", "2015-12-10 16:51:05.893579"]]  (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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 16:51:05.896992"], ["updated_at", "2015-12-10 16:51:05.896992"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 16:51:05.923586"], ["updated_at", "2015-12-10 16:51:05.923586"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback 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"], ["plural", "f"], ["created_at", "2015-12-10 16:51:05.928223"], ["updated_at", "2015-12-10 16:51:05.928223"]]  (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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 16:51:05.930833"], ["updated_at", "2015-12-10 16:51:05.930833"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 16:51:05.932480"], ["updated_at", "2015-12-10 16:51:05.932480"]]  (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" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.5ms) 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", "2015-12-10 16:51:05.934511"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 16:51:05.948979"], ["updated_at", "2015-12-10 16:51:05.948979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 16:51:05.953746"], ["updated_at", "2015-12-10 16:51:05.953746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 16:51:05.958521"], ["updated_at", "2015-12-10 16:51:05.958521"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 16:51:05.960435"], ["updated_at", "2015-12-10 16:51:05.960435"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 16:51:05.962454"], ["updated_at", "2015-12-10 16:51:05.962454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback 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.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 16:51:06.030138"], ["updated_at", "2015-12-10 16:51:06.030138"]]  (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  (824.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.8ms) begin transaction  (0.0ms) rollback 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"], ["plural", "f"], ["created_at", "2015-12-10 16:51:06.879046"], ["updated_at", "2015-12-10 16:51:06.879046"]]  (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"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 16:51:06.883600"], ["updated_at", "2015-12-10 16:51:06.883600"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 16:51:06.887135"], ["updated_at", "2015-12-10 16:51:06.887135"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 17:15:55.896636"], ["updated_at", "2015-12-10 17:15:55.896636"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.5ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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"], ["plural", "f"], ["created_at", "2015-12-10 17:16:10.555153"], ["updated_at", "2015-12-10 17:16:10.555153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (22.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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"], ["plural", "f"], ["created_at", "2015-12-10 17:16:33.952534"], ["updated_at", "2015-12-10 17:16:33.952534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (801.3ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-10 17:16:40.515886"], ["updated_at", "2015-12-10 17:16:40.515886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback 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"], ["plural", "f"], ["created_at", "2015-12-10 17:16:40.643759"], ["updated_at", "2015-12-10 17:16:40.643759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (1837.5ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 17:16:42.603162"], ["updated_at", "2015-12-10 17:16:42.603162"]]  (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"]] SQL (0.7ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 17:16:42.605794"], ["updated_at", "2015-12-10 17:16:42.605794"]] SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:16:42.631192"], ["updated_at", "2015-12-10 17:16:42.631192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 17:16:42.636458"], ["updated_at", "2015-12-10 17:16:42.636458"]]  (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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 17:16:42.638969"], ["updated_at", "2015-12-10 17:16:42.638969"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:16:42.640509"], ["updated_at", "2015-12-10 17:16:42.640509"]]  (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" != 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", "2015-12-10 17:16:42.642704"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.4ms) 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", "2015-12-10 17:16:42.656700"], ["updated_at", "2015-12-10 17:16:42.656700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 17:16:42.660822"], ["updated_at", "2015-12-10 17:16:42.660822"]]  (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"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 17:16:42.663467"], ["updated_at", "2015-12-10 17:16:42.663467"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:16:42.664928"], ["updated_at", "2015-12-10 17:16:42.664928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:16:42.666139"], ["updated_at", "2015-12-10 17:16:42.666139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 17:16:42.702861"], ["updated_at", "2015-12-10 17:16:42.702861"]]  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 17:16:42.774956"], ["updated_at", "2015-12-10 17:16:42.774956"]]  (0.0ms) 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  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 17:16:42.786360"], ["updated_at", "2015-12-10 17:16:42.786360"]]  (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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 17:16:42.789512"], ["updated_at", "2015-12-10 17:16:42.789512"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:16:42.791147"], ["updated_at", "2015-12-10 17:16:42.791147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-10 17:16:48.599258"], ["updated_at", "2015-12-10 17:16:48.599258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.2ms) rollback 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"], ["plural", "f"], ["created_at", "2015-12-10 17:16:48.696925"], ["updated_at", "2015-12-10 17:16:48.696925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]]  (21.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 17:16:48.827970"], ["updated_at", "2015-12-10 17:16:48.827970"]]  (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"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 17:16:48.831506"], ["updated_at", "2015-12-10 17:16:48.831506"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:16:48.855412"], ["updated_at", "2015-12-10 17:16:48.855412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 17:16:48.859483"], ["updated_at", "2015-12-10 17:16:48.859483"]]  (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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 17:16:48.861899"], ["updated_at", "2015-12-10 17:16:48.861899"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:16:48.863527"], ["updated_at", "2015-12-10 17:16:48.863527"]]  (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" != 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", "2015-12-10 17:16:48.865699"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 17:16:48.878912"], ["updated_at", "2015-12-10 17:16:48.878912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 17:16:48.882241"], ["updated_at", "2015-12-10 17:16:48.882241"]]  (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"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 17:16:48.884681"], ["updated_at", "2015-12-10 17:16:48.884681"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:16:48.886021"], ["updated_at", "2015-12-10 17:16:48.886021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:16:48.887188"], ["updated_at", "2015-12-10 17:16:48.887188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.7ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 17:16:48.925882"], ["updated_at", "2015-12-10 17:16:48.925882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 17:16:48.987624"], ["updated_at", "2015-12-10 17:16:48.987624"]]  (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  (352.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 17:16:49.359290"], ["updated_at", "2015-12-10 17:16:49.359290"]]  (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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 17:16:49.361878"], ["updated_at", "2015-12-10 17:16:49.361878"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:16:49.363529"], ["updated_at", "2015-12-10 17:16:49.363529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.5ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-10 17:22:05.686330"], ["updated_at", "2015-12-10 17:22:05.686330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback 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"], ["plural", "f"], ["created_at", "2015-12-10 17:22:05.815808"], ["updated_at", "2015-12-10 17:22:05.815808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback 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"], ["plural", "f"], ["created_at", "2015-12-10 17:22:05.928422"], ["updated_at", "2015-12-10 17:22:05.928422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 17:22:05.931123"], ["updated_at", "2015-12-10 17:22:05.931123"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:22:05.956526"], ["updated_at", "2015-12-10 17:22:05.956526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 17:22:05.961086"], ["updated_at", "2015-12-10 17:22:05.961086"]]  (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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 17:22:05.963506"], ["updated_at", "2015-12-10 17:22:05.963506"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:22:05.965302"], ["updated_at", "2015-12-10 17:22:05.965302"]]  (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" != 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", "2015-12-10 17:22:05.967538"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-10 17:22:05.981012"], ["updated_at", "2015-12-10 17:22:05.981012"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 17:22:05.985700"], ["updated_at", "2015-12-10 17:22:05.985700"]]  (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"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 17:22:05.988214"], ["updated_at", "2015-12-10 17:22:05.988214"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:22:05.989670"], ["updated_at", "2015-12-10 17:22:05.989670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:22:05.990843"], ["updated_at", "2015-12-10 17:22:05.990843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 17:22:06.028485"], ["updated_at", "2015-12-10 17:22:06.028485"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (9.4ms) 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.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 17:22:06.097840"], ["updated_at", "2015-12-10 17:22:06.097840"]]  (0.0ms) 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  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 17:22:06.108635"], ["updated_at", "2015-12-10 17:22:06.108635"]]  (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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 17:22:06.111270"], ["updated_at", "2015-12-10 17:22:06.111270"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:22:06.112772"], ["updated_at", "2015-12-10 17:22:06.112772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-10 17:22:11.033984"], ["updated_at", "2015-12-10 17:22:11.033984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.2ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.2ms) begin transaction Pulitzer::ContentElementType Load (0.5ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback transaction  (0.1ms) 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"], ["plural", "f"], ["created_at", "2015-12-10 17:22:11.175559"], ["updated_at", "2015-12-10 17:22:11.175559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 17:22:11.288600"], ["updated_at", "2015-12-10 17:22:11.288600"]]  (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"]] SQL (0.7ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 17:22:11.291084"], ["updated_at", "2015-12-10 17:22:11.291084"]] SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:22:11.318417"], ["updated_at", "2015-12-10 17:22:11.318417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback 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"], ["plural", "f"], ["created_at", "2015-12-10 17:22:11.323495"], ["updated_at", "2015-12-10 17:22:11.323495"]]  (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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 17:22:11.327305"], ["updated_at", "2015-12-10 17:22:11.327305"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:22:11.329178"], ["updated_at", "2015-12-10 17:22:11.329178"]]  (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.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-10 17:22:11.334297"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.4ms) 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", "2015-12-10 17:22:11.349695"], ["updated_at", "2015-12-10 17:22:11.349695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 17:22:11.353603"], ["updated_at", "2015-12-10 17:22:11.353603"]]  (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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 17:22:11.356975"], ["updated_at", "2015-12-10 17:22:11.356975"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:22:11.391819"], ["updated_at", "2015-12-10 17:22:11.391819"]]  (0.2ms) 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", "2015-12-10 17:22:11.395363"], ["updated_at", "2015-12-10 17:22:11.395363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback 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"], ["plural", "f"], ["created_at", "2015-12-10 17:22:11.485993"], ["updated_at", "2015-12-10 17:22:11.485993"]]  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-10 17:22:11.612686"], ["updated_at", "2015-12-10 17:22:11.612686"]]  (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  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback 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"], ["plural", "f"], ["created_at", "2015-12-10 17:22:11.626698"], ["updated_at", "2015-12-10 17:22:11.626698"]]  (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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 17:22:11.630437"], ["updated_at", "2015-12-10 17:22:11.630437"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 17:22:11.632398"], ["updated_at", "2015-12-10 17:22:11.632398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.3ms) begin transaction SQL (1.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 20:27:21.367108"], ["updated_at", "2015-12-10 20:27:21.367108"]]  (1.1ms) commit transaction  (0.3ms) begin transaction Pulitzer::Post Exists (0.9ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (1.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-10 20:27:21.697664"], ["updated_at", "2015-12-10 20:27:21.697664"]] SQL (0.7ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-10 20:27:21.735800"], ["updated_at", "2015-12-10 20:27:21.735800"]]  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 20:27:21.786044"], ["updated_at", "2015-12-10 20:27:21.786044"]]  (1.0ms) commit transaction Pulitzer::ContentElementType Load (0.7ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.5ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 20:27:23.982298"], ["updated_at", "2015-12-10 20:27:23.982298"]]  (468.4ms) commit transaction  (0.4ms) begin transaction Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (0.6ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 3], ["slug", "winterfell-news-3bd18508-7ae3-4542-8197-e6ee62bd9b05"], ["created_at", "2015-12-10 20:27:24.473514"], ["updated_at", "2015-12-10 20:27:24.473514"]] SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-10 20:27:24.490507"], ["updated_at", "2015-12-10 20:27:24.490507"]]  (1.1ms) commit transaction  (0.3ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 20:27:24.511789"], ["updated_at", "2015-12-10 20:27:24.511789"]]  (0.9ms) commit transaction Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.3ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 20:33:57.868867"], ["updated_at", "2015-12-10 20:33:57.868867"]]  (0.9ms) commit transaction  (0.3ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 20:33:57.959602"], ["updated_at", "2015-12-10 20:33:57.959602"]]  (996.2ms) commit transaction Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) begin transaction SQL (1.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 20:36:56.089581"], ["updated_at", "2015-12-10 20:36:56.089581"]]  (1.0ms) commit transaction Pulitzer::ContentElementType Load (0.7ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.2ms) begin transaction SQL (0.9ms) 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", 7], ["created_at", "2015-12-10 20:36:56.178293"], ["updated_at", "2015-12-10 20:36:56.178293"]]  (0.9ms) commit transaction Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.4ms) begin transaction SQL (0.5ms) 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", 1], ["post_type_id", 7], ["created_at", "2015-12-10 20:36:56.200453"], ["updated_at", "2015-12-10 20:36:56.200453"]]  (0.8ms) commit transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.2ms) begin transaction SQL (0.6ms) 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", 1], ["post_type_id", 7], ["created_at", "2015-12-10 20:36:56.215661"], ["updated_at", "2015-12-10 20:36:56.215661"]]  (1.0ms) commit transaction Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 7]]  (0.5ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 7]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.4ms) begin transaction SQL (1.8ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 20:47:23.240490"], ["updated_at", "2015-12-10 20:47:23.240490"]]  (1.4ms) commit transaction Pulitzer::ContentElementType Load (0.5ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.3ms) begin transaction SQL (0.6ms) 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", 8], ["created_at", "2015-12-10 20:47:23.391191"], ["updated_at", "2015-12-10 20:47:23.391191"]]  (934.6ms) commit transaction Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.4ms) begin transaction SQL (0.5ms) 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", 1], ["post_type_id", 8], ["created_at", "2015-12-10 20:47:24.352335"], ["updated_at", "2015-12-10 20:47:24.352335"]]  (1.2ms) commit transaction Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.2ms) begin transaction SQL (0.5ms) 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", 1], ["post_type_id", 8], ["created_at", "2015-12-10 20:47:24.372423"], ["updated_at", "2015-12-10 20:47:24.372423"]]  (1.1ms) commit transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.3ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 20:48:22.429611"], ["updated_at", "2015-12-10 20:48:22.429611"]]  (795.8ms) commit transaction Pulitzer::ContentElementType Load (0.5ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.2ms) begin transaction SQL (0.6ms) 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", 9], ["created_at", "2015-12-10 20:48:23.343664"], ["updated_at", "2015-12-10 20:48:23.343664"]]  (1377.5ms) commit transaction Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.4ms) begin transaction SQL (0.6ms) 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", 1], ["post_type_id", 9], ["created_at", "2015-12-10 20:48:24.750007"], ["updated_at", "2015-12-10 20:48:24.750007"]]  (1.0ms) commit transaction Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.3ms) begin transaction SQL (0.5ms) 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", 1], ["post_type_id", 9], ["created_at", "2015-12-10 20:48:24.771619"], ["updated_at", "2015-12-10 20:48:24.771619"]]  (1.1ms) commit transaction  (0.2ms) begin transaction Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (0.6ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 9], ["slug", "winterfell-news-7caa2d94-80ac-4bb9-98bf-029e5d0cb3ab"], ["created_at", "2015-12-10 20:48:27.471097"], ["updated_at", "2015-12-10 20:48:27.471097"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", "2015-12-10 20:48:27.509378"], ["updated_at", "2015-12-10 20:48:27.509378"]]  (1196.7ms) commit transaction Pulitzer::Version Load (0.8ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 3], ["status", 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", 9]]  (0.4ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 9]]  (0.6ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 9]] Pulitzer::Version Load (2.2ms) 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", 3], ["status", 1]] Pulitzer::Version Load (1.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 3], ["status", 1]] Pulitzer::Version Load (0.8ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 3], ["status", 1]] Pulitzer::Version Load (0.8ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 3], ["status", 1]] Pulitzer::Version Load (0.6ms) 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", 3], ["status", 0]] Pulitzer::Version Load (1.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 3], ["status", 0]] Pulitzer::ContentElement Load (3.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 3]] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 3], ["status", 0]]  (0.5ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 3], ["status", 1]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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"], ["plural", "f"], ["created_at", "2015-12-10 21:41:47.773441"], ["updated_at", "2015-12-10 21:41:47.773441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 10], ["created_at", "2015-12-10 21:41:47.800662"], ["updated_at", "2015-12-10 21:41:47.800662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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", 1], ["post_type_id", 10], ["created_at", "2015-12-10 21:41:47.803054"], ["updated_at", "2015-12-10 21:41:47.803054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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 3"], ["content_element_type_id", 1], ["post_type_id", 10], ["created_at", "2015-12-10 21:41:47.804632"], ["updated_at", "2015-12-10 21:41:47.804632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 10]]  (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", "winterfell-news"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 10], ["slug", "winterfell-news-9718bf12-15d6-45a1-8c74-7a59374a3e63"], ["created_at", "2015-12-10 21:41:48.454293"], ["updated_at", "2015-12-10 21:41:48.454293"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", "2015-12-10 21:41:48.461912"], ["updated_at", "2015-12-10 21:41:48.461912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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"], ["plural", "f"], ["created_at", "2015-12-10 21:46:08.279997"], ["updated_at", "2015-12-10 21:46:08.279997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 10], ["created_at", "2015-12-10 21:46:08.305168"], ["updated_at", "2015-12-10 21:46:08.305168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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", 1], ["post_type_id", 10], ["created_at", "2015-12-10 21:46:08.307471"], ["updated_at", "2015-12-10 21:46:08.307471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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 3"], ["content_element_type_id", 1], ["post_type_id", 10], ["created_at", "2015-12-10 21:46:08.309003"], ["updated_at", "2015-12-10 21:46:08.309003"]]  (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", 10]]  (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"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 10], ["slug", "winterfell-news-68bb83b9-b359-4e9b-b5a7-e4cf1f13a19a"], ["created_at", "2015-12-10 21:46:08.430662"], ["updated_at", "2015-12-10 21:46:08.430662"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", "2015-12-10 21:46:08.436509"], ["updated_at", "2015-12-10 21:46:08.436509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 1]]  (693.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 21:46:22.475028"], ["updated_at", "2015-12-10 21:46:22.475028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 10], ["created_at", "2015-12-10 21:46:22.501989"], ["updated_at", "2015-12-10 21:46:22.501989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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", 1], ["post_type_id", 10], ["created_at", "2015-12-10 21:46:22.504424"], ["updated_at", "2015-12-10 21:46:22.504424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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 3"], ["content_element_type_id", 1], ["post_type_id", 10], ["created_at", "2015-12-10 21:46:22.506072"], ["updated_at", "2015-12-10 21:46:22.506072"]]  (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", 10]]  (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", "winterfell-news"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 10], ["slug", "winterfell-news-19f7a790-6cf3-4f3d-8103-d528ffeef683"], ["created_at", "2015-12-10 21:46:22.630116"], ["updated_at", "2015-12-10 21:46:22.630116"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", "2015-12-10 21:46:22.636220"], ["updated_at", "2015-12-10 21:46:22.636220"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 10]] Pulitzer::PostTypeContentElementType 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", 10]] Pulitzer::Version Load (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", 4], ["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", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 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", 4], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 10], ["created_at", "2015-12-10 21:46:22.725208"], ["updated_at", "2015-12-10 21:46:22.725208"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 4], ["label", "Slide 1 content element 2"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 11], ["created_at", "2015-12-10 21:46:22.733913"], ["updated_at", "2015-12-10 21:46:22.733913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["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", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 4], ["label", "Slide 1 content element 3"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 12], ["created_at", "2015-12-10 21:46:22.742928"], ["updated_at", "2015-12-10 21:46:22.742928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-10 22:26:07.434426"], ["updated_at", "2015-12-10 22:26:07.434426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", 10], ["created_at", "2015-12-10 22:26:07.466031"], ["updated_at", "2015-12-10 22:26:07.466031"]]  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (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 2"], ["content_element_type_id", 1], ["post_type_id", 10], ["created_at", "2015-12-10 22:26:07.470642"], ["updated_at", "2015-12-10 22:26:07.470642"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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 3"], ["content_element_type_id", 1], ["post_type_id", 10], ["created_at", "2015-12-10 22:26:07.473191"], ["updated_at", "2015-12-10 22:26:07.473191"]]  (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", 10]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 10], ["slug", "winterfell-news-9affe462-acfe-4cce-8860-290a416a09dd"], ["created_at", "2015-12-10 22:26:08.467198"], ["updated_at", "2015-12-10 22:26:08.467198"]] SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", "2015-12-10 22:26:08.476887"], ["updated_at", "2015-12-10 22:26:08.476887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 10]] Pulitzer::PostTypeContentElementType 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", 10]] Pulitzer::Version Load (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", 4], ["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", 1]] Pulitzer::ContentElement Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 4], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 10], ["created_at", "2015-12-10 22:26:08.503079"], ["updated_at", "2015-12-10 22:26:08.503079"]]  (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", 4], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 4], ["label", "Slide 1 content element 2"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 11], ["created_at", "2015-12-10 22:26:08.508152"], ["updated_at", "2015-12-10 22:26:08.508152"]]  (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", 4], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 4], ["label", "Slide 1 content element 3"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 12], ["created_at", "2015-12-10 22:26:08.513224"], ["updated_at", "2015-12-10 22:26:08.513224"]]  (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", 4], ["status", 1]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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"], ["plural", "f"], ["created_at", "2015-12-10 22:26:26.961736"], ["updated_at", "2015-12-10 22:26:26.961736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 10], ["created_at", "2015-12-10 22:26:26.986884"], ["updated_at", "2015-12-10 22:26:26.986884"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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 2"], ["content_element_type_id", 1], ["post_type_id", 10], ["created_at", "2015-12-10 22:26:26.989987"], ["updated_at", "2015-12-10 22:26:26.989987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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 3"], ["content_element_type_id", 1], ["post_type_id", 10], ["created_at", "2015-12-10 22:26:26.992128"], ["updated_at", "2015-12-10 22:26:26.992128"]]  (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", 10]]  (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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 10], ["slug", "winterfell-news-9fad7d3f-5645-44e2-8bbd-99dfb71be698"], ["created_at", "2015-12-10 22:26:27.119233"], ["updated_at", "2015-12-10 22:26:27.119233"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", "2015-12-10 22:26:27.125277"], ["updated_at", "2015-12-10 22:26:27.125277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 10]] Pulitzer::PostTypeContentElementType 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", 10]] Pulitzer::Version Load (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", 4], ["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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 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", 4], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 10], ["created_at", "2015-12-10 22:26:27.154701"], ["updated_at", "2015-12-10 22:26:27.154701"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 4], ["label", "Slide 1 content element 2"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 11], ["created_at", "2015-12-10 22:26:27.160073"], ["updated_at", "2015-12-10 22:26:27.160073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 4], ["label", "Slide 1 content element 3"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 12], ["created_at", "2015-12-10 22:26:27.164993"], ["updated_at", "2015-12-10 22:26:27.164993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] Pulitzer::Version Load (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", 4], ["status", 1]]  (760.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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"], ["plural", "f"], ["created_at", "2015-12-10 22:26:51.435551"], ["updated_at", "2015-12-10 22:26:51.435551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 10], ["created_at", "2015-12-10 22:26:51.461236"], ["updated_at", "2015-12-10 22:26:51.461236"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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", 1], ["post_type_id", 10], ["created_at", "2015-12-10 22:26:51.463613"], ["updated_at", "2015-12-10 22:26:51.463613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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 3"], ["content_element_type_id", 1], ["post_type_id", 10], ["created_at", "2015-12-10 22:26:51.465235"], ["updated_at", "2015-12-10 22:26:51.465235"]]  (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", 10]]  (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"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 10], ["slug", "winterfell-news-c5687147-b1a9-491c-9ef1-ad98b783a92c"], ["created_at", "2015-12-10 22:26:51.602973"], ["updated_at", "2015-12-10 22:26:51.602973"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", "2015-12-10 22:26:51.610713"], ["updated_at", "2015-12-10 22:26:51.610713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 10]] Pulitzer::PostTypeContentElementType 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", 10]] Pulitzer::Version Load (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", 4], ["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", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.3ms) 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", 4], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 10], ["created_at", "2015-12-10 22:26:51.634290"], ["updated_at", "2015-12-10 22:26:51.634290"]]  (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", 4], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 4], ["label", "Slide 1 content element 2"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 11], ["created_at", "2015-12-10 22:26:51.639302"], ["updated_at", "2015-12-10 22:26:51.639302"]]  (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", 4], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 4], ["label", "Slide 1 content element 3"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 12], ["created_at", "2015-12-10 22:26:51.643526"], ["updated_at", "2015-12-10 22:26:51.643526"]]  (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", 4], ["status", 1]]  (112.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 18:40:50.769663"], ["updated_at", "2015-12-11 18:40:50.769663"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) 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", 10], ["created_at", "2015-12-11 18:40:50.795502"], ["updated_at", "2015-12-11 18:40:50.795502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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", 1], ["post_type_id", 10], ["created_at", "2015-12-11 18:40:50.798069"], ["updated_at", "2015-12-11 18:40:50.798069"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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 3"], ["content_element_type_id", 1], ["post_type_id", 10], ["created_at", "2015-12-11 18:40:50.799597"], ["updated_at", "2015-12-11 18:40:50.799597"]]  (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", 10]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 10], ["slug", "winterfell-news-608f4442-0ece-4cba-9225-d65d87333183"], ["created_at", "2015-12-11 18:40:52.109415"], ["updated_at", "2015-12-11 18:40:52.109415"]] SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", "2015-12-11 18:40:52.115527"], ["updated_at", "2015-12-11 18:40:52.115527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 1]] Pulitzer::Version Load (1.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 1]] Pulitzer::PostType Load (0.5ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 10]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* 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" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 10]]  (0.6ms) SELECT COUNT(*) 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" = ? [["post_type_id", 10]]  (0.4ms) SELECT COUNT(*) 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" = ? [["post_type_id", 10]] 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", 10]]  (0.5ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 10]]  (0.4ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 10]]  (0.4ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 10]] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 10]]  (0.4ms) begin transaction  (0.3ms) commit transaction  (0.4ms) begin transaction  (0.3ms) commit transaction Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] Pulitzer::Post Load (0.4ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]]  (0.4ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.4ms) SELECT "pulitzer_posts"."id" FROM "pulitzer_posts"  (0.3ms) begin transaction  (0.4ms) commit transaction Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 10]] Pulitzer::PostTypeContentElementType 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", 10]] Pulitzer::Version Load (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", 4], ["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", 1]] Pulitzer::ContentElement Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 4], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 10], ["created_at", "2015-12-11 19:24:52.609583"], ["updated_at", "2015-12-11 19:24:52.609583"]]  (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", 4], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 4], ["label", "Slide 1 content element 2"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 11], ["created_at", "2015-12-11 19:24:52.613583"], ["updated_at", "2015-12-11 19:24:52.613583"]]  (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", 4], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 4], ["label", "Slide 1 content element 3"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 12], ["created_at", "2015-12-11 19:24:52.617039"], ["updated_at", "2015-12-11 19:24:52.617039"]]  (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", 4], ["status", 1]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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"], ["plural", "f"], ["created_at", "2015-12-11 19:24:58.315868"], ["updated_at", "2015-12-11 19:24:58.315868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) 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", 10], ["created_at", "2015-12-11 19:24:58.357295"], ["updated_at", "2015-12-11 19:24:58.357295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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", 1], ["post_type_id", 10], ["created_at", "2015-12-11 19:24:58.360295"], ["updated_at", "2015-12-11 19:24:58.360295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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 3"], ["content_element_type_id", 1], ["post_type_id", 10], ["created_at", "2015-12-11 19:24:58.362441"], ["updated_at", "2015-12-11 19:24:58.362441"]]  (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", 10]]  (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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 10], ["slug", "winterfell-news-cd082779-0703-4125-a242-c537c37c817b"], ["created_at", "2015-12-11 19:24:58.512446"], ["updated_at", "2015-12-11 19:24:58.512446"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", "2015-12-11 19:24:58.521193"], ["updated_at", "2015-12-11 19:24:58.521193"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 1]] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 10]] Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 4]] Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 10]] 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", 10]] Pulitzer::Version Load (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", 4], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 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", 4], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 10], ["created_at", "2015-12-11 19:30:36.663912"], ["updated_at", "2015-12-11 19:30:36.663912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["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]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 4], ["label", "Slide 1 content element 2"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 11], ["created_at", "2015-12-11 19:30:36.671154"], ["updated_at", "2015-12-11 19:30:36.671154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 4], ["label", "Slide 1 content element 3"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 12], ["created_at", "2015-12-11 19:30:36.676619"], ["updated_at", "2015-12-11 19:30:36.676619"]]  (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", 4], ["status", 1]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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"], ["plural", "f"], ["created_at", "2015-12-11 19:30:41.587246"], ["updated_at", "2015-12-11 19:30:41.587246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", 10], ["created_at", "2015-12-11 19:30:41.618894"], ["updated_at", "2015-12-11 19:30:41.618894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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 2"], ["content_element_type_id", 1], ["post_type_id", 10], ["created_at", "2015-12-11 19:30:41.621808"], ["updated_at", "2015-12-11 19:30:41.621808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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 3"], ["content_element_type_id", 1], ["post_type_id", 10], ["created_at", "2015-12-11 19:30:41.624682"], ["updated_at", "2015-12-11 19:30:41.624682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 10]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 10]]  (0.2ms) begin transaction SQL (573.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 19:31:13.603256"], ["updated_at", "2015-12-11 19:31:13.603256"]]  (0.4ms) rollback transaction  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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"], ["plural", "f"], ["created_at", "2015-12-11 19:34:08.483437"], ["updated_at", "2015-12-11 19:34:08.483437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", 10], ["created_at", "2015-12-11 19:34:08.511191"], ["updated_at", "2015-12-11 19:34:08.511191"]]  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", 1], ["post_type_id", 10], ["created_at", "2015-12-11 19:34:08.515236"], ["updated_at", "2015-12-11 19:34:08.515236"]]  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (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", 1], ["post_type_id", 10], ["created_at", "2015-12-11 19:34:08.518623"], ["updated_at", "2015-12-11 19:34:08.518623"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 10]]  (0.3ms) begin transaction SQL (576.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 19:34:14.961813"], ["updated_at", "2015-12-11 19:34:14.961813"]]  (0.3ms) rollback transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 19:34:18.747316"], ["updated_at", "2015-12-11 19:34:18.747316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 11], ["slug", "winterfell-news-ea3b2cf5-75ba-4ba4-835b-73b65cfbbf3a"], ["created_at", "2015-12-11 19:34:18.851642"], ["updated_at", "2015-12-11 19:34:18.851642"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", "2015-12-11 19:34:18.858039"], ["updated_at", "2015-12-11 19:34:18.858039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 4], ["status", 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", 11]] Pulitzer::Version Load (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", 4], ["status", 1]]  (0.6ms) rollback transaction  (1133.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.2ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.7ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (0.7ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]  (0.7ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.7ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.0ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.6ms) 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-11 19:34:38.193142"], ["updated_at", "2015-12-11 19:34:38.193142"]] 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.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-11 19:34:38.195770"], ["updated_at", "2015-12-11 19:34:38.195770"]] 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", "2015-12-11 19:34:38.197264"], ["updated_at", "2015-12-11 19:34:38.197264"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.8ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.3ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (1.0ms) commit transaction Migrating to CreateSearchLocations (20150901153531)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150901153531"]]  (0.7ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.0ms) 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.0ms) SELECT * FROM "pulitzer_post_tags"  (0.8ms) DROP TABLE "pulitzer_post_tags"  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "apulitzer_post_tags"  (0.2ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.8ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."id" ASC) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (0.8ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.7ms) 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.2ms) DROP TABLE "pulitzer_content_elements"  (0.1ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) 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.0ms) SELECT * FROM "pulitzer_post_tags"  (0.2ms) DROP TABLE "pulitzer_post_tags"  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) 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"]]  (1.0ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer Scoped order and limit are ignored, it's forced to be batch order and batch size Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1000 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.7ms) 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.3ms) DROP TABLE "pulitzer_post_types"  (0.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean)  (0.0ms) SELECT * FROM "apulitzer_post_types"  (0.1ms) DROP TABLE "apulitzer_post_types"  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.6ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.7ms) commit transaction 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'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1175.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 19:34:42.461348"], ["updated_at", "2015-12-11 19:34:42.461348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", "2015-12-11 19:34:43.691263"], ["updated_at", "2015-12-11 19:34:43.691263"]]  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) 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", 1], ["post_type_id", 1], ["created_at", "2015-12-11 19:34:43.700753"], ["updated_at", "2015-12-11 19:34:43.700753"]]  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (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", 1], ["post_type_id", 1], ["created_at", "2015-12-11 19:34:43.704857"], ["updated_at", "2015-12-11 19:34:43.704857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]]  (0.3ms) begin transaction SQL (592.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 19:53:42.215005"], ["updated_at", "2015-12-11 19:53:42.215005"]]  (0.3ms) rollback transaction  (0.6ms) begin transaction SQL (580.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 19:53:56.089875"], ["updated_at", "2015-12-11 19:53:56.089875"]]  (0.4ms) rollback transaction  (0.7ms) begin transaction SQL (594.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 19:54:05.206006"], ["updated_at", "2015-12-11 19:54:05.206006"]]  (0.4ms) rollback transaction  (0.7ms) begin transaction SQL (599.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 20:03:57.477868"], ["updated_at", "2015-12-11 20:03:57.477868"]]  (0.3ms) rollback transaction  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 20:04:02.839776"], ["updated_at", "2015-12-11 20:04:02.839776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-11 20:04:02.863198"], ["updated_at", "2015-12-11 20:04:02.863198"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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", 1], ["post_type_id", 1], ["created_at", "2015-12-11 20:04:02.865521"], ["updated_at", "2015-12-11 20:04:02.865521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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 3"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-11 20:04:02.867134"], ["updated_at", "2015-12-11 20:04:02.867134"]]  (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.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"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-11 20:04:02.995184"], ["updated_at", "2015-12-11 20:04:02.995184"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-11 20:04:03.000705"], ["updated_at", "2015-12-11 20:04:03.000705"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]] Pulitzer::PostType Load (0.5ms) 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]]  (0.6ms) SELECT COUNT(*) FROM "pulitzer_posts" Pulitzer::Post Load (0.9ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 Pulitzer::Post Load (0.6ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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"], ["plural", "f"], ["created_at", "2015-12-11 20:05:42.112747"], ["updated_at", "2015-12-11 20:05:42.112747"]]  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", "2015-12-11 20:05:42.138169"], ["updated_at", "2015-12-11 20:05:42.138169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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", 1], ["post_type_id", 1], ["created_at", "2015-12-11 20:05:42.141370"], ["updated_at", "2015-12-11 20:05:42.141370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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 3"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-11 20:05:42.143375"], ["updated_at", "2015-12-11 20:05:42.143375"]]  (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.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", "winterfell-news"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-11 20:05:42.278908"], ["updated_at", "2015-12-11 20:05:42.278908"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-11 20:05:42.286108"], ["updated_at", "2015-12-11 20:05:42.286108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]  (0.7ms) begin transaction  (0.7ms) commit transaction Pulitzer::Post Load (0.5ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::PostTypeContentElementType 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.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) 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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-11 20:13:24.837965"], ["updated_at", "2015-12-11 20:13:24.837965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-11 20:13:24.842220"], ["updated_at", "2015-12-11 20:13:24.842220"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-11 20:13:24.845681"], ["updated_at", "2015-12-11 20:13:24.845681"]]  (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", 1]]  (1504.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1363.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 20:15:43.709627"], ["updated_at", "2015-12-11 20:15:43.709627"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", "2015-12-11 20:15:45.103574"], ["updated_at", "2015-12-11 20:15:45.103574"]]  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (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 2"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-11 20:15:45.107785"], ["updated_at", "2015-12-11 20:15:45.107785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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", 1], ["post_type_id", 1], ["created_at", "2015-12-11 20:15:45.110666"], ["updated_at", "2015-12-11 20:15:45.110666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["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", "winterfell-news"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-11 20:15:45.231071"], ["updated_at", "2015-12-11 20:15:45.231071"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-11 20:15:45.236818"], ["updated_at", "2015-12-11 20:15:45.236818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (1.7ms) begin transaction  (0.2ms) commit transaction  (0.6ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.7ms) begin transaction  (0.3ms) commit transaction Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["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::PostTypeContentElementType 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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-11 20:16:36.814229"], ["updated_at", "2015-12-11 20:16:36.814229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-11 20:16:36.819056"], ["updated_at", "2015-12-11 20:16:36.819056"]]  (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", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-11 20:16:36.822756"], ["updated_at", "2015-12-11 20:16:36.822756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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"], ["plural", "f"], ["created_at", "2015-12-11 20:16:39.842064"], ["updated_at", "2015-12-11 20:16:39.842064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", "2015-12-11 20:16:39.863844"], ["updated_at", "2015-12-11 20:16:39.863844"]]  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (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 2"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-11 20:16:39.867170"], ["updated_at", "2015-12-11 20:16:39.867170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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 3"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-11 20:16:39.869274"], ["updated_at", "2015-12-11 20:16:39.869274"]]  (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.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", "winterfell-news"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-11 20:16:39.988851"], ["updated_at", "2015-12-11 20:16:39.988851"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-11 20:16:39.996119"], ["updated_at", "2015-12-11 20:16:39.996119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (1.7ms) begin transaction  (0.5ms) commit transaction Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 Pulitzer::Post Load (0.5ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["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::PostTypeContentElementType Load (0.4ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-11 20:22:04.266357"], ["updated_at", "2015-12-11 20:22:04.266357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-11 20:22:04.274431"], ["updated_at", "2015-12-11 20:22:04.274431"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-11 20:22:04.279061"], ["updated_at", "2015-12-11 20:22:04.279061"]]  (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", 1]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.4ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 20:24:16.464206"], ["updated_at", "2015-12-11 20:24:16.464206"]]  (1718.6ms) commit transaction Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.2ms) begin transaction SQL (0.5ms) 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", "2015-12-11 20:24:18.298492"], ["updated_at", "2015-12-11 20:24:18.298492"]]  (284.6ms) commit transaction Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.3ms) begin transaction SQL (0.5ms) 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", 1], ["post_type_id", 1], ["created_at", "2015-12-11 20:24:18.607155"], ["updated_at", "2015-12-11 20:24:18.607155"]]  (1.1ms) commit transaction Pulitzer::ContentElementType Load (0.5ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.3ms) begin transaction SQL (0.5ms) 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", 1], ["post_type_id", 1], ["created_at", "2015-12-11 20:24:18.629759"], ["updated_at", "2015-12-11 20:24:18.629759"]]  (1.0ms) commit transaction Pulitzer::PostType Load (0.6ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" ORDER BY "pulitzer_post_types"."id" ASC LIMIT 1  (0.3ms) begin transaction Pulitzer::Post Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (0.6ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-11 20:24:33.418522"], ["updated_at", "2015-12-11 20:24:33.418522"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-11 20:24:33.455461"], ["updated_at", "2015-12-11 20:24:33.455461"]]  (695.8ms) commit transaction Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 Pulitzer::Post Load (0.5ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 Pulitzer::Post Load (0.4ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Post Load (0.5ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2871.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 20:26:01.007050"], ["updated_at", "2015-12-11 20:26:01.007050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.9ms) SAVEPOINT active_record_1 SQL (1.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 1"], ["content_element_type_id", 1], ["post_type_id", 2], ["created_at", "2015-12-11 20:26:04.031565"], ["updated_at", "2015-12-11 20:26:04.031565"]]  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 1], ["post_type_id", 2], ["created_at", "2015-12-11 20:26:04.055403"], ["updated_at", "2015-12-11 20:26:04.055403"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (3.7ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", 1], ["post_type_id", 2], ["created_at", "2015-12-11 20:26:04.080005"], ["updated_at", "2015-12-11 20:26:04.080005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (1240.9ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 2], ["slug", "winterfell-news-ee3aff0a-728a-4aac-85d4-8fdbfc03bea1"], ["created_at", "2015-12-11 20:26:04.289898"], ["updated_at", "2015-12-11 20:26:04.289898"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-11 20:26:05.593684"], ["updated_at", "2015-12-11 20:26:05.593684"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 2]] Pulitzer::Version Load (0.6ms) 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", 2], ["status", 1]] Pulitzer::PostType Load (0.5ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::PostTypeContentElementType 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", 2]] Pulitzer::Version Load (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", 2], ["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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 2], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 4], ["created_at", "2015-12-11 20:29:13.076034"], ["updated_at", "2015-12-11 20:29:13.076034"]]  (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", 2], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 2], ["label", "Slide 1 content element 2"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 5], ["created_at", "2015-12-11 20:29:13.079828"], ["updated_at", "2015-12-11 20:29:13.079828"]]  (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", 2], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 2], ["label", "Slide 1 content element 3"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 6], ["created_at", "2015-12-11 20:29:13.083357"], ["updated_at", "2015-12-11 20:29:13.083357"]]  (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", 2], ["status", 1]]  (258.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (1295.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 20:29:16.285504"], ["updated_at", "2015-12-11 20:29:16.285504"]]  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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", 2], ["created_at", "2015-12-11 20:29:17.616847"], ["updated_at", "2015-12-11 20:29:17.616847"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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", 1], ["post_type_id", 2], ["created_at", "2015-12-11 20:29:17.619338"], ["updated_at", "2015-12-11 20:29:17.619338"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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 3"], ["content_element_type_id", 1], ["post_type_id", 2], ["created_at", "2015-12-11 20:29:17.621660"], ["updated_at", "2015-12-11 20:29:17.621660"]]  (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"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 2], ["slug", "winterfell-news-9b8ff849-a505-4c39-9386-532a48ac5f55"], ["created_at", "2015-12-11 20:29:17.746430"], ["updated_at", "2015-12-11 20:29:17.746430"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-11 20:29:17.757569"], ["updated_at", "2015-12-11 20:29:17.757569"]]  (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", 2]] Pulitzer::Version Load (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", 2], ["status", 1]] Pulitzer::PostType Load (0.7ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::PostTypeContentElementType 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", 2]] Pulitzer::Version Load (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", 2], ["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", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 2], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 4], ["created_at", "2015-12-11 20:29:35.043074"], ["updated_at", "2015-12-11 20:29:35.043074"]]  (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", 2], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 2], ["label", "Slide 1 content element 2"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 5], ["created_at", "2015-12-11 20:29:35.047320"], ["updated_at", "2015-12-11 20:29:35.047320"]]  (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", 2], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 2], ["label", "Slide 1 content element 3"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 6], ["created_at", "2015-12-11 20:29:35.050669"], ["updated_at", "2015-12-11 20:29:35.050669"]]  (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", 2], ["status", 1]]  (860.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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"], ["plural", "f"], ["created_at", "2015-12-11 20:29:44.014498"], ["updated_at", "2015-12-11 20:29:44.014498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 2], ["created_at", "2015-12-11 20:29:44.035961"], ["updated_at", "2015-12-11 20:29:44.035961"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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", 1], ["post_type_id", 2], ["created_at", "2015-12-11 20:29:44.038225"], ["updated_at", "2015-12-11 20:29:44.038225"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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 3"], ["content_element_type_id", 1], ["post_type_id", 2], ["created_at", "2015-12-11 20:29:44.041003"], ["updated_at", "2015-12-11 20:29:44.041003"]]  (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"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 2], ["slug", "winterfell-news-828f011a-83d8-404a-b25d-fb3f01297cbd"], ["created_at", "2015-12-11 20:29:44.162594"], ["updated_at", "2015-12-11 20:29:44.162594"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-11 20:29:44.173412"], ["updated_at", "2015-12-11 20:29:44.173412"]]  (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", 2]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 2], ["status", 1]] Pulitzer::PostType Load (0.6ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]]  (0.5ms) begin transaction SQL (583.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 20:29:57.418575"], ["updated_at", "2015-12-11 20:29:57.418575"]]  (0.4ms) rollback transaction Pulitzer::PostType Load (1.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]]  (0.5ms) begin transaction SQL (580.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 20:32:29.601972"], ["updated_at", "2015-12-11 20:32:29.601972"]]  (0.3ms) rollback transaction  (0.3ms) begin transaction SQL (597.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 20:32:36.716898"], ["updated_at", "2015-12-11 20:32:36.716898"]]  (0.3ms) rollback transaction Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] Pulitzer::Version Load (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", 2], ["status", 0]]  (0.2ms) 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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 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", 2], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 4], ["created_at", "2015-12-11 20:32:37.354899"], ["updated_at", "2015-12-11 20:32:37.354899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 2], ["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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 2], ["label", "Slide 1 content element 2"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 5], ["created_at", "2015-12-11 20:32:37.362592"], ["updated_at", "2015-12-11 20:32:37.362592"]]  (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", 2], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 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", 2], ["label", "Slide 1 content element 3"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 6], ["created_at", "2015-12-11 20:32:37.366290"], ["updated_at", "2015-12-11 20:32:37.366290"]]  (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", 2], ["status", 1]]  (2713.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.7ms) SELECT COUNT(*) FROM "pulitzer_posts" Pulitzer::Post Load (4.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 Pulitzer::Post Load (0.6ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-11 20:34:38.221148"], ["updated_at", "2015-12-11 20:34:38.221148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 2], ["created_at", "2015-12-11 20:34:38.254055"], ["updated_at", "2015-12-11 20:34:38.254055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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", 1], ["post_type_id", 2], ["created_at", "2015-12-11 20:34:38.257393"], ["updated_at", "2015-12-11 20:34:38.257393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (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 3"], ["content_element_type_id", 1], ["post_type_id", 2], ["created_at", "2015-12-11 20:34:38.259681"], ["updated_at", "2015-12-11 20:34:38.259681"]]  (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"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 2], ["slug", "winterfell-news-e58f34c3-f1f8-4793-b778-1edae1b0d140"], ["created_at", "2015-12-11 20:34:38.393627"], ["updated_at", "2015-12-11 20:34:38.393627"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-11 20:34:38.403856"], ["updated_at", "2015-12-11 20:34:38.403856"]]  (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", 2]] Pulitzer::Version Load (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", 2], ["status", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::PostTypeContentElementType 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", 2]] Pulitzer::Version Load (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", 2], ["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", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 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", 2], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 4], ["created_at", "2015-12-11 20:34:38.425353"], ["updated_at", "2015-12-11 20:34:38.425353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 2], ["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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 2], ["label", "Slide 1 content element 2"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 5], ["created_at", "2015-12-11 20:34:38.432046"], ["updated_at", "2015-12-11 20:34:38.432046"]]  (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", 2], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 2], ["label", "Slide 1 content element 3"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 6], ["created_at", "2015-12-11 20:34:38.436391"], ["updated_at", "2015-12-11 20:34:38.436391"]]  (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", 2], ["status", 1]]  (802.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.7ms) SELECT COUNT(*) FROM "pulitzer_posts" Pulitzer::Post Load (0.6ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 Pulitzer::Post Load (0.5ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 Pulitzer::Version Load (0.6ms) 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", 1]] Pulitzer::PostType Load (0.4ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" ORDER BY "pulitzer_post_types"."id" ASC LIMIT 1 Pulitzer::PostType Load (0.7ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" ORDER BY "pulitzer_post_types"."id" ASC LIMIT 1 Pulitzer::PostType Load (5.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::PostType Load (0.4ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" ORDER BY "pulitzer_post_types"."id" ASC LIMIT 1 Pulitzer::PostType Load (0.9ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::PostType Load (0.5ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" ORDER BY "pulitzer_post_types"."id" ASC LIMIT 1 Pulitzer::PostType Load (0.4ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]  (1.6ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction Pulitzer::ContentElementType Load (1.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 15:18:36.271013"], ["updated_at", "2015-12-12 15:18:36.271013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-12 15:18:36.436604"], ["updated_at", "2015-12-12 15:18:36.436604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (11.7ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]]  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-12 15:18:36.568328"], ["updated_at", "2015-12-12 15:18:36.568328"]]  (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"]] SQL (0.7ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 2], ["slug", "winterfell-news-9c90f35e-e892-42b5-965a-3d413af61f8a"], ["created_at", "2015-12-12 15:18:36.571565"], ["updated_at", "2015-12-12 15:18:36.571565"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-12 15:18:36.577795"], ["updated_at", "2015-12-12 15:18:36.577795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback 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"], ["plural", "f"], ["created_at", "2015-12-12 15:18:36.607464"], ["updated_at", "2015-12-12 15:18:36.607464"]]  (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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 2], ["slug", "winterfell-news-9f9694ff-8471-4f39-8701-412ea31c3e4c"], ["created_at", "2015-12-12 15:18:36.610061"], ["updated_at", "2015-12-12 15:18:36.610061"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-12 15:18:36.611588"], ["updated_at", "2015-12-12 15:18:36.611588"]]  (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" != 2) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.3ms) 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", "2015-12-12 15:18:36.613476"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.4ms) 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", "2015-12-12 15:18:36.627443"], ["updated_at", "2015-12-12 15:18:36.627443"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-12 15:18:36.631565"], ["updated_at", "2015-12-12 15:18:36.631565"]]  (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"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 2], ["slug", "winterfell-news-c002d145-012e-42a7-b57e-f9a35a763353"], ["created_at", "2015-12-12 15:18:36.634046"], ["updated_at", "2015-12-12 15:18:36.634046"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-12 15:18:36.635392"], ["updated_at", "2015-12-12 15:18:36.635392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-12 15:18:36.636553"], ["updated_at", "2015-12-12 15:18:36.636553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-12 15:18:36.660797"], ["updated_at", "2015-12-12 15:18:36.660797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 15:18:36.696038"], ["updated_at", "2015-12-12 15:18:36.696038"]]  (0.0ms) 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  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news"], ["plural", "f"], ["created_at", "2015-12-12 15:18:36.706988"], ["updated_at", "2015-12-12 15:18:36.706988"]]  (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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 2], ["slug", "winterfell-news-69ce5d2a-86ed-4b5b-b9b2-2f479665690c"], ["created_at", "2015-12-12 15:18:36.709821"], ["updated_at", "2015-12-12 15:18:36.709821"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-12 15:18:36.711468"], ["updated_at", "2015-12-12 15:18:36.711468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 ActiveRecord::SchemaMigration Load (0.4ms) 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.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (0.6ms) DELETE FROM "pulitzer_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) 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.9ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.9ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.6ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.7ms) DELETE FROM "pulitzer_post_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Load (0.5ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1  (0.7ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 15:27:29.546164"], ["updated_at", "2015-12-12 15:27:29.546164"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) ROLLBACK TO 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  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 15:27:29.650188"], ["updated_at", "2015-12-12 15:27:29.650188"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 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"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (765.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 15:27:30.518855"], ["updated_at", "2015-12-12 15:27:30.518855"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 15:27:30.521890"], ["updated_at", "2015-12-12 15:27:30.521890"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 15:27:30.535955"], ["updated_at", "2015-12-12 15:27:30.535955"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 15:27:30.539880"], ["updated_at", "2015-12-12 15:27:30.539880"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 15:27:30.541987"], ["updated_at", "2015-12-12 15:27:30.541987"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 15:27:30.543415"], ["updated_at", "2015-12-12 15:27:30.543415"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-12 15:27:30.545933"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-12 15:27:30.557835"], ["updated_at", "2015-12-12 15:27:30.557835"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 15:27:30.561190"], ["updated_at", "2015-12-12 15:27:30.561190"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 15:27:30.563339"], ["updated_at", "2015-12-12 15:27:30.563339"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 15:27:30.564567"], ["updated_at", "2015-12-12 15:27:30.564567"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 15:27:30.565720"], ["updated_at", "2015-12-12 15:27:30.565720"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 15:27:30.610120"], ["updated_at", "2015-12-12 15:27:30.610120"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) ROLLBACK TO 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) 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" = 'The north 2' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) 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" IS NULL LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 15:27:30.655461"], ["updated_at", "2015-12-12 15:27:30.655461"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 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  (0.1ms) ROLLBACK TO 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 15:27:30.670698"], ["updated_at", "2015-12-12 15:27:30.670698"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 15:27:30.673497"], ["updated_at", "2015-12-12 15:27:30.673497"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 15:27:30.675116"], ["updated_at", "2015-12-12 15:27:30.675116"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (73.9ms) 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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) 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';  (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.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.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? LIMIT 1 [["name", "Text"]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 15:31:18.452517"], ["updated_at", "2015-12-12 15:31:18.452517"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.0ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? LIMIT 1 [["name", "Video"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? LIMIT 1 [["name", "Text"]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? LIMIT 1 [["name", "Image"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (165.9ms) 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.1ms) 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.2ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.6ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 15:34:14.293151"], ["updated_at", "2015-12-12 15:34:14.293151"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 15:34:14.322738"], ["updated_at", "2015-12-12 15:34:14.322738"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 15:34:14.327065"], ["updated_at", "2015-12-12 15:34:14.327065"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 15:34:14.399521"], ["updated_at", "2015-12-12 15:34:14.399521"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2569.9ms) 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.2ms) 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.2ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.7ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.3ms) 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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 15:34:26.856386"], ["updated_at", "2015-12-12 15:34:26.856386"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 15:34:26.885848"], ["updated_at", "2015-12-12 15:34:26.885848"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 15:34:26.891792"], ["updated_at", "2015-12-12 15:34:26.891792"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 15:34:26.965096"], ["updated_at", "2015-12-12 15:34:26.965096"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (324.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';  (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.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 15:34:39.867301"], ["updated_at", "2015-12-12 15:34:39.867301"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 15:34:39.897008"], ["updated_at", "2015-12-12 15:34:39.897008"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 15:34:39.901346"], ["updated_at", "2015-12-12 15:34:39.901346"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 15:34:39.971883"], ["updated_at", "2015-12-12 15:34:39.971883"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (916.6ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) 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.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.0ms) 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.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (1.2ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.1ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 15:35:24.178149"], ["updated_at", "2015-12-12 15:35:24.178149"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1426.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 15:38:15.239771"], ["updated_at", "2015-12-12 15:38:15.239771"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (49.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 15:38:15.295182"], ["updated_at", "2015-12-12 15:38:15.295182"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 15:38:15.364225"], ["updated_at", "2015-12-12 15:38:15.364225"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (332.4ms) 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';  (1.7ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.2ms) 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';  (0.8ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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';  (0.5ms) 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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 15:38:19.572489"], ["updated_at", "2015-12-12 15:38:19.572489"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.6ms) begin transaction Pulitzer::ContentElement Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["created_at", "2015-12-12 15:38:25.871327"], ["updated_at", "2015-12-12 15:38:25.871327"]]  (383.4ms) commit transaction  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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", "2015-12-12 15:43:21.603179"], ["updated_at", "2015-12-12 15:43:21.603179"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (367.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 15:43:21.981167"], ["updated_at", "2015-12-12 15:43:21.981167"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 15:43:22.058369"], ["updated_at", "2015-12-12 15:43:22.058369"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1036.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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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';  (1.0ms) DELETE FROM "pulitzer_content_elements";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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';  (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.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:49:53.542616"], ["updated_at", "2015-12-12 15:49:53.542616"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 15:49:53.562958"], ["updated_at", "2015-12-12 15:49:53.562958"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:49:53.579285"], ["updated_at", "2015-12-12 15:49:53.579285"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:49:53.584052"], ["updated_at", "2015-12-12 15:49:53.584052"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.6ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.6ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:49:57.269020"], ["updated_at", "2015-12-12 15:49:57.269020"]]  (174.4ms) commit transaction  (0.4ms) begin transaction Pulitzer::ContentElement Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["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], ["created_at", "2015-12-12 15:49:57.475341"], ["updated_at", "2015-12-12 15:49:57.475341"]]  (1.3ms) commit transaction  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 15:50:04.413633"], ["updated_at", "2015-12-12 15:50:04.413633"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (2774.5ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 15:50:07.198403"], ["updated_at", "2015-12-12 15:50:07.198403"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 15:50:07.221823"], ["updated_at", "2015-12-12 15:50:07.221823"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) 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.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (0.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_content_elements";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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';  (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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:50:36.742231"], ["updated_at", "2015-12-12 15:50:36.742231"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO 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::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 15:50:36.762937"], ["updated_at", "2015-12-12 15:50:36.762937"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:50:36.779063"], ["updated_at", "2015-12-12 15:50:36.779063"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:50:36.783570"], ["updated_at", "2015-12-12 15:50:36.783570"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:50:36.788456"], ["updated_at", "2015-12-12 15:50:36.788456"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 15:50:36.793475"], ["updated_at", "2015-12-12 15:50:36.793475"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 15:50:36.795302"], ["updated_at", "2015-12-12 15:50:36.795302"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_2 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 15:50:36.801917"], ["updated_at", "2015-12-12 15:50:36.801917"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 15:50:36.805563"], ["updated_at", "2015-12-12 15:50:36.805563"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:50:36.810583"], ["updated_at", "2015-12-12 15:50:36.810583"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:50:36.816237"], ["updated_at", "2015-12-12 15:50:36.816237"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 15:50:36.820436"], ["updated_at", "2015-12-12 15:50:36.820436"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (504.9ms) 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.7ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.7ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:51:11.445311"], ["updated_at", "2015-12-12 15:51:11.445311"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 15:51:11.466004"], ["updated_at", "2015-12-12 15:51:11.466004"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:51:11.482066"], ["updated_at", "2015-12-12 15:51:11.482066"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:51:11.486477"], ["updated_at", "2015-12-12 15:51:11.486477"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:51:11.491352"], ["updated_at", "2015-12-12 15:51:11.491352"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 15:51:11.496427"], ["updated_at", "2015-12-12 15:51:11.496427"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 15:51:11.498319"], ["updated_at", "2015-12-12 15:51:11.498319"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 15:51:11.504053"], ["updated_at", "2015-12-12 15:51:11.504053"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 15:51:11.506337"], ["updated_at", "2015-12-12 15:51:11.506337"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:51:11.510834"], ["updated_at", "2015-12-12 15:51:11.510834"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:51:11.516404"], ["updated_at", "2015-12-12 15:51:11.516404"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 15:51:11.521661"], ["updated_at", "2015-12-12 15:51:11.521661"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (63.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';  (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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.6ms) 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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:51:18.743867"], ["updated_at", "2015-12-12 15:51:18.743867"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (67.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 15:51:18.832343"], ["updated_at", "2015-12-12 15:51:18.832343"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:51:18.847355"], ["updated_at", "2015-12-12 15:51:18.847355"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:51:18.851810"], ["updated_at", "2015-12-12 15:51:18.851810"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:51:18.856474"], ["updated_at", "2015-12-12 15:51:18.856474"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 15:51:18.862178"], ["updated_at", "2015-12-12 15:51:18.862178"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 15:51:18.864124"], ["updated_at", "2015-12-12 15:51:18.864124"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 15:51:18.869082"], ["updated_at", "2015-12-12 15:51:18.869082"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 15:51:18.871055"], ["updated_at", "2015-12-12 15:51:18.871055"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:51:18.875428"], ["updated_at", "2015-12-12 15:51:18.875428"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 15:51:18.880239"], ["updated_at", "2015-12-12 15:51:18.880239"]]  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 15:51:18.885212"], ["updated_at", "2015-12-12 15:51:18.885212"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO 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  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 15:51:18.957452"], ["updated_at", "2015-12-12 15:51:18.957452"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 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"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (73.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 15:51:19.135540"], ["updated_at", "2015-12-12 15:51:19.135540"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 15:51:19.138858"], ["updated_at", "2015-12-12 15:51:19.138858"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 15:51:19.151860"], ["updated_at", "2015-12-12 15:51:19.151860"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 15:51:19.155752"], ["updated_at", "2015-12-12 15:51:19.155752"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 15:51:19.157969"], ["updated_at", "2015-12-12 15:51:19.157969"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 15:51:19.159455"], ["updated_at", "2015-12-12 15:51:19.159455"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 15:51:19.161764"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-12 15:51:19.173039"], ["updated_at", "2015-12-12 15:51:19.173039"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 15:51:19.177836"], ["updated_at", "2015-12-12 15:51:19.177836"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 15:51:19.180153"], ["updated_at", "2015-12-12 15:51:19.180153"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 15:51:19.181361"], ["updated_at", "2015-12-12 15:51:19.181361"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 15:51:19.182507"], ["updated_at", "2015-12-12 15:51:19.182507"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 15:51:19.207971"], ["updated_at", "2015-12-12 15:51:19.207971"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT 1 [["name", "Text"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) 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 2' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) 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" IS NULL LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 15:51:19.253046"], ["updated_at", "2015-12-12 15:51:19.253046"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 15:51:19.279144"], ["updated_at", "2015-12-12 15:51:19.279144"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 15:51:19.281691"], ["updated_at", "2015-12-12 15:51:19.281691"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 15:51:19.283299"], ["updated_at", "2015-12-12 15:51:19.283299"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1697.9ms) 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.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) 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.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.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.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.2ms) begin transaction SQL (104.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:05:00.128221"], ["updated_at", "2015-12-12 16:05:00.128221"]]  (0.9ms) commit transaction  (0.3ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) 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", "2015-12-12 16:05:00.313538"], ["updated_at", "2015-12-12 16:05:00.313538"]]  (0.8ms) commit transaction  (0.4ms) begin transaction SQL (0.6ms) 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", "2015-12-12 16:05:00.336627"], ["updated_at", "2015-12-12 16:05:00.336627"]]  (0.9ms) commit transaction  (0.2ms) begin transaction Pulitzer::ContentElementType Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1  (0.4ms) rollback transaction  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:14:53.419584"], ["updated_at", "2015-12-12 16:14:53.419584"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (43.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:14:53.500045"], ["updated_at", "2015-12-12 16:14:53.500045"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 2], ["created_at", "2015-12-12 16:14:53.505979"], ["updated_at", "2015-12-12 16:14:53.505979"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.4ms) 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", "2015-12-12 16:14:53.519299"], ["updated_at", "2015-12-12 16:14:53.519299"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 2], ["created_at", "2015-12-12 16:14:53.523148"], ["updated_at", "2015-12-12 16:14:53.523148"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:14:53.538459"], ["updated_at", "2015-12-12 16:14:53.538459"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:14:53.612239"], ["updated_at", "2015-12-12 16:14:53.612239"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 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"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (945.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:14:54.669993"], ["updated_at", "2015-12-12 16:14:54.669993"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 2], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:14:54.672731"], ["updated_at", "2015-12-12 16:14:54.672731"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:14:54.684959"], ["updated_at", "2015-12-12 16:14:54.684959"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:14:54.689465"], ["updated_at", "2015-12-12 16:14:54.689465"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 2], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:14:54.691858"], ["updated_at", "2015-12-12 16:14:54.691858"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:14:54.693568"], ["updated_at", "2015-12-12 16:14:54.693568"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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.3ms) 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", "2015-12-12 16:14:54.696203"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-12 16:14:54.709470"], ["updated_at", "2015-12-12 16:14:54.709470"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:14:54.713060"], ["updated_at", "2015-12-12 16:14:54.713060"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 2], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:14:54.715238"], ["updated_at", "2015-12-12 16:14:54.715238"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:14:54.716510"], ["updated_at", "2015-12-12 16:14:54.716510"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:14:54.717705"], ["updated_at", "2015-12-12 16:14:54.717705"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:14:54.738473"], ["updated_at", "2015-12-12 16:14:54.738473"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) 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" = 'The north 2' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 16:14:54.783913"], ["updated_at", "2015-12-12 16:14:54.783913"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:14:54.797840"], ["updated_at", "2015-12-12 16:14:54.797840"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 2], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:14:54.800533"], ["updated_at", "2015-12-12 16:14:54.800533"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:14:54.802268"], ["updated_at", "2015-12-12 16:14:54.802268"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1507.7ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.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.6ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.9ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:15:04.842648"], ["updated_at", "2015-12-12 16:15:04.842648"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1204.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:15:06.080091"], ["updated_at", "2015-12-12 16:15:06.080091"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:15:06.081986"], ["updated_at", "2015-12-12 16:15:06.081986"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:15:06.087326"], ["updated_at", "2015-12-12 16:15:06.087326"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:15:06.089781"], ["updated_at", "2015-12-12 16:15:06.089781"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:15:06.162942"], ["updated_at", "2015-12-12 16:15:06.162942"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:15:06.176300"], ["updated_at", "2015-12-12 16:15:06.176300"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 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"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (173.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:15:06.449114"], ["updated_at", "2015-12-12 16:15:06.449114"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:15:06.452331"], ["updated_at", "2015-12-12 16:15:06.452331"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:15:06.464011"], ["updated_at", "2015-12-12 16:15:06.464011"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:15:06.468089"], ["updated_at", "2015-12-12 16:15:06.468089"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:15:06.470294"], ["updated_at", "2015-12-12 16:15:06.470294"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:15:06.471644"], ["updated_at", "2015-12-12 16:15:06.471644"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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", "2015-12-12 16:15:06.473470"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-12 16:15:06.484371"], ["updated_at", "2015-12-12 16:15:06.484371"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:15:06.488795"], ["updated_at", "2015-12-12 16:15:06.488795"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:15:06.491303"], ["updated_at", "2015-12-12 16:15:06.491303"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:15:06.492625"], ["updated_at", "2015-12-12 16:15:06.492625"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:15:06.493748"], ["updated_at", "2015-12-12 16:15:06.493748"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:15:06.518865"], ["updated_at", "2015-12-12 16:15:06.518865"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:15:06.523002"], ["updated_at", "2015-12-12 16:15:06.523002"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) 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" IS NULL LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 16:15:06.565917"], ["updated_at", "2015-12-12 16:15:06.565917"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:15:06.579540"], ["updated_at", "2015-12-12 16:15:06.579540"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:15:06.581773"], ["updated_at", "2015-12-12 16:15:06.581773"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:15:06.583354"], ["updated_at", "2015-12-12 16:15:06.583354"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (735.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';  (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.2ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.8ms) DELETE FROM "pulitzer_post_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_types';  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:15:25.064870"], ["updated_at", "2015-12-12 16:15:25.064870"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (14.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:15:25.108440"], ["updated_at", "2015-12-12 16:15:25.108440"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:15:25.111856"], ["updated_at", "2015-12-12 16:15:25.111856"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:15:25.116590"], ["updated_at", "2015-12-12 16:15:25.116590"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:15:25.118310"], ["updated_at", "2015-12-12 16:15:25.118310"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:15:25.192640"], ["updated_at", "2015-12-12 16:15:25.192640"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:15:25.208030"], ["updated_at", "2015-12-12 16:15:25.208030"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 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"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (514.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:15:25.828340"], ["updated_at", "2015-12-12 16:15:25.828340"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:15:25.831341"], ["updated_at", "2015-12-12 16:15:25.831341"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:15:25.843592"], ["updated_at", "2015-12-12 16:15:25.843592"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:15:25.848449"], ["updated_at", "2015-12-12 16:15:25.848449"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:15:25.851309"], ["updated_at", "2015-12-12 16:15:25.851309"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:15:25.853069"], ["updated_at", "2015-12-12 16:15:25.853069"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-12 16:15:25.855597"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-12 16:15:25.868080"], ["updated_at", "2015-12-12 16:15:25.868080"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:15:25.871819"], ["updated_at", "2015-12-12 16:15:25.871819"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:15:25.874223"], ["updated_at", "2015-12-12 16:15:25.874223"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:15:25.875597"], ["updated_at", "2015-12-12 16:15:25.875597"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:15:25.876799"], ["updated_at", "2015-12-12 16:15:25.876799"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:15:25.902069"], ["updated_at", "2015-12-12 16:15:25.902069"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:15:25.904882"], ["updated_at", "2015-12-12 16:15:25.904882"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) 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" = 'The north 2' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) 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" IS NULL LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 16:15:25.947809"], ["updated_at", "2015-12-12 16:15:25.947809"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (2.9ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:15:25.962007"], ["updated_at", "2015-12-12 16:15:25.962007"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:15:25.964414"], ["updated_at", "2015-12-12 16:15:25.964414"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:15:25.965990"], ["updated_at", "2015-12-12 16:15:25.965990"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (294.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';  (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.7ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) 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';  (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.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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:15:39.390114"], ["updated_at", "2015-12-12 16:15:39.390114"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 16:15:39.421032"], ["updated_at", "2015-12-12 16:15:39.421032"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:15:39.423350"], ["updated_at", "2015-12-12 16:15:39.423350"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 16:15:39.429086"], ["updated_at", "2015-12-12 16:15:39.429086"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:15:39.431029"], ["updated_at", "2015-12-12 16:15:39.431029"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:15:39.500421"], ["updated_at", "2015-12-12 16:15:39.500421"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (194.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';  (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.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.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:15:57.781157"], ["updated_at", "2015-12-12 16:15:57.781157"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:15:57.812122"], ["updated_at", "2015-12-12 16:15:57.812122"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:15:57.814013"], ["updated_at", "2015-12-12 16:15:57.814013"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:15:57.819545"], ["updated_at", "2015-12-12 16:15:57.819545"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:15:57.821869"], ["updated_at", "2015-12-12 16:15:57.821869"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:15:57.898042"], ["updated_at", "2015-12-12 16:15:57.898042"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1206.9ms) 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.9ms) 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.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:16:15.274087"], ["updated_at", "2015-12-12 16:16:15.274087"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 16:16:15.303106"], ["updated_at", "2015-12-12 16:16:15.303106"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:16:15.305285"], ["updated_at", "2015-12-12 16:16:15.305285"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:16:15.311245"], ["updated_at", "2015-12-12 16:16:15.311245"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:16:15.313508"], ["updated_at", "2015-12-12 16:16:15.313508"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:16:15.383274"], ["updated_at", "2015-12-12 16:16:15.383274"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (114.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.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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:16:24.650986"], ["updated_at", "2015-12-12 16:16:24.650986"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 16:16:24.679027"], ["updated_at", "2015-12-12 16:16:24.679027"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.7ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.3ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) 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", "2015-12-12 16:16:53.900241"], ["updated_at", "2015-12-12 16:16:53.900241"]]  (0.2ms) rollback transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:16:56.388876"], ["updated_at", "2015-12-12 16:16:56.388876"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (290.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:16:56.684813"], ["updated_at", "2015-12-12 16:16:56.684813"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:16:57.388309"], ["updated_at", "2015-12-12 16:16:57.388309"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1593.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:16:59.056091"], ["updated_at", "2015-12-12 16:16:59.056091"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (454.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';  (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.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.5ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.7ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:17:12.236734"], ["updated_at", "2015-12-12 16:17:12.236734"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:17:12.264902"], ["updated_at", "2015-12-12 16:17:12.264902"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:17:12.269498"], ["updated_at", "2015-12-12 16:17:12.269498"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:17:12.275013"], ["updated_at", "2015-12-12 16:17:12.275013"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:17:12.277656"], ["updated_at", "2015-12-12 16:17:12.277656"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:17:12.350687"], ["updated_at", "2015-12-12 16:17:12.350687"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (374.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.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.7ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) 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';  (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.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.5ms) 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.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:17:52.031474"], ["updated_at", "2015-12-12 16:17:52.031474"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 16:17:52.062742"], ["updated_at", "2015-12-12 16:17:52.062742"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:17:52.070057"], ["updated_at", "2015-12-12 16:17:52.070057"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:17:52.075029"], ["updated_at", "2015-12-12 16:17:52.075029"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:17:52.077237"], ["updated_at", "2015-12-12 16:17:52.077237"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:17:52.151862"], ["updated_at", "2015-12-12 16:17:52.151862"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (123.4ms) 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';  (3.6ms) DELETE FROM "pulitzer_posts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.5ms) 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';  (1.0ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (3.0ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (6.3ms) 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';  (3.6ms) 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.3ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:18:01.238029"], ["updated_at", "2015-12-12 16:18:01.238029"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:18:01.267614"], ["updated_at", "2015-12-12 16:18:01.267614"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:18:01.272194"], ["updated_at", "2015-12-12 16:18:01.272194"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:18:01.277924"], ["updated_at", "2015-12-12 16:18:01.277924"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:18:01.280649"], ["updated_at", "2015-12-12 16:18:01.280649"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:18:01.351526"], ["updated_at", "2015-12-12 16:18:01.351526"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3101.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';  (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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:18:21.885127"], ["updated_at", "2015-12-12 16:18:21.885127"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (73.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';  (1.2ms) 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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.7ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:18:25.816017"], ["updated_at", "2015-12-12 16:18:25.816017"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (915.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.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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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';  (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.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 16:18:38.905814"], ["updated_at", "2015-12-12 16:18:38.905814"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO 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::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:18:38.928567"], ["updated_at", "2015-12-12 16:18:38.928567"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:18:38.943689"], ["updated_at", "2015-12-12 16:18:38.943689"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:18:38.948220"], ["updated_at", "2015-12-12 16:18:38.948220"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:18:38.953010"], ["updated_at", "2015-12-12 16:18:38.953010"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:18:38.958349"], ["updated_at", "2015-12-12 16:18:38.958349"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:18:38.960207"], ["updated_at", "2015-12-12 16:18:38.960207"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:18:38.964725"], ["updated_at", "2015-12-12 16:18:38.964725"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:18:38.967130"], ["updated_at", "2015-12-12 16:18:38.967130"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:18:38.971507"], ["updated_at", "2015-12-12 16:18:38.971507"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:18:38.976034"], ["updated_at", "2015-12-12 16:18:38.976034"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:18:38.980709"], ["updated_at", "2015-12-12 16:18:38.980709"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (65.6ms) 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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:20:36.384600"], ["updated_at", "2015-12-12 16:20:36.384600"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.0ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:20:36.415447"], ["updated_at", "2015-12-12 16:20:36.415447"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.8ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.3ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) 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", "2015-12-12 16:20:55.020584"], ["updated_at", "2015-12-12 16:20:55.020584"]]  (0.2ms) rollback transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:21:06.850645"], ["updated_at", "2015-12-12 16:21:06.850645"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1017.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:21:07.875149"], ["updated_at", "2015-12-12 16:21:07.875149"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:21:09.626894"], ["updated_at", "2015-12-12 16:21:09.626894"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (323.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:21:10.028487"], ["updated_at", "2015-12-12 16:21:10.028487"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1117.3ms) 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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.0ms) 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.6ms) 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.2ms) DELETE FROM "search_locations";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.9ms) DELETE FROM "pulitzer_versions";  (1.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.2ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (2.2ms) 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.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.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:21:14.774006"], ["updated_at", "2015-12-12 16:21:14.774006"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:21:14.810157"], ["updated_at", "2015-12-12 16:21:14.810157"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:21:14.816349"], ["updated_at", "2015-12-12 16:21:14.816349"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:21:14.821581"], ["updated_at", "2015-12-12 16:21:14.821581"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:21:14.823504"], ["updated_at", "2015-12-12 16:21:14.823504"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:21:14.898664"], ["updated_at", "2015-12-12 16:21:14.898664"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2900.6ms) 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.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';  (0.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.7ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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';  (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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:22:53.424705"], ["updated_at", "2015-12-12 16:22:53.424705"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:22:53.460232"], ["updated_at", "2015-12-12 16:22:53.460232"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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 Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:22:53.465531"], ["updated_at", "2015-12-12 16:22:53.465531"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:22:53.539772"], ["updated_at", "2015-12-12 16:22:53.539772"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Image"]]  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:23:09.738692"], ["updated_at", "2015-12-12 16:23:09.738692"]]  (0.9ms) commit transaction Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Image"]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1280.9ms) DELETE FROM "pulitzer_content_element_types";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) 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.8ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:23:35.579195"], ["updated_at", "2015-12-12 16:23:35.579195"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:23:35.610967"], ["updated_at", "2015-12-12 16:23:35.610967"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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 Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? ORDER BY "pulitzer_content_element_types"."id" ASC LIMIT 1 [["name", "Text"]]  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:23:35.616556"], ["updated_at", "2015-12-12 16:23:35.616556"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1818.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';  (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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) 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';  (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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:24:11.997237"], ["updated_at", "2015-12-12 16:24:11.997237"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:24:12.017851"], ["updated_at", "2015-12-12 16:24:12.017851"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:24:12.033873"], ["updated_at", "2015-12-12 16:24:12.033873"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:24:12.038385"], ["updated_at", "2015-12-12 16:24:12.038385"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:24:12.043367"], ["updated_at", "2015-12-12 16:24:12.043367"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:24:12.047706"], ["updated_at", "2015-12-12 16:24:12.047706"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:24:12.049541"], ["updated_at", "2015-12-12 16:24:12.049541"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:24:12.057338"], ["updated_at", "2015-12-12 16:24:12.057338"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:24:12.059623"], ["updated_at", "2015-12-12 16:24:12.059623"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:24:12.064233"], ["updated_at", "2015-12-12 16:24:12.064233"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:24:12.068741"], ["updated_at", "2015-12-12 16:24:12.068741"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:24:12.073514"], ["updated_at", "2015-12-12 16:24:12.073514"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1661.0ms) 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';  (2.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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.0ms) DELETE FROM "pulitzer_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.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.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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:29:07.307535"], ["updated_at", "2015-12-12 16:29:07.307535"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:29:07.330923"], ["updated_at", "2015-12-12 16:29:07.330923"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:29:07.336215"], ["updated_at", "2015-12-12 16:29:07.336215"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:29:07.341604"], ["updated_at", "2015-12-12 16:29:07.341604"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:29:07.343959"], ["updated_at", "2015-12-12 16:29:07.343959"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:29:07.352930"], ["updated_at", "2015-12-12 16:29:07.352930"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1818.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';  (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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.0ms) DELETE FROM "pulitzer_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.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';  (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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 16:29:22.610624"], ["updated_at", "2015-12-12 16:29:22.610624"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO 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::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:29:22.632312"], ["updated_at", "2015-12-12 16:29:22.632312"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 16:29:22.648023"], ["updated_at", "2015-12-12 16:29:22.648023"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 16:29:22.652281"], ["updated_at", "2015-12-12 16:29:22.652281"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 4' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-12 16:29:22.657182"], ["updated_at", "2015-12-12 16:29:22.657182"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:29:22.662659"], ["updated_at", "2015-12-12 16:29:22.662659"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:29:22.664494"], ["updated_at", "2015-12-12 16:29:22.664494"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:29:22.669029"], ["updated_at", "2015-12-12 16:29:22.669029"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:29:22.671227"], ["updated_at", "2015-12-12 16:29:22.671227"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 5' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-12 16:29:22.675678"], ["updated_at", "2015-12-12 16:29:22.675678"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 6' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-12 16:29:22.680156"], ["updated_at", "2015-12-12 16:29:22.680156"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:29:22.684916"], ["updated_at", "2015-12-12 16:29:22.684916"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.5ms) 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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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';  (0.6ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:29:53.455885"], ["updated_at", "2015-12-12 16:29:53.455885"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:29:53.480992"], ["updated_at", "2015-12-12 16:29:53.480992"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:29:53.485999"], ["updated_at", "2015-12-12 16:29:53.485999"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:29:53.492263"], ["updated_at", "2015-12-12 16:29:53.492263"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:29:53.494737"], ["updated_at", "2015-12-12 16:29:53.494737"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) 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", "2015-12-12 16:29:53.501744"], ["updated_at", "2015-12-12 16:29:53.501744"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1246.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.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.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';  (0.7ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.1ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.6ms) 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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:30:09.581976"], ["updated_at", "2015-12-12 16:30:09.581976"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:30:09.608489"], ["updated_at", "2015-12-12 16:30:09.608489"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:30:09.614377"], ["updated_at", "2015-12-12 16:30:09.614377"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:30:09.621669"], ["updated_at", "2015-12-12 16:30:09.621669"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:30:09.623891"], ["updated_at", "2015-12-12 16:30:09.623891"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:30:09.630885"], ["updated_at", "2015-12-12 16:30:09.630885"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (464.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.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.7ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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';  (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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:30:23.515801"], ["updated_at", "2015-12-12 16:30:23.515801"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:30:23.539436"], ["updated_at", "2015-12-12 16:30:23.539436"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:30:23.545533"], ["updated_at", "2015-12-12 16:30:23.545533"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:30:23.551019"], ["updated_at", "2015-12-12 16:30:23.551019"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:30:23.553697"], ["updated_at", "2015-12-12 16:30:23.553697"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:30:23.561258"], ["updated_at", "2015-12-12 16:30:23.561258"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (314.4ms) 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.9ms) 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';  (0.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.2ms) 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.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:30:41.996541"], ["updated_at", "2015-12-12 16:30:41.996541"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:30:42.019072"], ["updated_at", "2015-12-12 16:30:42.019072"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:30:42.024164"], ["updated_at", "2015-12-12 16:30:42.024164"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 16:30:42.030139"], ["updated_at", "2015-12-12 16:30:42.030139"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:30:42.032476"], ["updated_at", "2015-12-12 16:30:42.032476"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:30:42.040158"], ["updated_at", "2015-12-12 16:30:42.040158"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (14.4ms) 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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:30:53.530626"], ["updated_at", "2015-12-12 16:30:53.530626"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO 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::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:30:53.552700"], ["updated_at", "2015-12-12 16:30:53.552700"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:30:53.568755"], ["updated_at", "2015-12-12 16:30:53.568755"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:30:53.573698"], ["updated_at", "2015-12-12 16:30:53.573698"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:30:53.579416"], ["updated_at", "2015-12-12 16:30:53.579416"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:30:53.585631"], ["updated_at", "2015-12-12 16:30:53.585631"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:30:53.588195"], ["updated_at", "2015-12-12 16:30:53.588195"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:30:53.593027"], ["updated_at", "2015-12-12 16:30:53.593027"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:30:53.595285"], ["updated_at", "2015-12-12 16:30:53.595285"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:30:53.599850"], ["updated_at", "2015-12-12 16:30:53.599850"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:30:53.604339"], ["updated_at", "2015-12-12 16:30:53.604339"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:30:53.609272"], ["updated_at", "2015-12-12 16:30:53.609272"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1636.4ms) 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.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.9ms) DELETE FROM "pulitzer_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (1.1ms) 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';  (0.9ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.4ms) begin transaction SQL (18.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:37:35.454440"], ["updated_at", "2015-12-12 16:37:35.454440"]]  (1.9ms) commit transaction  (0.3ms) begin transaction Pulitzer::ContentElementType Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (330.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 16:37:35.702334"], ["updated_at", "2015-12-12 16:37:35.702334"]]  (2.1ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) 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", "2015-12-12 16:37:36.080227"], ["updated_at", "2015-12-12 16:37:36.080227"]]  (1.1ms) commit transaction  (0.3ms) begin transaction Pulitzer::ContentElementType Exists (2.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (1.9ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 16:37:36.142528"], ["updated_at", "2015-12-12 16:37:36.142528"]]  (62.8ms) commit transaction  (0.3ms) begin transaction SQL (0.7ms) 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", "2015-12-12 16:37:36.239375"], ["updated_at", "2015-12-12 16:37:36.239375"]]  (1.0ms) commit transaction  (4.2ms) begin transaction Pulitzer::ContentElementType Exists (0.9ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (1.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 16:37:36.300600"], ["updated_at", "2015-12-12 16:37:36.300600"]]  (20.0ms) commit transaction  (0.3ms) begin transaction SQL (0.5ms) 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", "2015-12-12 16:37:36.343364"], ["updated_at", "2015-12-12 16:37:36.343364"]]  (0.8ms) commit transaction  (0.2ms) begin transaction Pulitzer::Post Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (0.6ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:38:05.339818"], ["updated_at", "2015-12-12 16:38:05.339818"]] SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:38:05.376930"], ["updated_at", "2015-12-12 16:38:05.376930"]]  (234.5ms) commit transaction Pulitzer::PostType Load (0.5ms) 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::Version Load (0.7ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.6ms) 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::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (321.4ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) 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.8ms) 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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.7ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.6ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.2ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:38:39.507601"], ["updated_at", "2015-12-12 16:38:39.507601"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 16:38:39.529451"], ["updated_at", "2015-12-12 16:38:39.529451"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) 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", "2015-12-12 16:38:39.535538"], ["updated_at", "2015-12-12 16:38:39.535538"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 16:38:39.538074"], ["updated_at", "2015-12-12 16:38:39.538074"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 16:38:39.539198"], ["updated_at", "2015-12-12 16:38:39.539198"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 16:38:39.541168"], ["updated_at", "2015-12-12 16:38:39.541168"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 16:38:39.542664"], ["updated_at", "2015-12-12 16:38:39.542664"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:38:39.636656"], ["updated_at", "2015-12-12 16:38:39.636656"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:38:39.648871"], ["updated_at", "2015-12-12 16:38:39.648871"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (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]] Pulitzer::Version Load (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", 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::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-12 16:38:40.547427"], ["updated_at", "2015-12-12 16:38:40.547427"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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) SAVEPOINT active_record_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", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-12 16:38:40.552427"], ["updated_at", "2015-12-12 16:38:40.552427"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-12 16:38:40.556352"], ["updated_at", "2015-12-12 16:38:40.556352"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1737.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.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.8ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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';  (0.6ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:38:56.801930"], ["updated_at", "2015-12-12 16:38:56.801930"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 16:38:56.822355"], ["updated_at", "2015-12-12 16:38:56.822355"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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", "2015-12-12 16:38:56.827574"], ["updated_at", "2015-12-12 16:38:56.827574"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 16:38:56.830314"], ["updated_at", "2015-12-12 16:38:56.830314"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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", "2015-12-12 16:38:56.832036"], ["updated_at", "2015-12-12 16:38:56.832036"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 16:38:56.834674"], ["updated_at", "2015-12-12 16:38:56.834674"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 16:38:56.836273"], ["updated_at", "2015-12-12 16:38:56.836273"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:38:56.934611"], ["updated_at", "2015-12-12 16:38:56.934611"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:38:56.946046"], ["updated_at", "2015-12-12 16:38:56.946046"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (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]] Pulitzer::Version Load (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", 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::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-12 16:38:56.970331"], ["updated_at", "2015-12-12 16:38:56.970331"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-12 16:38:56.976005"], ["updated_at", "2015-12-12 16:38:56.976005"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-12 16:38:56.980265"], ["updated_at", "2015-12-12 16:38:56.980265"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (0.8ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]] Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) begin transaction  (0.5ms) commit transaction Pulitzer::Post Load (1.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (716.7ms) 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';  (1.1ms) DELETE FROM "pulitzer_posts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.0ms) 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';  (0.8ms) 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 "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.0ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.8ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.3ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:40:17.925516"], ["updated_at", "2015-12-12 16:40:17.925516"]]  (865.8ms) commit transaction  (0.3ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 16:40:18.868078"], ["updated_at", "2015-12-12 16:40:18.868078"]]  (1156.6ms) commit transaction  (0.2ms) begin transaction SQL (0.7ms) 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", "2015-12-12 16:40:20.047091"], ["updated_at", "2015-12-12 16:40:20.047091"]]  (1.2ms) commit transaction  (0.4ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 16:40:20.071351"], ["updated_at", "2015-12-12 16:40:20.071351"]]  (0.9ms) commit transaction  (0.5ms) begin transaction SQL (0.8ms) 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", "2015-12-12 16:40:20.087766"], ["updated_at", "2015-12-12 16:40:20.087766"]]  (1.1ms) commit transaction  (0.2ms) begin transaction Pulitzer::ContentElementType Exists (0.6ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 16:40:20.120520"], ["updated_at", "2015-12-12 16:40:20.120520"]]  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (0.7ms) 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", "2015-12-12 16:40:20.133096"], ["updated_at", "2015-12-12 16:40:20.133096"]]  (0.9ms) commit transaction Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]  (0.2ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:40:53.842135"], ["updated_at", "2015-12-12 16:40:53.842135"]]  (557.3ms) commit transaction  (460.9ms) rollback transaction  (0.1ms) SAVEPOINT active_record_2 SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:40:58.387254"], ["updated_at", "2015-12-12 16:40:58.387254"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 4' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-12 16:40:58.392987"], ["updated_at", "2015-12-12 16:40:58.392987"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 4], ["post_type_id", 2], ["created_at", "2015-12-12 16:40:58.395215"], ["updated_at", "2015-12-12 16:40:58.395215"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-12 16:40:58.397402"], ["updated_at", "2015-12-12 16:40:58.397402"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 5], ["post_type_id", 2], ["created_at", "2015-12-12 16:40:58.398495"], ["updated_at", "2015-12-12 16:40:58.398495"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-12 16:40:58.401110"], ["updated_at", "2015-12-12 16:40:58.401110"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 6], ["post_type_id", 2], ["created_at", "2015-12-12 16:40:58.403001"], ["updated_at", "2015-12-12 16:40:58.403001"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 2], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:40:58.509235"], ["updated_at", "2015-12-12 16:40:58.509235"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:40:58.515594"], ["updated_at", "2015-12-12 16:40:58.515594"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 2]] Pulitzer::Version Load (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", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::PostTypeContentElementType 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", 2]] Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 4]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 4"], ["content_element_type_id", 4], ["post_type_content_element_type_id", 4], ["created_at", "2015-12-12 16:40:58.539599"], ["updated_at", "2015-12-12 16:40:58.539599"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 5]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 5"], ["content_element_type_id", 5], ["post_type_content_element_type_id", 5], ["created_at", "2015-12-12 16:40:58.544530"], ["updated_at", "2015-12-12 16:40:58.544530"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 6]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 6"], ["content_element_type_id", 6], ["post_type_content_element_type_id", 6], ["created_at", "2015-12-12 16:40:58.549730"], ["updated_at", "2015-12-12 16:40:58.549730"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (355.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2218.9ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) 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.9ms) 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.8ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.8ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.3ms) begin transaction SQL (623.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:41:27.126853"], ["updated_at", "2015-12-12 16:41:27.126853"]]  (1.0ms) commit transaction  (0.3ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 16:41:27.835430"], ["updated_at", "2015-12-12 16:41:27.835430"]]  (0.9ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) 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", "2015-12-12 16:41:27.857155"], ["updated_at", "2015-12-12 16:41:27.857155"]]  (1.0ms) commit transaction  (0.2ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 16:41:27.877658"], ["updated_at", "2015-12-12 16:41:27.877658"]]  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (0.5ms) 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", "2015-12-12 16:41:27.890515"], ["updated_at", "2015-12-12 16:41:27.890515"]]  (1.0ms) commit transaction  (0.2ms) begin transaction Pulitzer::ContentElementType Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 16:41:27.915188"], ["updated_at", "2015-12-12 16:41:27.915188"]]  (1.1ms) commit transaction  (0.2ms) begin transaction SQL (0.5ms) 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", "2015-12-12 16:41:27.928365"], ["updated_at", "2015-12-12 16:41:27.928365"]]  (1.0ms) commit transaction  (0.2ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:41:33.746160"], ["updated_at", "2015-12-12 16:41:33.746160"]]  (1.0ms) commit transaction  (0.4ms) begin transaction Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (0.7ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 2], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:41:33.918500"], ["updated_at", "2015-12-12 16:41:33.918500"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:41:33.959649"], ["updated_at", "2015-12-12 16:41:33.959649"]]  (1186.6ms) commit transaction  (0.4ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-12 16:41:35.164726"], ["id", 1]]  (1.1ms) commit transaction Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Post Load (0.4ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::PostType Load (0.8ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::PostType Load (0.5ms) 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]]  (0.5ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Version Load (0.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]] Pulitzer::PostTypeContentElementType Load (0.6ms) 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.7ms) 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.2ms) begin transaction Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.6ms) 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-12 16:43:01.009990"], ["updated_at", "2015-12-12 16:43:01.009990"]]  (559.4ms) commit transaction  (42.0ms) rollback transaction  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:43:10.333067"], ["updated_at", "2015-12-12 16:43:10.333067"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 4' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-12 16:43:10.336724"], ["updated_at", "2015-12-12 16:43:10.336724"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 4], ["post_type_id", 3], ["created_at", "2015-12-12 16:43:10.338277"], ["updated_at", "2015-12-12 16:43:10.338277"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-12 16:43:10.340416"], ["updated_at", "2015-12-12 16:43:10.340416"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 5], ["post_type_id", 3], ["created_at", "2015-12-12 16:43:10.341449"], ["updated_at", "2015-12-12 16:43:10.341449"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-12 16:43:10.344188"], ["updated_at", "2015-12-12 16:43:10.344188"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 6], ["post_type_id", 3], ["created_at", "2015-12-12 16:43:10.345392"], ["updated_at", "2015-12-12 16:43:10.345392"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:43:10.347911"], ["updated_at", "2015-12-12 16:43:10.347911"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 4], ["slug", "winterfell-news-fada476f-e5c0-4a13-9c80-3d6aed18409a"], ["created_at", "2015-12-12 16:43:10.350055"], ["updated_at", "2015-12-12 16:43:10.350055"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-12 16:43:10.351479"], ["updated_at", "2015-12-12 16:43:10.351479"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 3], ["updated_at", "2015-12-12 16:43:10.352742"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 3]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (470.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2239.2ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) 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.8ms) 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.9ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.6ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.7ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:43:16.062931"], ["updated_at", "2015-12-12 16:43:16.062931"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 16:43:16.083141"], ["updated_at", "2015-12-12 16:43:16.083141"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 16:43:16.088972"], ["updated_at", "2015-12-12 16:43:16.088972"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 16:43:16.091252"], ["updated_at", "2015-12-12 16:43:16.091252"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 16:43:16.092329"], ["updated_at", "2015-12-12 16:43:16.092329"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 16:43:16.094196"], ["updated_at", "2015-12-12 16:43:16.094196"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 16:43:16.095313"], ["updated_at", "2015-12-12 16:43:16.095313"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:43:16.110022"], ["updated_at", "2015-12-12 16:43:16.110022"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 2], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:43:16.203585"], ["updated_at", "2015-12-12 16:43:16.203585"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:43:16.210826"], ["updated_at", "2015-12-12 16:43:16.210826"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-12 16:43:16.212567"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2 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]]  (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]] Pulitzer::Version Load (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", 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.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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-12 16:43:16.234952"], ["updated_at", "2015-12-12 16:43:16.234952"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-12 16:43:16.238666"], ["updated_at", "2015-12-12 16:43:16.238666"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-12 16:43:16.243021"], ["updated_at", "2015-12-12 16:43:16.243021"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::PostType Load (1.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::PostType Load (1.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (211.0ms) 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.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.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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';  (0.6ms) 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.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:44:10.981478"], ["updated_at", "2015-12-12 16:44:10.981478"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 16:44:11.000205"], ["updated_at", "2015-12-12 16:44:11.000205"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) 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", "2015-12-12 16:44:11.005833"], ["updated_at", "2015-12-12 16:44:11.005833"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 16:44:11.008134"], ["updated_at", "2015-12-12 16:44:11.008134"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 16:44:11.009143"], ["updated_at", "2015-12-12 16:44:11.009143"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 16:44:11.010910"], ["updated_at", "2015-12-12 16:44:11.010910"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 16:44:11.011905"], ["updated_at", "2015-12-12 16:44:11.011905"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:44:11.027896"], ["updated_at", "2015-12-12 16:44:11.027896"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 2], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:44:11.124711"], ["updated_at", "2015-12-12 16:44:11.124711"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:44:11.130324"], ["updated_at", "2015-12-12 16:44:11.130324"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-12 16:44:11.131966"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2 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]]  (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]] Pulitzer::Version Load (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", 1]] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::PostType Load (0.8ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::PostType Load (0.7ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) SELECT COUNT(*) FROM "pulitzer_post_types" Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] Pulitzer::Version Load (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) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-12 16:45:39.563369"], ["updated_at", "2015-12-12 16:45:39.563369"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-12 16:45:39.567618"], ["updated_at", "2015-12-12 16:45:39.567618"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-12 16:45:39.571636"], ["updated_at", "2015-12-12 16:45:39.571636"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1042.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (63.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.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.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) 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_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.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';  (0.7ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.3ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:46:46.120621"], ["updated_at", "2015-12-12 16:46:46.120621"]]  (404.9ms) commit transaction  (0.2ms) begin transaction Pulitzer::Post Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:46:46.699110"], ["updated_at", "2015-12-12 16:46:46.699110"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:46:46.736464"], ["updated_at", "2015-12-12 16:46:46.736464"]]  (254.5ms) commit transaction  (0.6ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.4ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.5ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.4ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.3ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:47:18.609418"], ["updated_at", "2015-12-12 16:47:18.609418"]]  (43.8ms) commit transaction  (0.5ms) begin transaction Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 2], ["slug", "winterfell-news-02529a5d-9d2d-4471-9858-03732127c81e"], ["created_at", "2015-12-12 16:47:18.678015"], ["updated_at", "2015-12-12 16:47:18.678015"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-12 16:47:18.698408"], ["updated_at", "2015-12-12 16:47:18.698408"]]  (1.0ms) commit transaction  (0.3ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:47:19.418500"], ["updated_at", "2015-12-12 16:47:19.418500"]]  (1337.1ms) commit transaction  (0.4ms) begin transaction Pulitzer::Post Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (0.6ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 3], ["slug", "winterfell-news-af8a3714-03fb-4386-9039-f8fdd3371418"], ["created_at", "2015-12-12 16:47:20.783164"], ["updated_at", "2015-12-12 16:47:20.783164"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", "2015-12-12 16:47:20.797927"], ["updated_at", "2015-12-12 16:47:20.797927"]]  (1.1ms) commit transaction  (0.3ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:47:20.816099"], ["updated_at", "2015-12-12 16:47:20.816099"]]  (1.0ms) commit transaction  (0.3ms) begin transaction Pulitzer::Post Exists (0.6ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (0.6ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 4], ["slug", "winterfell-news-01629335-f349-4d00-9869-d951b12b4a8e"], ["created_at", "2015-12-12 16:47:20.844602"], ["updated_at", "2015-12-12 16:47:20.844602"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", "2015-12-12 16:47:20.865720"], ["updated_at", "2015-12-12 16:47:20.865720"]]  (1.1ms) commit transaction  (0.4ms) begin transaction SQL (0.8ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:50:56.221712"], ["updated_at", "2015-12-12 16:50:56.221712"]]  (1.7ms) commit transaction  (0.3ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 16:50:56.310158"], ["updated_at", "2015-12-12 16:50:56.310158"]]  (1.0ms) commit transaction  (0.2ms) begin transaction SQL (0.5ms) 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", 5], ["created_at", "2015-12-12 16:50:56.324321"], ["updated_at", "2015-12-12 16:50:56.324321"]]  (1.0ms) commit transaction  (0.2ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 16:50:56.344918"], ["updated_at", "2015-12-12 16:50:56.344918"]]  (0.9ms) commit transaction  (0.3ms) begin transaction SQL (0.5ms) 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", 5], ["created_at", "2015-12-12 16:50:56.363393"], ["updated_at", "2015-12-12 16:50:56.363393"]]  (1.1ms) commit transaction  (0.2ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 16:50:56.383072"], ["updated_at", "2015-12-12 16:50:56.383072"]]  (1.1ms) commit transaction  (0.4ms) begin transaction SQL (0.6ms) 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", 5], ["created_at", "2015-12-12 16:50:56.396897"], ["updated_at", "2015-12-12 16:50:56.396897"]]  (1.0ms) commit transaction  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:51:36.862425"], ["updated_at", "2015-12-12 16:51:36.862425"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 4' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-12 16:51:36.868780"], ["updated_at", "2015-12-12 16:51:36.868780"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 4], ["post_type_id", 6], ["created_at", "2015-12-12 16:51:36.870899"], ["updated_at", "2015-12-12 16:51:36.870899"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-12 16:51:36.873436"], ["updated_at", "2015-12-12 16:51:36.873436"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 5], ["post_type_id", 6], ["created_at", "2015-12-12 16:51:36.874946"], ["updated_at", "2015-12-12 16:51:36.874946"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-12 16:51:36.877471"], ["updated_at", "2015-12-12 16:51:36.877471"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 6], ["post_type_id", 6], ["created_at", "2015-12-12 16:51:36.878776"], ["updated_at", "2015-12-12 16:51:36.878776"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:51:36.881912"], ["updated_at", "2015-12-12 16:51:36.881912"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 7], ["slug", "winterfell-news-6b860172-a11f-4126-b9bc-bd7dede49a2d"], ["created_at", "2015-12-12 16:51:36.884579"], ["updated_at", "2015-12-12 16:51:36.884579"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", "2015-12-12 16:51:36.887111"], ["updated_at", "2015-12-12 16:51:36.887111"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 6], ["updated_at", "2015-12-12 16:51:36.888762"], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_2 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", 6]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 6]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 5], ["status", 1]] Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 6]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 5], ["status", 0]]  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 4]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 5) LIMIT 1 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", 5], ["label", "Slide 1 content element 4"], ["content_element_type_id", 4], ["post_type_content_element_type_id", 4], ["created_at", "2015-12-12 16:51:36.912808"], ["updated_at", "2015-12-12 16:51:36.912808"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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", 5], ["status", 0]]  (0.0ms) SAVEPOINT active_record_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", 5]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 5) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 5], ["label", "Slide 1 content element 5"], ["content_element_type_id", 5], ["post_type_content_element_type_id", 5], ["created_at", "2015-12-12 16:51:36.917864"], ["updated_at", "2015-12-12 16:51:36.917864"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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", 5], ["status", 0]]  (0.1ms) SAVEPOINT active_record_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", 6]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 5) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 5], ["label", "Slide 1 content element 6"], ["content_element_type_id", 6], ["post_type_content_element_type_id", 6], ["created_at", "2015-12-12 16:51:36.923047"], ["updated_at", "2015-12-12 16:51:36.923047"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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", 5], ["status", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (456.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (825.7ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (0.7ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) 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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.7ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.7ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.6ms) 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.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:51:46.609414"], ["updated_at", "2015-12-12 16:51:46.609414"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:51:46.714587"], ["updated_at", "2015-12-12 16:51:46.714587"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:51:46.726725"], ["updated_at", "2015-12-12 16:51:46.726725"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:51:46.730287"], ["updated_at", "2015-12-12 16:51:46.730287"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 16:51:46.760334"], ["updated_at", "2015-12-12 16:51:46.760334"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-12 16:51:46.763088"], ["updated_at", "2015-12-12 16:51:46.763088"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 16:51:46.765737"], ["updated_at", "2015-12-12 16:51:46.765737"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-12 16:51:46.767021"], ["updated_at", "2015-12-12 16:51:46.767021"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 16:51:46.770011"], ["updated_at", "2015-12-12 16:51:46.770011"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-12 16:51:46.771776"], ["updated_at", "2015-12-12 16:51:46.771776"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-12 16:51:46.773441"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) begin transaction  (0.3ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 2]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::PostTypeContentElementType 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", 2]] Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-12 16:54:00.076913"], ["updated_at", "2015-12-12 16:54:00.076913"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-12 16:54:00.080861"], ["updated_at", "2015-12-12 16:54:00.080861"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-12 16:54:00.084905"], ["updated_at", "2015-12-12 16:54:00.084905"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1106.4ms) 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';  (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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.9ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.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.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:07.261082"], ["updated_at", "2015-12-12 16:54:07.261082"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:54:07.284068"], ["updated_at", "2015-12-12 16:54:07.284068"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:07.300560"], ["updated_at", "2015-12-12 16:54:07.300560"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:07.305566"], ["updated_at", "2015-12-12 16:54:07.305566"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:07.310237"], ["updated_at", "2015-12-12 16:54:07.310237"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.6ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:54:14.479794"], ["updated_at", "2015-12-12 16:54:14.479794"]]  (3412.3ms) commit transaction  (0.4ms) begin transaction Pulitzer::ContentElement Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:54:17.924336"], ["updated_at", "2015-12-12 16:54:17.924336"]]  (1.4ms) commit transaction Pulitzer::ContentElement Load (1.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Load (1.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Load (1.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Load (0.5ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Load (0.4ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Load (0.4ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:34.124639"], ["updated_at", "2015-12-12 16:54:34.124639"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (419.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:34.550566"], ["updated_at", "2015-12-12 16:54:34.550566"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:54:34.555847"], ["updated_at", "2015-12-12 16:54:34.555847"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2249.2ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) 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.8ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) 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_content_elements";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:43.057714"], ["updated_at", "2015-12-12 16:54:43.057714"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:54:43.081361"], ["updated_at", "2015-12-12 16:54:43.081361"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:43.097658"], ["updated_at", "2015-12-12 16:54:43.097658"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:43.102474"], ["updated_at", "2015-12-12 16:54:43.102474"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:43.107327"], ["updated_at", "2015-12-12 16:54:43.107327"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-12 16:54:43.112167"], ["updated_at", "2015-12-12 16:54:43.112167"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:54:43.115468"], ["updated_at", "2015-12-12 16:54:43.115468"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:54:43.121617"], ["updated_at", "2015-12-12 16:54:43.121617"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:54:43.123725"], ["updated_at", "2015-12-12 16:54:43.123725"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:43.129246"], ["updated_at", "2015-12-12 16:54:43.129246"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:43.134915"], ["updated_at", "2015-12-12 16:54:43.134915"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:54:43.139792"], ["updated_at", "2015-12-12 16:54:43.139792"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (725.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.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 "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:46.989619"], ["updated_at", "2015-12-12 16:54:46.989619"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 16:54:47.010627"], ["updated_at", "2015-12-12 16:54:47.010627"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:47.026082"], ["updated_at", "2015-12-12 16:54:47.026082"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:47.030804"], ["updated_at", "2015-12-12 16:54:47.030804"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:47.036161"], ["updated_at", "2015-12-12 16:54:47.036161"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:54:47.041706"], ["updated_at", "2015-12-12 16:54:47.041706"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:54:47.043572"], ["updated_at", "2015-12-12 16:54:47.043572"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 16:54:47.049303"], ["updated_at", "2015-12-12 16:54:47.049303"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 16:54:47.051788"], ["updated_at", "2015-12-12 16:54:47.051788"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:47.056402"], ["updated_at", "2015-12-12 16:54:47.056402"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO 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  (0.1ms) SAVEPOINT active_record_2 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 16:54:47.062128"], ["updated_at", "2015-12-12 16:54:47.062128"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 16:54:47.066786"], ["updated_at", "2015-12-12 16:54:47.066786"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (819.9ms) 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';  (1.2ms) 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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (1.5ms) 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';  (0.8ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.8ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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';  (2.4ms) 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.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:54:52.616861"], ["updated_at", "2015-12-12 16:54:52.616861"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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", "winterfell-news"]] SQL (168.6ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:54:52.832841"], ["updated_at", "2015-12-12 16:54:52.832841"]] SQL (1.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:54:53.055136"], ["updated_at", "2015-12-12 16:54:53.055136"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:54:53.062021"], ["updated_at", "2015-12-12 16:54:53.062021"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 16:54:53.073565"], ["updated_at", "2015-12-12 16:54:53.073565"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-12 16:54:53.075685"], ["updated_at", "2015-12-12 16:54:53.075685"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 16:54:53.077744"], ["updated_at", "2015-12-12 16:54:53.077744"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-12 16:54:53.078794"], ["updated_at", "2015-12-12 16:54:53.078794"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 16:54:53.080886"], ["updated_at", "2015-12-12 16:54:53.080886"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-12 16:54:53.082022"], ["updated_at", "2015-12-12 16:54:53.082022"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-12 16:54:53.083255"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.7ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.6ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.5ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.6ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.4ms) SELECT COUNT(*) FROM "pulitzer_posts" Pulitzer::Post Load (0.6ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) begin transaction SQL (600.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:56:27.337718"], ["updated_at", "2015-12-12 16:56:27.337718"]]  (0.6ms) rollback transaction  (0.3ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 2]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-12 16:56:46.245753"], ["updated_at", "2015-12-12 16:56:46.245753"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.3ms) 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 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-12 16:56:46.251810"], ["updated_at", "2015-12-12 16:56:46.251810"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-12 16:56:46.259280"], ["updated_at", "2015-12-12 16:56:46.259280"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (434.7ms) 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.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.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.6ms) 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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:56:50.973241"], ["updated_at", "2015-12-12 16:56:50.973241"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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", "winterfell-news"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:56:51.078227"], ["updated_at", "2015-12-12 16:56:51.078227"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:56:51.089339"], ["updated_at", "2015-12-12 16:56:51.089339"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (727.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2389.5ms) 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.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.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.6ms) 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.5ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.6ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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';  (0.6ms) 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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:57:06.858751"], ["updated_at", "2015-12-12 16:57:06.858751"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.8ms) begin transaction Pulitzer::Post Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:57:16.625854"], ["updated_at", "2015-12-12 16:57:16.625854"]]  (0.2ms) rollback transaction  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1957.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (344.6ms) 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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:57:29.478289"], ["updated_at", "2015-12-12 16:57:29.478289"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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", "winterfell-news"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news"], ["post_type_id", 1], ["slug", "winterfell-news"], ["created_at", "2015-12-12 16:57:29.584934"], ["updated_at", "2015-12-12 16:57:29.584934"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:57:29.595641"], ["updated_at", "2015-12-12 16:57:29.595641"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (695.3ms) 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.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 "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 16:58:50.802963"], ["updated_at", "2015-12-12 16:58:50.802963"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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.3ms) 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", "2015-12-12 16:58:50.909697"], ["updated_at", "2015-12-12 16:58:50.909697"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 16:58:50.920165"], ["updated_at", "2015-12-12 16:58:50.920165"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) begin transaction Pulitzer::Post Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "asdfasdfasdf"]] SQL (0.6ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "asdfasdfasdf"], ["slug", "asdfasdfasdf"], ["created_at", "2015-12-12 16:59:18.380706"], ["updated_at", "2015-12-12 16:59:18.380706"]]  (0.5ms) rollback transaction  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (223.9ms) 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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:00:04.769404"], ["updated_at", "2015-12-12 17:00:04.769404"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "winterfell-news-1"]] SQL (0.5ms) 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", "2015-12-12 17:00:04.886682"], ["updated_at", "2015-12-12 17:00:04.886682"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:00:04.899999"], ["updated_at", "2015-12-12 17:00:04.899999"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1116.3ms) 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.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';  (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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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';  (0.6ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:00:56.047651"], ["updated_at", "2015-12-12 17:00:56.047651"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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.3ms) 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", "2015-12-12 17:00:56.157130"], ["updated_at", "2015-12-12 17:00:56.157130"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:00:56.169864"], ["updated_at", "2015-12-12 17:00:56.169864"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.7ms) begin transaction  (0.4ms) commit transaction Pulitzer::Post Load (1.4ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (1.3ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) 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.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.8ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:02:00.148429"], ["updated_at", "2015-12-12 17:02:00.148429"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-12 17:02:00.248657"], ["updated_at", "2015-12-12 17:02:00.248657"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:02:00.259673"], ["updated_at", "2015-12-12 17:02:00.259673"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Post Load (9.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (3.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (92.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';  (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.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (0.8ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.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.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", "2015-12-12 17:05:29.407802"], ["updated_at", "2015-12-12 17:05:29.407802"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-12 17:05:29.520908"], ["updated_at", "2015-12-12 17:05:29.520908"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:05:29.531516"], ["updated_at", "2015-12-12 17:05:29.531516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.9ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2199.2ms) 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';  (2.3ms) DELETE FROM "pulitzer_posts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) 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';  (0.9ms) 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.4ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.1ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.7ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (1.9ms) DELETE FROM "pulitzer_post_tags";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';  (1.5ms) DELETE FROM "pulitzer_post_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_types';  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.3ms) 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", "2015-12-12 17:05:59.750369"], ["updated_at", "2015-12-12 17:05:59.750369"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (4.1ms) 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", "2015-12-12 17:06:00.077174"], ["updated_at", "2015-12-12 17:06:00.077174"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:06:00.097894"], ["updated_at", "2015-12-12 17:06:00.097894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (164.4ms) 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.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';  (1.1ms) 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.0ms) 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.8ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.2ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.1ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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';  (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';  (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", "2015-12-12 17:06:50.307310"], ["updated_at", "2015-12-12 17:06:50.307310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (2449.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) 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", "2015-12-12 17:06:52.914079"], ["updated_at", "2015-12-12 17:06:52.914079"]]  (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.3ms) 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", "2015-12-12 17:06:52.916944"], ["updated_at", "2015-12-12 17:06:52.916944"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:06:52.936991"], ["updated_at", "2015-12-12 17:06:52.936991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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", "2015-12-12 17:07:37.422242"], ["updated_at", "2015-12-12 17:07:37.422242"]]  (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-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-12 17:07:37.425851"], ["updated_at", "2015-12-12 17:07:37.425851"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:07:37.427925"], ["updated_at", "2015-12-12 17:07:37.427925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (922.9ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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", "2015-12-12 17:07:38.373700"], ["updated_at", "2015-12-12 17:07:38.373700"]]  (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.3ms) 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", "2015-12-12 17:07:38.378883"], ["updated_at", "2015-12-12 17:07:38.378883"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:07:38.381412"], ["updated_at", "2015-12-12 17:07:38.381412"]]  (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.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-12 17:07:38.383773"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1687.7ms) DELETE FROM "pulitzer_content_element_types";  (0.6ms) 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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.8ms) 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.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", "2015-12-12 17:07:44.094121"], ["updated_at", "2015-12-12 17:07:44.094121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (514.5ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) 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.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (1.3ms) begin transaction SQL (1.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:09:36.231902"], ["updated_at", "2015-12-12 17:09:36.231902"]]  (970.7ms) commit transaction  (0.7ms) begin transaction Pulitzer::Post Exists (2.2ms) 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 (1.8ms) 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", "2015-12-12 17:09:37.272569"], ["updated_at", "2015-12-12 17:09:37.272569"]] SQL (1.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:09:37.510748"], ["updated_at", "2015-12-12 17:09:37.510748"]]  (265.9ms) commit transaction Pulitzer::Post Load (3.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) 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", "2015-12-12 17:12:06.685479"], ["updated_at", "2015-12-12 17:12:06.685479"]]  (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-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 2], ["slug", "winterfell-news-3"], ["created_at", "2015-12-12 17:12:06.687966"], ["updated_at", "2015-12-12 17:12:06.687966"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-12 17:12:06.689755"], ["updated_at", "2015-12-12 17:12:06.689755"]]  (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" != 2) 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", "2015-12-12 17:12:06.691751"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (438.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1056.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.8ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.8ms) 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';  (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 "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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';  (0.5ms) DELETE FROM "pulitzer_post_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.0ms) 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", "2015-12-12 17:12:13.231021"], ["updated_at", "2015-12-12 17:12:13.231021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (53.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.6ms) begin transaction SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:12:16.994169"], ["updated_at", "2015-12-12 17:12:16.994169"]]  (304.3ms) commit transaction  (0.4ms) begin transaction Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]] SQL (0.9ms) 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", "2015-12-12 17:12:17.321196"], ["updated_at", "2015-12-12 17:12:17.321196"]] SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:12:17.373453"], ["updated_at", "2015-12-12 17:12:17.373453"]]  (805.7ms) commit transaction Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.1ms) 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", "2015-12-12 17:12:36.799249"], ["updated_at", "2015-12-12 17:12:36.799249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 2], ["slug", "winterfell-news-3"], ["created_at", "2015-12-12 17:12:36.801677"], ["updated_at", "2015-12-12 17:12:36.801677"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-12 17:12:36.803386"], ["updated_at", "2015-12-12 17:12:36.803386"]]  (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" != 2) 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", "2015-12-12 17:12:36.805311"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction 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.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.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.6ms) 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 "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.7ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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';  (0.7ms) DELETE FROM "pulitzer_post_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (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", "2015-12-12 17:12:47.961414"], ["updated_at", "2015-12-12 17:12:47.961414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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.1ms) begin transaction  (0.1ms) 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", "2015-12-12 17:12:48.109853"], ["updated_at", "2015-12-12 17:12:48.109853"]]  (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.3ms) 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", "2015-12-12 17:12:48.112608"], ["updated_at", "2015-12-12 17:12:48.112608"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:12:48.130008"], ["updated_at", "2015-12-12 17:12:48.130008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:12:48.155191"], ["updated_at", "2015-12-12 17:12:48.155191"]]  (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-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-12 17:12:48.159479"], ["updated_at", "2015-12-12 17:12:48.159479"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:12:48.161577"], ["updated_at", "2015-12-12 17:12:48.161577"]]  (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" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-12 17:12:48.164436"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) 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.6ms) 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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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';  (0.6ms) 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.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", "2015-12-12 17:12:53.148397"], ["updated_at", "2015-12-12 17:12:53.148397"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:12:53.266197"], ["updated_at", "2015-12-12 17:12:53.266197"]]  (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-2"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2015-12-12 17:12:53.269819"], ["updated_at", "2015-12-12 17:12:53.269819"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:12:53.282765"], ["updated_at", "2015-12-12 17:12:53.282765"]]  (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.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:12:53.306461"], ["updated_at", "2015-12-12 17:12:53.306461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-12 17:12:53.309049"], ["updated_at", "2015-12-12 17:12:53.309049"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:12:53.310714"], ["updated_at", "2015-12-12 17:12:53.310714"]]  (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.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-12 17:12:53.312870"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.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", "2015-12-12 17:13:06.922951"], ["updated_at", "2015-12-12 17:13:06.922951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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", "2015-12-12 17:13:07.055169"], ["updated_at", "2015-12-12 17:13:07.055169"]]  (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.3ms) 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", "2015-12-12 17:13:07.057435"], ["updated_at", "2015-12-12 17:13:07.057435"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:13:07.071930"], ["updated_at", "2015-12-12 17:13:07.071930"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:13:07.092631"], ["updated_at", "2015-12-12 17:13:07.092631"]]  (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.2ms) 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", "2015-12-12 17:13:07.095146"], ["updated_at", "2015-12-12 17:13:07.095146"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:13:07.096686"], ["updated_at", "2015-12-12 17:13:07.096686"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.3ms) 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", "2015-12-12 17:13:07.099667"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) 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.6ms) 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.6ms) 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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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';  (1.4ms) 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.6ms) 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.0ms) 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", "2015-12-12 17:13:20.294956"], ["updated_at", "2015-12-12 17:13:20.294956"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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", "2015-12-12 17:13:20.414871"], ["updated_at", "2015-12-12 17:13:20.414871"]]  (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.5ms) 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", "2015-12-12 17:13:20.417328"], ["updated_at", "2015-12-12 17:13:20.417328"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:13:20.430228"], ["updated_at", "2015-12-12 17:13:20.430228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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", "2015-12-12 17:13:20.450984"], ["updated_at", "2015-12-12 17:13:20.450984"]]  (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-3"]] SQL (0.4ms) 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", "2015-12-12 17:13:20.454526"], ["updated_at", "2015-12-12 17:13:20.454526"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:13:20.457001"], ["updated_at", "2015-12-12 17:13:20.457001"]]  (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", "2015-12-12 17:13:20.460200"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) DELETE FROM "pulitzer_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) 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';  (3.0ms) 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';  (2.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 "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.0ms) 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_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.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.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.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", "2015-12-12 17:14:37.062601"], ["updated_at", "2015-12-12 17:14:37.062601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.6ms) 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", "2015-12-12 17:14:37.189695"], ["updated_at", "2015-12-12 17:14:37.189695"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:14:37.204314"], ["updated_at", "2015-12-12 17:14:37.204314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) 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' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:40.047464"], ["updated_at", "2015-12-12 17:14:40.047464"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 17:14:40.063589"], ["updated_at", "2015-12-12 17:14:40.063589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) 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) 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' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:40.083942"], ["updated_at", "2015-12-12 17:14:40.083942"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:40.090799"], ["updated_at", "2015-12-12 17:14:40.090799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:40.096396"], ["updated_at", "2015-12-12 17:14:40.096396"]]  (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.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:14:40.100935"], ["updated_at", "2015-12-12 17:14:40.100935"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:14:40.102848"], ["updated_at", "2015-12-12 17:14:40.102848"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:14:40.108986"], ["updated_at", "2015-12-12 17:14:40.108986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:14:40.111340"], ["updated_at", "2015-12-12 17:14:40.111340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:40.116892"], ["updated_at", "2015-12-12 17:14:40.116892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:40.121158"], ["updated_at", "2015-12-12 17:14:40.121158"]]  (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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 17:14:40.125402"], ["updated_at", "2015-12-12 17:14:40.125402"]]  (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.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:14:40.234783"], ["updated_at", "2015-12-12 17:14:40.234783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]]  (0.4ms) 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.1ms) 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", "2015-12-12 17:14:40.247784"], ["updated_at", "2015-12-12 17:14:40.247784"]]  (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-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-12 17:14:40.250642"], ["updated_at", "2015-12-12 17:14:40.250642"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:14:40.252487"], ["updated_at", "2015-12-12 17:14:40.252487"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:14:40.280245"], ["updated_at", "2015-12-12 17:14:40.280245"]]  (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-4"]] SQL (0.3ms) 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", "2015-12-12 17:14:40.282778"], ["updated_at", "2015-12-12 17:14:40.282778"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:14:40.284331"], ["updated_at", "2015-12-12 17:14:40.284331"]]  (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" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-12 17:14:40.286340"], ["id", 1]]  (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 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-12 17:14:40.298810"], ["updated_at", "2015-12-12 17:14:40.298810"]]  (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", "2015-12-12 17:14:40.302885"], ["updated_at", "2015-12-12 17:14:40.302885"]]  (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-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", "2015-12-12 17:14:40.305395"], ["updated_at", "2015-12-12 17:14:40.305395"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:14:40.306878"], ["updated_at", "2015-12-12 17:14:40.306878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:14:40.308074"], ["updated_at", "2015-12-12 17:14:40.308074"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:14:40.336261"], ["updated_at", "2015-12-12 17:14:40.336261"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:14:40.339465"], ["updated_at", "2015-12-12 17:14:40.339465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (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" = 'The north 2' 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.0ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 17:14:40.412368"], ["updated_at", "2015-12-12 17:14:40.412368"]]  (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  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.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", "2015-12-12 17:14:40.424859"], ["updated_at", "2015-12-12 17:14:40.424859"]]  (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-6"]] SQL (0.3ms) 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", "2015-12-12 17:14:40.429199"], ["updated_at", "2015-12-12 17:14:40.429199"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:14:40.431805"], ["updated_at", "2015-12-12 17:14:40.431805"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) 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.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 "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) 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_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';  (1.5ms) 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.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", "2015-12-12 17:14:46.617250"], ["updated_at", "2015-12-12 17:14:46.617250"]]  (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-1"]] SQL (0.8ms) 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", "2015-12-12 17:14:46.746549"], ["updated_at", "2015-12-12 17:14:46.746549"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:14:46.758390"], ["updated_at", "2015-12-12 17:14:46.758390"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:48.288229"], ["updated_at", "2015-12-12 17:14:48.288229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 17:14:48.304212"], ["updated_at", "2015-12-12 17:14:48.304212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) 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.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:48.324933"], ["updated_at", "2015-12-12 17:14:48.324933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:48.329699"], ["updated_at", "2015-12-12 17:14:48.329699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:48.334726"], ["updated_at", "2015-12-12 17:14:48.334726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:14:48.339815"], ["updated_at", "2015-12-12 17:14:48.339815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:14:48.342207"], ["updated_at", "2015-12-12 17:14:48.342207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::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", "2015-12-12 17:14:48.347011"], ["updated_at", "2015-12-12 17:14:48.347011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:14:48.349972"], ["updated_at", "2015-12-12 17:14:48.349972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:48.356002"], ["updated_at", "2015-12-12 17:14:48.356002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:48.361754"], ["updated_at", "2015-12-12 17:14:48.361754"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 17:14:48.366137"], ["updated_at", "2015-12-12 17:14:48.366137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:14:48.437422"], ["updated_at", "2015-12-12 17:14:48.437422"]]  (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-2"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:14:48.448496"], ["updated_at", "2015-12-12 17:14:48.448496"]]  (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.2ms) 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", "2015-12-12 17:14:48.450627"], ["updated_at", "2015-12-12 17:14:48.450627"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:14:48.452306"], ["updated_at", "2015-12-12 17:14:48.452306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", "2015-12-12 17:14:48.479173"], ["updated_at", "2015-12-12 17:14:48.479173"]]  (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-4"]] SQL (0.3ms) 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", "2015-12-12 17:14:48.482193"], ["updated_at", "2015-12-12 17:14:48.482193"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:14:48.483965"], ["updated_at", "2015-12-12 17:14:48.483965"]]  (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.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-12 17:14:48.486455"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.3ms) 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", "2015-12-12 17:14:48.499754"], ["updated_at", "2015-12-12 17:14:48.499754"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-12 17:14:48.503481"], ["updated_at", "2015-12-12 17:14:48.503481"]]  (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-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", "2015-12-12 17:14:48.505843"], ["updated_at", "2015-12-12 17:14:48.505843"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:14:48.507186"], ["updated_at", "2015-12-12 17:14:48.507186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:14:48.508333"], ["updated_at", "2015-12-12 17:14:48.508333"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.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.0ms) commit transaction  (0.1ms) 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", "2015-12-12 17:14:48.535150"], ["updated_at", "2015-12-12 17:14:48.535150"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:14:48.538722"], ["updated_at", "2015-12-12 17:14:48.538722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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.0ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 17:14:48.599177"], ["updated_at", "2015-12-12 17:14:48.599177"]]  (0.0ms) 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  (0.5ms) 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) rollback transaction  (0.0ms) 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", "2015-12-12 17:14:48.611786"], ["updated_at", "2015-12-12 17:14:48.611786"]]  (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.2ms) 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", "2015-12-12 17:14:48.614640"], ["updated_at", "2015-12-12 17:14:48.614640"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:14:48.616723"], ["updated_at", "2015-12-12 17:14:48.616723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) 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.8ms) 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';  (0.6ms) 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';  (0.6ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.7ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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';  (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.0ms) begin transaction  (0.0ms) 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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:57.424363"], ["updated_at", "2015-12-12 17:14:57.424363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 17:14:57.452536"], ["updated_at", "2015-12-12 17:14:57.452536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) 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" = 'Text' LIMIT 1 SQL (0.6ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:57.470973"], ["updated_at", "2015-12-12 17:14:57.470973"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:57.478168"], ["updated_at", "2015-12-12 17:14:57.478168"]]  (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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:57.483518"], ["updated_at", "2015-12-12 17:14:57.483518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:14:57.489836"], ["updated_at", "2015-12-12 17:14:57.489836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:14:57.492150"], ["updated_at", "2015-12-12 17:14:57.492150"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:14:57.497455"], ["updated_at", "2015-12-12 17:14:57.497455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:14:57.499265"], ["updated_at", "2015-12-12 17:14:57.499265"]]  (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.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:57.504595"], ["updated_at", "2015-12-12 17:14:57.504595"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:14:57.511759"], ["updated_at", "2015-12-12 17:14:57.511759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 17:14:57.516191"], ["updated_at", "2015-12-12 17:14:57.516191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.2ms) 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", "2015-12-12 17:14:57.599278"], ["updated_at", "2015-12-12 17:14:57.599278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:14:57.716699"], ["updated_at", "2015-12-12 17:14:57.716699"]]  (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-2"]] SQL (0.5ms) 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", "2015-12-12 17:14:57.720038"], ["updated_at", "2015-12-12 17:14:57.720038"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:14:57.735351"], ["updated_at", "2015-12-12 17:14:57.735351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:14:57.761574"], ["updated_at", "2015-12-12 17:14:57.761574"]]  (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-3"]] SQL (0.2ms) 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", "2015-12-12 17:14:57.764502"], ["updated_at", "2015-12-12 17:14:57.764502"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:14:57.766202"], ["updated_at", "2015-12-12 17:14:57.766202"]]  (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.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-12 17:14:57.768505"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-12 17:14:57.782150"], ["updated_at", "2015-12-12 17:14:57.782150"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-12 17:14:57.785835"], ["updated_at", "2015-12-12 17:14:57.785835"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2015-12-12 17:14:57.789269"], ["updated_at", "2015-12-12 17:14:57.789269"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:14:57.791526"], ["updated_at", "2015-12-12 17:14:57.791526"]]  (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", "2015-12-12 17:14:57.793139"], ["updated_at", "2015-12-12 17:14:57.793139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) 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.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) 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", "2015-12-12 17:14:57.823069"], ["updated_at", "2015-12-12 17:14:57.823069"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:14:57.826630"], ["updated_at", "2015-12-12 17:14:57.826630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.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.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) 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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 17:14:57.870925"], ["updated_at", "2015-12-12 17:14:57.870925"]]  (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  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.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", "2015-12-12 17:14:57.883893"], ["updated_at", "2015-12-12 17:14:57.883893"]]  (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-5"]] SQL (0.4ms) 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", "2015-12-12 17:14:57.888046"], ["updated_at", "2015-12-12 17:14:57.888046"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:14:57.890788"], ["updated_at", "2015-12-12 17:14:57.890788"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) 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.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) 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.3ms) SELECT COUNT(*) FROM "pulitzer_posts" Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1 ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) DELETE FROM "pulitzer_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (1.2ms) 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';  (1.0ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.0ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (1.3ms) 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.0ms) begin transaction  (0.0ms) 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", "2015-12-12 17:15:47.397403"], ["updated_at", "2015-12-12 17:15:47.397403"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-12 17:15:47.535300"], ["updated_at", "2015-12-12 17:15:47.535300"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:15:47.551496"], ["updated_at", "2015-12-12 17:15:47.551496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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) 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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:15:49.693986"], ["updated_at", "2015-12-12 17:15:49.693986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 17:15:49.711921"], ["updated_at", "2015-12-12 17:15:49.711921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:15:49.732421"], ["updated_at", "2015-12-12 17:15:49.732421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:15:49.738767"], ["updated_at", "2015-12-12 17:15:49.738767"]]  (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) 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' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:15:49.746253"], ["updated_at", "2015-12-12 17:15:49.746253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:15:49.752545"], ["updated_at", "2015-12-12 17:15:49.752545"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:15:49.754843"], ["updated_at", "2015-12-12 17:15:49.754843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:15:49.760656"], ["updated_at", "2015-12-12 17:15:49.760656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:15:49.762953"], ["updated_at", "2015-12-12 17:15:49.762953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) 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" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:15:49.768525"], ["updated_at", "2015-12-12 17:15:49.768525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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" = 'Text' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:15:49.775087"], ["updated_at", "2015-12-12 17:15:49.775087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 17:15:49.782786"], ["updated_at", "2015-12-12 17:15:49.782786"]]  (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) 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", "2015-12-12 17:15:49.900269"], ["updated_at", "2015-12-12 17:15:49.900269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:15:49.913241"], ["updated_at", "2015-12-12 17:15:49.913241"]]  (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-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-12 17:15:49.915724"], ["updated_at", "2015-12-12 17:15:49.915724"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:15:49.917931"], ["updated_at", "2015-12-12 17:15:49.917931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:15:49.952830"], ["updated_at", "2015-12-12 17:15:49.952830"]]  (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-4"]] SQL (0.3ms) 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", "2015-12-12 17:15:49.955491"], ["updated_at", "2015-12-12 17:15:49.955491"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:15:49.957721"], ["updated_at", "2015-12-12 17:15:49.957721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-12 17:15:49.961611"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-12 17:15:49.974996"], ["updated_at", "2015-12-12 17:15:49.974996"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-12 17:15:49.979088"], ["updated_at", "2015-12-12 17:15:49.979088"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]] SQL (0.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", "2015-12-12 17:15:49.981848"], ["updated_at", "2015-12-12 17:15:49.981848"]] SQL (0.8ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:15:49.983372"], ["updated_at", "2015-12-12 17:15:49.983372"]]  (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", "2015-12-12 17:15:49.986853"], ["updated_at", "2015-12-12 17:15:49.986853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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", "2015-12-12 17:15:50.019733"], ["updated_at", "2015-12-12 17:15:50.019733"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:15:50.027399"], ["updated_at", "2015-12-12 17:15:50.027399"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) 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 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 17:15:50.096217"], ["updated_at", "2015-12-12 17:15:50.096217"]]  (0.3ms) 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  (0.4ms) 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.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) 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", "2015-12-12 17:15:50.113421"], ["updated_at", "2015-12-12 17:15:50.113421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]] SQL (0.3ms) 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", "2015-12-12 17:15:50.116929"], ["updated_at", "2015-12-12 17:15:50.116929"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:15:50.119168"], ["updated_at", "2015-12-12 17:15:50.119168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) DELETE FROM "pulitzer_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (0.7ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) 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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:16:03.305438"], ["updated_at", "2015-12-12 17:16:03.305438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 17:16:03.329787"], ["updated_at", "2015-12-12 17:16:03.329787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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.0ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:16:03.345793"], ["updated_at", "2015-12-12 17:16:03.345793"]]  (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::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:16:03.351256"], ["updated_at", "2015-12-12 17:16:03.351256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:16:03.356540"], ["updated_at", "2015-12-12 17:16:03.356540"]]  (0.1ms) 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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:16:03.360976"], ["updated_at", "2015-12-12 17:16:03.360976"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:16:03.362815"], ["updated_at", "2015-12-12 17:16:03.362815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:16:03.369362"], ["updated_at", "2015-12-12 17:16:03.369362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:16:03.371711"], ["updated_at", "2015-12-12 17:16:03.371711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:16:03.376925"], ["updated_at", "2015-12-12 17:16:03.376925"]]  (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::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:16:03.382579"], ["updated_at", "2015-12-12 17:16:03.382579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 17:16:03.387723"], ["updated_at", "2015-12-12 17:16:03.387723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "2015-12-12 17:16:03.471535"], ["updated_at", "2015-12-12 17:16:03.471535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (0.4ms) 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.1ms) begin transaction  (0.1ms) 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", "2015-12-12 17:16:03.585514"], ["updated_at", "2015-12-12 17:16:03.585514"]]  (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.3ms) 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", "2015-12-12 17:16:03.588331"], ["updated_at", "2015-12-12 17:16:03.588331"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:16:03.603023"], ["updated_at", "2015-12-12 17:16:03.603023"]]  (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", "2015-12-12 17:16:03.634781"], ["updated_at", "2015-12-12 17:16:03.634781"]]  (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-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-12 17:16:03.638081"], ["updated_at", "2015-12-12 17:16:03.638081"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:16:03.641109"], ["updated_at", "2015-12-12 17:16:03.641109"]]  (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", "2015-12-12 17:16:03.643754"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-12 17:16:03.656018"], ["updated_at", "2015-12-12 17:16:03.656018"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:16:03.660337"], ["updated_at", "2015-12-12 17:16:03.660337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2015-12-12 17:16:03.663763"], ["updated_at", "2015-12-12 17:16:03.663763"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:16:03.665443"], ["updated_at", "2015-12-12 17:16:03.665443"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:16:03.666833"], ["updated_at", "2015-12-12 17:16:03.666833"]]  (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) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) 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.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) 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", "2015-12-12 17:16:03.695328"], ["updated_at", "2015-12-12 17:16:03.695328"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:16:03.699212"], ["updated_at", "2015-12-12 17:16:03.699212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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.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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.2ms) begin transaction  (0.1ms) 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 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' 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.0ms) 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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 17:16:03.739955"], ["updated_at", "2015-12-12 17:16:03.739955"]]  (0.0ms) 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  (0.4ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:16:03.751566"], ["updated_at", "2015-12-12 17:16:03.751566"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2015-12-12 17:16:03.754403"], ["updated_at", "2015-12-12 17:16:03.754403"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:16:03.756426"], ["updated_at", "2015-12-12 17:16:03.756426"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) DELETE FROM "pulitzer_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (1.4ms) 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.9ms) 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.9ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) 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' LIMIT 1 SQL (0.7ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:16:44.514477"], ["updated_at", "2015-12-12 17:16:44.514477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 17:16:44.538769"], ["updated_at", "2015-12-12 17:16:44.538769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:16:44.555873"], ["updated_at", "2015-12-12 17:16:44.555873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:16:44.560912"], ["updated_at", "2015-12-12 17:16:44.560912"]]  (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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:16:44.565602"], ["updated_at", "2015-12-12 17:16:44.565602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:16:44.570131"], ["updated_at", "2015-12-12 17:16:44.570131"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:16:44.572196"], ["updated_at", "2015-12-12 17:16:44.572196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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" = 'Video' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:16:44.576625"], ["updated_at", "2015-12-12 17:16:44.576625"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:16:44.578836"], ["updated_at", "2015-12-12 17:16:44.578836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:16:44.583550"], ["updated_at", "2015-12-12 17:16:44.583550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:16:44.589211"], ["updated_at", "2015-12-12 17:16:44.589211"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 17:16:44.593233"], ["updated_at", "2015-12-12 17:16:44.593233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "2015-12-12 17:16:44.716225"], ["updated_at", "2015-12-12 17:16:44.716225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:16:44.844373"], ["updated_at", "2015-12-12 17:16:44.844373"]]  (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-2"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2015-12-12 17:16:44.847518"], ["updated_at", "2015-12-12 17:16:44.847518"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:16:44.863801"], ["updated_at", "2015-12-12 17:16:44.863801"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.2ms) 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 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-12 17:16:44.902226"], ["updated_at", "2015-12-12 17:16:44.902226"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-12 17:16:44.907057"], ["updated_at", "2015-12-12 17:16:44.907057"]]  (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-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", "2015-12-12 17:16:44.910226"], ["updated_at", "2015-12-12 17:16:44.910226"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:16:44.911676"], ["updated_at", "2015-12-12 17:16:44.911676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:16:44.912816"], ["updated_at", "2015-12-12 17:16:44.912816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:16:44.942657"], ["updated_at", "2015-12-12 17:16:44.942657"]]  (0.8ms) 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" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:16:44.946301"], ["updated_at", "2015-12-12 17:16:44.946301"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.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 2' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) commit transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.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.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 17:16:44.989810"], ["updated_at", "2015-12-12 17:16:44.989810"]]  (0.0ms) 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  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:16:45.003210"], ["updated_at", "2015-12-12 17:16:45.003210"]]  (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-4"]] SQL (0.5ms) 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", "2015-12-12 17:16:45.006181"], ["updated_at", "2015-12-12 17:16:45.006181"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:16:45.008307"], ["updated_at", "2015-12-12 17:16:45.008307"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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.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.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 ActiveRecord::SchemaMigration Load (0.4ms) 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.3ms) 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';  (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';  (2.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';  (1.3ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.0ms) 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_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';  (1.5ms) 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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:07.289243"], ["updated_at", "2015-12-12 17:17:07.289243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 17:17:07.313091"], ["updated_at", "2015-12-12 17:17:07.313091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 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.1ms) 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.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) 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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:07.332403"], ["updated_at", "2015-12-12 17:17:07.332403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.9ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:07.340151"], ["updated_at", "2015-12-12 17:17:07.340151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:07.345570"], ["updated_at", "2015-12-12 17:17:07.345570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:17:07.350282"], ["updated_at", "2015-12-12 17:17:07.350282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:17:07.352179"], ["updated_at", "2015-12-12 17:17:07.352179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:17:07.357733"], ["updated_at", "2015-12-12 17:17:07.357733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:17:07.359912"], ["updated_at", "2015-12-12 17:17:07.359912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:07.364772"], ["updated_at", "2015-12-12 17:17:07.364772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:07.370465"], ["updated_at", "2015-12-12 17:17:07.370465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 17:17:07.375108"], ["updated_at", "2015-12-12 17:17:07.375108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:17:07.456379"], ["updated_at", "2015-12-12 17:17:07.456379"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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", "2015-12-12 17:17:07.563506"], ["updated_at", "2015-12-12 17:17:07.563506"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2015-12-12 17:17:07.565959"], ["updated_at", "2015-12-12 17:17:07.565959"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:17:07.581386"], ["updated_at", "2015-12-12 17:17:07.581386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:17:07.606953"], ["updated_at", "2015-12-12 17:17:07.606953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-12 17:17:07.609435"], ["updated_at", "2015-12-12 17:17:07.609435"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:17:07.610983"], ["updated_at", "2015-12-12 17:17:07.610983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 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", "2015-12-12 17:17:07.613888"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-12 17:17:07.627533"], ["updated_at", "2015-12-12 17:17:07.627533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:17:07.631110"], ["updated_at", "2015-12-12 17:17:07.631110"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2015-12-12 17:17:07.633412"], ["updated_at", "2015-12-12 17:17:07.633412"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:17:07.634658"], ["updated_at", "2015-12-12 17:17:07.634658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:17:07.635783"], ["updated_at", "2015-12-12 17:17:07.635783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.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) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.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", "2015-12-12 17:17:07.663941"], ["updated_at", "2015-12-12 17:17:07.663941"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:17:07.666820"], ["updated_at", "2015-12-12 17:17:07.666820"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.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" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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.0ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 17:17:07.707052"], ["updated_at", "2015-12-12 17:17:07.707052"]]  (0.0ms) 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  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:17:07.719835"], ["updated_at", "2015-12-12 17:17:07.719835"]]  (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-5"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2015-12-12 17:17:07.722434"], ["updated_at", "2015-12-12 17:17:07.722434"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:17:07.724349"], ["updated_at", "2015-12-12 17:17:07.724349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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.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.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) 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.3ms) 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.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.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) 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_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.9ms) 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.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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:32.202840"], ["updated_at", "2015-12-12 17:17:32.202840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 17:17:32.227615"], ["updated_at", "2015-12-12 17:17:32.227615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:32.243437"], ["updated_at", "2015-12-12 17:17:32.243437"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:32.248649"], ["updated_at", "2015-12-12 17:17:32.248649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:32.253838"], ["updated_at", "2015-12-12 17:17:32.253838"]]  (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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:17:32.259060"], ["updated_at", "2015-12-12 17:17:32.259060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:17:32.261161"], ["updated_at", "2015-12-12 17:17:32.261161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:17:32.265845"], ["updated_at", "2015-12-12 17:17:32.265845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:17:32.268183"], ["updated_at", "2015-12-12 17:17:32.268183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:32.272765"], ["updated_at", "2015-12-12 17:17:32.272765"]]  (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) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:32.277975"], ["updated_at", "2015-12-12 17:17:32.277975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 17:17:32.283283"], ["updated_at", "2015-12-12 17:17:32.283283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "2015-12-12 17:17:32.390832"], ["updated_at", "2015-12-12 17:17:32.390832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) 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.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:17:32.497863"], ["updated_at", "2015-12-12 17:17:32.497863"]]  (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.7ms) 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", "2015-12-12 17:17:32.500125"], ["updated_at", "2015-12-12 17:17:32.500125"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:17:32.514464"], ["updated_at", "2015-12-12 17:17:32.514464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:17:32.542533"], ["updated_at", "2015-12-12 17:17:32.542533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-12 17:17:32.545420"], ["updated_at", "2015-12-12 17:17:32.545420"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:17:32.547203"], ["updated_at", "2015-12-12 17:17:32.547203"]]  (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", "2015-12-12 17:17:32.549259"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-12 17:17:32.560742"], ["updated_at", "2015-12-12 17:17:32.560742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:17:32.564313"], ["updated_at", "2015-12-12 17:17:32.564313"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2015-12-12 17:17:32.566546"], ["updated_at", "2015-12-12 17:17:32.566546"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:17:32.567834"], ["updated_at", "2015-12-12 17:17:32.567834"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:17:32.568972"], ["updated_at", "2015-12-12 17:17:32.568972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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) 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", "2015-12-12 17:17:32.593998"], ["updated_at", "2015-12-12 17:17:32.593998"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:17:32.597042"], ["updated_at", "2015-12-12 17:17:32.597042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.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.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 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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.0ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 17:17:32.637844"], ["updated_at", "2015-12-12 17:17:32.637844"]]  (0.0ms) 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  (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.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", "2015-12-12 17:17:32.650768"], ["updated_at", "2015-12-12 17:17:32.650768"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]] SQL (1.0ms) 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", "2015-12-12 17:17:32.653818"], ["updated_at", "2015-12-12 17:17:32.653818"]] SQL (0.9ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:17:32.656537"], ["updated_at", "2015-12-12 17:17:32.656537"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) DELETE FROM "pulitzer_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (0.6ms) 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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:43.197342"], ["updated_at", "2015-12-12 17:17:43.197342"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 17:17:43.223745"], ["updated_at", "2015-12-12 17:17:43.223745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.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::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:43.237916"], ["updated_at", "2015-12-12 17:17:43.237916"]]  (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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:43.243179"], ["updated_at", "2015-12-12 17:17:43.243179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:43.248691"], ["updated_at", "2015-12-12 17:17:43.248691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:17:43.253391"], ["updated_at", "2015-12-12 17:17:43.253391"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:17:43.255179"], ["updated_at", "2015-12-12 17:17:43.255179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:17:43.260786"], ["updated_at", "2015-12-12 17:17:43.260786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:17:43.263089"], ["updated_at", "2015-12-12 17:17:43.263089"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:43.267656"], ["updated_at", "2015-12-12 17:17:43.267656"]]  (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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:17:43.272844"], ["updated_at", "2015-12-12 17:17:43.272844"]]  (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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 17:17:43.277389"], ["updated_at", "2015-12-12 17:17:43.277389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "2015-12-12 17:17:43.356590"], ["updated_at", "2015-12-12 17:17:43.356590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.6ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:17:44.752550"], ["updated_at", "2015-12-12 17:17:44.752550"]]  (1.0ms) commit transaction  (0.3ms) begin transaction Pulitzer::Post Exists (0.5ms) 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 (1.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2015-12-12 17:17:44.796502"], ["updated_at", "2015-12-12 17:17:44.796502"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:17:44.895126"], ["updated_at", "2015-12-12 17:17:44.895126"]]  (1.2ms) commit transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) commit transaction  (0.2ms) begin transaction  (0.2ms) 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", "2015-12-12 17:17:55.959687"], ["updated_at", "2015-12-12 17:17:55.959687"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "winterfell-news-3"]] SQL (0.9ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 2], ["slug", "winterfell-news-3"], ["created_at", "2015-12-12 17:17:55.980153"], ["updated_at", "2015-12-12 17:17:55.980153"]] SQL (0.6ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-12 17:17:56.004774"], ["updated_at", "2015-12-12 17:17:56.004774"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 2) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.5ms) 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", "2015-12-12 17:17:56.031630"], ["id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) commit transaction  (0.2ms) 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 1' LIMIT 1 SQL (0.8ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-12 17:17:56.084542"], ["updated_at", "2015-12-12 17:17:56.084542"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:17:56.103463"], ["updated_at", "2015-12-12 17:17:56.103463"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-12 17:17:56.117360"], ["updated_at", "2015-12-12 17:17:56.117360"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-12 17:17:56.127330"], ["updated_at", "2015-12-12 17:17:56.127330"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-12 17:17:56.138296"], ["updated_at", "2015-12-12 17:17:56.138296"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) commit transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) commit transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) commit transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.5ms) commit transaction  (0.4ms) begin transaction  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.3ms) commit transaction  (0.4ms) begin transaction  (0.2ms) 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", "2015-12-12 17:17:56.309358"], ["updated_at", "2015-12-12 17:17:56.309358"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:17:56.329270"], ["updated_at", "2015-12-12 17:17:56.329270"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) commit transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.4ms) commit transaction  (0.3ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) commit transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) commit transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) commit transaction  (0.2ms) begin transaction  (0.6ms) rollback transaction  (0.5ms) begin transaction  (0.4ms) commit transaction  (0.4ms) begin transaction  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.3ms) commit transaction  (0.3ms) begin transaction  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.3ms) commit transaction  (0.3ms) begin transaction  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.3ms) commit transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.3ms) commit transaction  (0.3ms) begin transaction Pulitzer::Tag Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.3ms) commit transaction  (0.2ms) begin transaction Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) commit transaction  (0.2ms) begin transaction Pulitzer::Tag Load (0.3ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 17:17:56.616612"], ["updated_at", "2015-12-12 17:17:56.616612"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1 Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1  (0.8ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) commit transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.3ms) commit transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) commit transaction  (0.2ms) begin transaction  (0.2ms) 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", "2015-12-12 17:17:56.698500"], ["updated_at", "2015-12-12 17:17:56.698500"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "winterfell-news-5"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 2], ["slug", "winterfell-news-5"], ["created_at", "2015-12-12 17:17:56.711854"], ["updated_at", "2015-12-12 17:17:56.711854"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-12 17:17:56.724904"], ["updated_at", "2015-12-12 17:17:56.724904"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) commit transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.4ms) commit transaction  (0.3ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) commit transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) commit transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) commit transaction  (0.1ms) begin transaction  (0.2ms) 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.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (0.6ms) DELETE FROM "pulitzer_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.6ms) 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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.7ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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';  (1.0ms) DELETE FROM "pulitzer_post_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';  (0.6ms) DELETE FROM "pulitzer_post_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.1ms) begin transaction  (0.0ms) 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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:18:08.363162"], ["updated_at", "2015-12-12 17:18:08.363162"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 17:18:08.388460"], ["updated_at", "2015-12-12 17:18:08.388460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:18:08.403837"], ["updated_at", "2015-12-12 17:18:08.403837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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" = 'Text' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:18:08.409709"], ["updated_at", "2015-12-12 17:18:08.409709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:18:08.414748"], ["updated_at", "2015-12-12 17:18:08.414748"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:18:08.420024"], ["updated_at", "2015-12-12 17:18:08.420024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:18:08.422434"], ["updated_at", "2015-12-12 17:18:08.422434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:18:08.428772"], ["updated_at", "2015-12-12 17:18:08.428772"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:18:08.431291"], ["updated_at", "2015-12-12 17:18:08.431291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:18:08.438101"], ["updated_at", "2015-12-12 17:18:08.438101"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.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.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:18:08.445479"], ["updated_at", "2015-12-12 17:18:08.445479"]]  (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" = 'Image' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 17:18:08.450569"], ["updated_at", "2015-12-12 17:18:08.450569"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "2015-12-12 17:18:08.538532"], ["updated_at", "2015-12-12 17:18:08.538532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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", "2015-12-12 17:18:08.680008"], ["updated_at", "2015-12-12 17:18:08.680008"]]  (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-2"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2015-12-12 17:18:08.683064"], ["updated_at", "2015-12-12 17:18:08.683064"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:18:08.698994"], ["updated_at", "2015-12-12 17:18:08.698994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:18:08.731109"], ["updated_at", "2015-12-12 17:18:08.731109"]]  (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.5ms) 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", "2015-12-12 17:18:08.733634"], ["updated_at", "2015-12-12 17:18:08.733634"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:18:08.736448"], ["updated_at", "2015-12-12 17:18:08.736448"]]  (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" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-12 17:18:08.739276"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-12 17:18:08.754818"], ["updated_at", "2015-12-12 17:18:08.754818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-12 17:18:08.758937"], ["updated_at", "2015-12-12 17:18:08.758937"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2015-12-12 17:18:08.761307"], ["updated_at", "2015-12-12 17:18:08.761307"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:18:08.762677"], ["updated_at", "2015-12-12 17:18:08.762677"]]  (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", "2015-12-12 17:18:08.764205"], ["updated_at", "2015-12-12 17:18:08.764205"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) 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.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.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", "2015-12-12 17:18:08.791711"], ["updated_at", "2015-12-12 17:18:08.791711"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:18:08.794953"], ["updated_at", "2015-12-12 17:18:08.794953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.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.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) 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.1ms) 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" = 'The north 2' LIMIT 1  (0.0ms) 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" IS NULL LIMIT 1  (0.1ms) 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.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 17:18:08.838806"], ["updated_at", "2015-12-12 17:18:08.838806"]]  (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  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) 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", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:18:08.854550"], ["updated_at", "2015-12-12 17:18:08.854550"]]  (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.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2015-12-12 17:18:08.857784"], ["updated_at", "2015-12-12 17:18:08.857784"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:18:08.859844"], ["updated_at", "2015-12-12 17:18:08.859844"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) 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.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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (0.6ms) 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.5ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.0ms) begin transaction  (0.0ms) 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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:18:26.399689"], ["updated_at", "2015-12-12 17:18:26.399689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 17:18:26.424006"], ["updated_at", "2015-12-12 17:18:26.424006"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:18:26.438775"], ["updated_at", "2015-12-12 17:18:26.438775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:18:26.443984"], ["updated_at", "2015-12-12 17:18:26.443984"]]  (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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:18:26.449952"], ["updated_at", "2015-12-12 17:18:26.449952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:18:26.454396"], ["updated_at", "2015-12-12 17:18:26.454396"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.7ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:18:26.456444"], ["updated_at", "2015-12-12 17:18:26.456444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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" = 'Video' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:18:26.461610"], ["updated_at", "2015-12-12 17:18:26.461610"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:18:26.465630"], ["updated_at", "2015-12-12 17:18:26.465630"]]  (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 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:18:26.472177"], ["updated_at", "2015-12-12 17:18:26.472177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:18:26.477822"], ["updated_at", "2015-12-12 17:18:26.477822"]]  (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" = 'Image' LIMIT 1 SQL (1.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 17:18:26.481998"], ["updated_at", "2015-12-12 17:18:26.481998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:18:26.565556"], ["updated_at", "2015-12-12 17:18:26.565556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.9ms) begin transaction SQL (1.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:18:27.647875"], ["updated_at", "2015-12-12 17:18:27.647875"]]  (2.6ms) commit transaction  (0.3ms) begin transaction Pulitzer::Post Exists (0.6ms) 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.8ms) 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", "2015-12-12 17:18:27.717178"], ["updated_at", "2015-12-12 17:18:27.717178"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:18:27.839161"], ["updated_at", "2015-12-12 17:18:27.839161"]]  (1.0ms) commit transaction  (0.7ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.1ms) 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", "2015-12-12 17:18:57.675302"], ["updated_at", "2015-12-12 17:18:57.675302"]]  (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-3"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 2], ["slug", "winterfell-news-3"], ["created_at", "2015-12-12 17:18:57.678025"], ["updated_at", "2015-12-12 17:18:57.678025"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-12 17:18:57.680201"], ["updated_at", "2015-12-12 17:18:57.680201"]]  (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" != 2) 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", "2015-12-12 17:18:57.683508"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-12 17:18:57.695167"], ["updated_at", "2015-12-12 17:18:57.695167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:18:57.698696"], ["updated_at", "2015-12-12 17:18:57.698696"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-12 17:18:57.700837"], ["updated_at", "2015-12-12 17:18:57.700837"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-12 17:18:57.702275"], ["updated_at", "2015-12-12 17:18:57.702275"]]  (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", 2], ["created_at", "2015-12-12 17:18:57.704232"], ["updated_at", "2015-12-12 17:18:57.704232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) commit transaction  (0.1ms) 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.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) 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", "2015-12-12 17:18:57.732824"], ["updated_at", "2015-12-12 17:18:57.732824"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:18:57.735601"], ["updated_at", "2015-12-12 17:18:57.735601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (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" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) 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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 17:18:57.772504"], ["updated_at", "2015-12-12 17:18:57.772504"]]  (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  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.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", "2015-12-12 17:18:57.784081"], ["updated_at", "2015-12-12 17:18:57.784081"]]  (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-5"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 2], ["slug", "winterfell-news-5"], ["created_at", "2015-12-12 17:18:57.786925"], ["updated_at", "2015-12-12 17:18:57.786925"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-12 17:18:57.788882"], ["updated_at", "2015-12-12 17:18:57.788882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) 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.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.6ms) 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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.6ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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';  (0.5ms) DELETE FROM "pulitzer_post_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.1ms) begin transaction  (0.0ms) 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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:04.576439"], ["updated_at", "2015-12-12 17:19:04.576439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 17:19:04.602826"], ["updated_at", "2015-12-12 17:19:04.602826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) 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" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:04.617749"], ["updated_at", "2015-12-12 17:19:04.617749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:04.623152"], ["updated_at", "2015-12-12 17:19:04.623152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:04.628027"], ["updated_at", "2015-12-12 17:19:04.628027"]]  (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) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:19:04.632918"], ["updated_at", "2015-12-12 17:19:04.632918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:19:04.634973"], ["updated_at", "2015-12-12 17:19:04.634973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:19:04.639805"], ["updated_at", "2015-12-12 17:19:04.639805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:19:04.642025"], ["updated_at", "2015-12-12 17:19:04.642025"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:04.646454"], ["updated_at", "2015-12-12 17:19:04.646454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:04.651183"], ["updated_at", "2015-12-12 17:19:04.651183"]]  (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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 17:19:04.655731"], ["updated_at", "2015-12-12 17:19:04.655731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) 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';  (1.4ms) 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';  (1.0ms) 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.9ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.6ms) 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.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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:27.795412"], ["updated_at", "2015-12-12 17:19:27.795412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 17:19:27.819459"], ["updated_at", "2015-12-12 17:19:27.819459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:27.834238"], ["updated_at", "2015-12-12 17:19:27.834238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:27.839439"], ["updated_at", "2015-12-12 17:19:27.839439"]]  (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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:27.844293"], ["updated_at", "2015-12-12 17:19:27.844293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:19:27.849038"], ["updated_at", "2015-12-12 17:19:27.849038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:19:27.851288"], ["updated_at", "2015-12-12 17:19:27.851288"]]  (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) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:19:27.858913"], ["updated_at", "2015-12-12 17:19:27.858913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:19:27.862811"], ["updated_at", "2015-12-12 17:19:27.862811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:27.871661"], ["updated_at", "2015-12-12 17:19:27.871661"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:27.880958"], ["updated_at", "2015-12-12 17:19:27.880958"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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" = 'Image' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 17:19:27.887698"], ["updated_at", "2015-12-12 17:19:27.887698"]]  (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) 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", "2015-12-12 17:19:27.967246"], ["updated_at", "2015-12-12 17:19:27.967246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) 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", "2015-12-12 17:19:29.559784"], ["updated_at", "2015-12-12 17:19:29.559784"]]  (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-2"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2015-12-12 17:19:29.562904"], ["updated_at", "2015-12-12 17:19:29.562904"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:19:29.578464"], ["updated_at", "2015-12-12 17:19:29.578464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:19:29.582407"], ["updated_at", "2015-12-12 17:19:29.582407"]]  (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.2ms) 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", "2015-12-12 17:19:29.584615"], ["updated_at", "2015-12-12 17:19:29.584615"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:19:29.586113"], ["updated_at", "2015-12-12 17:19:29.586113"]]  (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.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-12 17:19:29.588475"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-12 17:19:29.601145"], ["updated_at", "2015-12-12 17:19:29.601145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-12 17:19:29.605531"], ["updated_at", "2015-12-12 17:19:29.605531"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2015-12-12 17:19:29.607820"], ["updated_at", "2015-12-12 17:19:29.607820"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:19:29.609118"], ["updated_at", "2015-12-12 17:19:29.609118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:19:29.610374"], ["updated_at", "2015-12-12 17:19:29.610374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:19:29.636330"], ["updated_at", "2015-12-12 17:19:29.636330"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:19:29.640225"], ["updated_at", "2015-12-12 17:19:29.640225"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.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.0ms) rollback transaction  (0.0ms) 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 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 17:19:29.681656"], ["updated_at", "2015-12-12 17:19:29.681656"]]  (0.0ms) 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  (0.5ms) 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.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:19:29.696116"], ["updated_at", "2015-12-12 17:19:29.696116"]]  (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-5"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2015-12-12 17:19:29.698522"], ["updated_at", "2015-12-12 17:19:29.698522"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:19:29.700661"], ["updated_at", "2015-12-12 17:19:29.700661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) 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.6ms) 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.5ms) 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.5ms) 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 "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.6ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.9ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (1.3ms) 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.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", "2015-12-12 17:19:37.455962"], ["updated_at", "2015-12-12 17:19:37.455962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.3ms) 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", "2015-12-12 17:19:37.568556"], ["updated_at", "2015-12-12 17:19:37.568556"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:19:37.581909"], ["updated_at", "2015-12-12 17:19:37.581909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) 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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:40.442634"], ["updated_at", "2015-12-12 17:19:40.442634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-12 17:19:40.458547"], ["updated_at", "2015-12-12 17:19:40.458547"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:40.478407"], ["updated_at", "2015-12-12 17:19:40.478407"]]  (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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:40.483360"], ["updated_at", "2015-12-12 17:19:40.483360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:40.488225"], ["updated_at", "2015-12-12 17:19:40.488225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:19:40.493889"], ["updated_at", "2015-12-12 17:19:40.493889"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:19:40.496746"], ["updated_at", "2015-12-12 17:19:40.496746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-12 17:19:40.502233"], ["updated_at", "2015-12-12 17:19:40.502233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-12 17:19:40.504373"], ["updated_at", "2015-12-12 17:19:40.504373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:40.509299"], ["updated_at", "2015-12-12 17:19:40.509299"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) 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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-12 17:19:40.513186"], ["updated_at", "2015-12-12 17:19:40.513186"]]  (0.1ms) 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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-12 17:19:40.517592"], ["updated_at", "2015-12-12 17:19:40.517592"]]  (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) 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", "2015-12-12 17:19:40.590944"], ["updated_at", "2015-12-12 17:19:40.590944"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]]  (0.3ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:19:40.602180"], ["updated_at", "2015-12-12 17:19:40.602180"]]  (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.6ms) 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", "2015-12-12 17:19:40.604408"], ["updated_at", "2015-12-12 17:19:40.604408"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:19:40.606578"], ["updated_at", "2015-12-12 17:19:40.606578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:19:40.610058"], ["updated_at", "2015-12-12 17:19:40.610058"]]  (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-4"]] SQL (0.3ms) 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", "2015-12-12 17:19:40.612241"], ["updated_at", "2015-12-12 17:19:40.612241"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:19:40.613708"], ["updated_at", "2015-12-12 17:19:40.613708"]]  (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", "2015-12-12 17:19:40.616749"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-12 17:19:40.628813"], ["updated_at", "2015-12-12 17:19:40.628813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-12 17:19:40.632802"], ["updated_at", "2015-12-12 17:19:40.632802"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 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", "2015-12-12 17:19:40.636243"], ["updated_at", "2015-12-12 17:19:40.636243"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:19:40.637739"], ["updated_at", "2015-12-12 17:19:40.637739"]]  (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", "2015-12-12 17:19:40.639201"], ["updated_at", "2015-12-12 17:19:40.639201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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.9ms) 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.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:19:40.669193"], ["updated_at", "2015-12-12 17:19:40.669193"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:19:40.672186"], ["updated_at", "2015-12-12 17:19:40.672186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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.1ms) 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.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-12 17:19:40.715183"], ["updated_at", "2015-12-12 17:19:40.715183"]]  (0.0ms) 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  (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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:19:40.729075"], ["updated_at", "2015-12-12 17:19:40.729075"]]  (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-6"]] SQL (0.3ms) 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", "2015-12-12 17:19:40.746157"], ["updated_at", "2015-12-12 17:19:40.746157"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:19:40.748053"], ["updated_at", "2015-12-12 17:19:40.748053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) 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 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (1.6ms) 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.9ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.5ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.1ms) 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';  (1.0ms) DELETE FROM "pulitzer_post_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';  (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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (8.1ms) begin transaction SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:31:23.024191"], ["updated_at", "2015-12-12 17:31:23.024191"]]  (1.1ms) commit transaction  (0.4ms) begin transaction Pulitzer::Post Exists (0.5ms) 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.8ms) 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", "2015-12-12 17:31:23.254934"], ["updated_at", "2015-12-12 17:31:23.254934"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:31:23.306819"], ["updated_at", "2015-12-12 17:31:23.306819"]]  (0.8ms) commit transaction Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) 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';  (1.3ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.5ms) DELETE FROM "pulitzer_tags";  (0.3ms) 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.3ms) 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.2ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.2ms) DELETE FROM "pulitzer_post_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.4ms) begin transaction SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:35:47.558232"], ["updated_at", "2015-12-12 17:35:47.558232"]]  (1.3ms) commit transaction  (0.6ms) begin transaction Pulitzer::ContentElementType Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (1.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:35:47.665284"], ["updated_at", "2015-12-12 17:35:47.665284"]]  (1.1ms) commit transaction  (5.7ms) begin transaction SQL (0.8ms) 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", "2015-12-12 17:35:47.703187"], ["updated_at", "2015-12-12 17:35:47.703187"]]  (1.0ms) commit transaction  (0.3ms) begin transaction Pulitzer::ContentElementType Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 17:35:47.730279"], ["updated_at", "2015-12-12 17:35:47.730279"]]  (1.2ms) commit transaction  (0.3ms) begin transaction SQL (0.7ms) 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", "2015-12-12 17:35:47.746107"], ["updated_at", "2015-12-12 17:35:47.746107"]]  (0.9ms) commit transaction  (0.2ms) begin transaction Pulitzer::ContentElementType Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 17:35:47.774887"], ["updated_at", "2015-12-12 17:35:47.774887"]]  (1.1ms) commit transaction  (0.3ms) begin transaction SQL (0.5ms) 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", "2015-12-12 17:35:47.790358"], ["updated_at", "2015-12-12 17:35:47.790358"]]  (1.0ms) commit transaction  (0.3ms) begin transaction Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.7ms) 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", "2015-12-12 17:35:50.520480"], ["updated_at", "2015-12-12 17:35:50.520480"]] SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:35:50.572842"], ["updated_at", "2015-12-12 17:35:50.572842"]]  (1.0ms) commit transaction Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Post Load (0.5ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::PostType Load (0.7ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::PostType Load (0.6ms) 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]]  (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", "2015-12-12 17:36:13.903555"], ["updated_at", "2015-12-12 17:36:13.903555"]]  (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" = 'Stark 4' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-12 17:36:13.909666"], ["updated_at", "2015-12-12 17:36:13.909666"]]  (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", 4], ["post_type_id", 2], ["created_at", "2015-12-12 17:36:13.911368"], ["updated_at", "2015-12-12 17:36:13.911368"]]  (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" = 'Stark 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-12 17:36:13.914341"], ["updated_at", "2015-12-12 17:36:13.914341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["content_element_type_id", 5], ["post_type_id", 2], ["created_at", "2015-12-12 17:36:13.915694"], ["updated_at", "2015-12-12 17:36:13.915694"]]  (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" = 'Stark 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-12 17:36:13.918102"], ["updated_at", "2015-12-12 17:36:13.918102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 6], ["post_type_id", 2], ["created_at", "2015-12-12 17:36:13.919454"], ["updated_at", "2015-12-12 17:36:13.919454"]]  (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-2"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-12 17:36:13.921975"], ["updated_at", "2015-12-12 17:36:13.921975"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-12 17:36:13.924529"], ["updated_at", "2015-12-12 17:36:13.924529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (7.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (374.9ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (1.1ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.8ms) 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.0ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.9ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.1ms) DELETE FROM "pulitzer_versions";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.8ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (0.9ms) DELETE FROM "pulitzer_post_tags";  (0.3ms) 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';  (1.9ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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", "2015-12-12 17:36:18.990932"], ["updated_at", "2015-12-12 17:36:18.990932"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:36:19.021804"], ["updated_at", "2015-12-12 17:36:19.021804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-12 17:36:19.029606"], ["updated_at", "2015-12-12 17:36:19.029606"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 17:36:19.033173"], ["updated_at", "2015-12-12 17:36:19.033173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-12 17:36:19.034986"], ["updated_at", "2015-12-12 17:36:19.034986"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 17:36:19.037530"], ["updated_at", "2015-12-12 17:36:19.037530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-12 17:36:19.039177"], ["updated_at", "2015-12-12 17:36:19.039177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.1ms) 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", "2015-12-12 17:36:19.165249"], ["updated_at", "2015-12-12 17:36:19.165249"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:36:19.179557"], ["updated_at", "2015-12-12 17:36:19.179557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 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::Version Load (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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-12 17:36:22.628626"], ["updated_at", "2015-12-12 17:36:22.628626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-12 17:36:22.632620"], ["updated_at", "2015-12-12 17:36:22.632620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-12 17:36:22.636152"], ["updated_at", "2015-12-12 17:36:22.636152"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (273.3ms) 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.9ms) 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';  (1.0ms) 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.9ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.9ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.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.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", "2015-12-12 17:36:35.603575"], ["updated_at", "2015-12-12 17:36:35.603575"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:36:35.625831"], ["updated_at", "2015-12-12 17:36:35.625831"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-12 17:36:35.631353"], ["updated_at", "2015-12-12 17:36:35.631353"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 17:36:35.633709"], ["updated_at", "2015-12-12 17:36:35.633709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-12 17:36:35.634803"], ["updated_at", "2015-12-12 17:36:35.634803"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 17:36:35.637279"], ["updated_at", "2015-12-12 17:36:35.637279"]]  (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", "2015-12-12 17:36:35.639913"], ["updated_at", "2015-12-12 17:36:35.639913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 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", "2015-12-12 17:36:35.760447"], ["updated_at", "2015-12-12 17:36:35.760447"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:36:35.785294"], ["updated_at", "2015-12-12 17:36:35.785294"]]  (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]] Pulitzer::Version Load (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", 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::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-12 17:36:35.817676"], ["updated_at", "2015-12-12 17:36:35.817676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-12 17:36:35.825796"], ["updated_at", "2015-12-12 17:36:35.825796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-12 17:36:35.836191"], ["updated_at", "2015-12-12 17:36:35.836191"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (82.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (258.9ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (3.4ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (7.2ms) DELETE FROM "pulitzer_posts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.4ms) 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.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (1.1ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) 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';  (1.3ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (1.6ms) 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.2ms) 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';  (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", "2015-12-12 17:36:45.377370"], ["updated_at", "2015-12-12 17:36:45.377370"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:36:45.405637"], ["updated_at", "2015-12-12 17:36:45.405637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-12 17:36:45.413728"], ["updated_at", "2015-12-12 17:36:45.413728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 17:36:45.416709"], ["updated_at", "2015-12-12 17:36:45.416709"]]  (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 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-12 17:36:45.419242"], ["updated_at", "2015-12-12 17:36:45.419242"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 17:36:45.422474"], ["updated_at", "2015-12-12 17:36:45.422474"]]  (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", "2015-12-12 17:36:45.424624"], ["updated_at", "2015-12-12 17:36:45.424624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 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", "2015-12-12 17:36:45.557637"], ["updated_at", "2015-12-12 17:36:45.557637"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:36:45.573196"], ["updated_at", "2015-12-12 17:36:45.573196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 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", 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::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-12 17:36:45.607779"], ["updated_at", "2015-12-12 17:36:45.607779"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 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", 2]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-12 17:36:45.617616"], ["updated_at", "2015-12-12 17:36:45.617616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-12 17:36:45.628308"], ["updated_at", "2015-12-12 17:36:45.628308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Post Load (0.2ms) 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (10.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (132.4ms) 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.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.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.6ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.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.1ms) begin transaction  (0.0ms) 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", "2015-12-12 17:37:05.998835"], ["updated_at", "2015-12-12 17:37:05.998835"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:37:06.024755"], ["updated_at", "2015-12-12 17:37:06.024755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-12 17:37:06.031350"], ["updated_at", "2015-12-12 17:37:06.031350"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 17:37:06.034524"], ["updated_at", "2015-12-12 17:37:06.034524"]]  (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 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-12 17:37:06.036604"], ["updated_at", "2015-12-12 17:37:06.036604"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 17:37:06.039827"], ["updated_at", "2015-12-12 17:37:06.039827"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-12 17:37:06.041292"], ["updated_at", "2015-12-12 17:37:06.041292"]]  (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-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", "2015-12-12 17:37:06.162735"], ["updated_at", "2015-12-12 17:37:06.162735"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:37:06.177415"], ["updated_at", "2015-12-12 17:37:06.177415"]]  (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::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-12 17:37:06.204172"], ["updated_at", "2015-12-12 17:37:06.204172"]]  (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) 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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-12 17:37:06.209216"], ["updated_at", "2015-12-12 17:37:06.209216"]]  (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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-12 17:37:06.213666"], ["updated_at", "2015-12-12 17:37:06.213666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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", 1]]  (112.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1063.5ms) 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';  (9.6ms) 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.9ms) 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';  (1.2ms) 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.9ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) 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';  (1.1ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (1.1ms) 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.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", "2015-12-12 17:39:27.903186"], ["updated_at", "2015-12-12 17:39:27.903186"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:39:27.924237"], ["updated_at", "2015-12-12 17:39:27.924237"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-12 17:39:27.930084"], ["updated_at", "2015-12-12 17:39:27.930084"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 17:39:27.933003"], ["updated_at", "2015-12-12 17:39:27.933003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-12 17:39:27.934751"], ["updated_at", "2015-12-12 17:39:27.934751"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 17:39:27.937202"], ["updated_at", "2015-12-12 17:39:27.937202"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-12 17:39:27.938369"], ["updated_at", "2015-12-12 17:39:27.938369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) begin transaction SQL (552.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:39:29.809565"], ["updated_at", "2015-12-12 17:39:29.809565"]]  (0.5ms) rollback transaction  (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", "2015-12-12 17:39:33.179354"], ["updated_at", "2015-12-12 17:39:33.179354"]]  (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-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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-12 17:39:33.316088"], ["updated_at", "2015-12-12 17:39:33.316088"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:39:33.331257"], ["updated_at", "2015-12-12 17:39:33.331257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (294.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.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';  (1.1ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.1ms) 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.1ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (2.3ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.0ms) 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';  (0.8ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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';  (1.0ms) DELETE FROM "pulitzer_post_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.1ms) begin transaction  (0.2ms) 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", "2015-12-12 17:39:40.443398"], ["updated_at", "2015-12-12 17:39:40.443398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (3.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (2.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:39:40.486790"], ["updated_at", "2015-12-12 17:39:40.486790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-12 17:39:40.522924"], ["updated_at", "2015-12-12 17:39:40.522924"]]  (2.3ms) 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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 17:39:40.537188"], ["updated_at", "2015-12-12 17:39:40.537188"]]  (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 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-12 17:39:40.540242"], ["updated_at", "2015-12-12 17:39:40.540242"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 17:39:40.546061"], ["updated_at", "2015-12-12 17:39:40.546061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-12 17:39:40.547635"], ["updated_at", "2015-12-12 17:39:40.547635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) begin transaction SQL (553.8ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:39:41.696248"], ["updated_at", "2015-12-12 17:39:41.696248"]]  (0.3ms) rollback transaction  (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", "2015-12-12 17:39:54.216995"], ["updated_at", "2015-12-12 17:39:54.216995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-12 17:39:54.347530"], ["updated_at", "2015-12-12 17:39:54.347530"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:39:54.363587"], ["updated_at", "2015-12-12 17:39:54.363587"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_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.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", 1]]  (172.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (307.1ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (1.1ms) 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.3ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.8ms) 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.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (6.5ms) begin transaction SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:40:04.127801"], ["updated_at", "2015-12-12 17:40:04.127801"]]  (657.1ms) commit transaction  (0.4ms) begin transaction Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (1.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", "2015-12-12 17:40:05.009247"], ["updated_at", "2015-12-12 17:40:05.009247"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:40:05.067695"], ["updated_at", "2015-12-12 17:40:05.067695"]]  (534.0ms) commit transaction Pulitzer::Post Load (1.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:40:17.155757"], ["updated_at", "2015-12-12 17:40:17.155757"]]  (1074.4ms) commit transaction  (0.4ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.6ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:40:18.304482"], ["updated_at", "2015-12-12 17:40:18.304482"]]  (843.5ms) commit transaction  (0.3ms) begin transaction SQL (0.7ms) 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", 2], ["created_at", "2015-12-12 17:40:19.170828"], ["updated_at", "2015-12-12 17:40:19.170828"]]  (0.8ms) commit transaction  (0.3ms) begin transaction Pulitzer::ContentElementType Exists (0.6ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.9ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 17:40:19.199705"], ["updated_at", "2015-12-12 17:40:19.199705"]]  (1.6ms) commit transaction  (0.7ms) begin transaction SQL (0.7ms) 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", 2], ["created_at", "2015-12-12 17:40:19.231923"], ["updated_at", "2015-12-12 17:40:19.231923"]]  (0.8ms) commit transaction  (0.3ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 17:40:19.268436"], ["updated_at", "2015-12-12 17:40:19.268436"]]  (1.0ms) commit transaction  (0.5ms) begin transaction SQL (0.6ms) 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", 2], ["created_at", "2015-12-12 17:40:19.285834"], ["updated_at", "2015-12-12 17:40:19.285834"]]  (1.0ms) commit transaction  (0.4ms) begin transaction SQL (50.7ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-12 17:40:31.131046"], ["id", 1]]  (53.2ms) commit transaction Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (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", "2015-12-12 17:40:59.094068"], ["updated_at", "2015-12-12 17:40:59.094068"]]  (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" = 'Stark 4' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-12 17:40:59.097799"], ["updated_at", "2015-12-12 17:40:59.097799"]]  (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", 4], ["post_type_id", 3], ["created_at", "2015-12-12 17:40:59.099375"], ["updated_at", "2015-12-12 17:40:59.099375"]]  (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" = 'Stark 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-12 17:40:59.102347"], ["updated_at", "2015-12-12 17:40:59.102347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["content_element_type_id", 5], ["post_type_id", 3], ["created_at", "2015-12-12 17:40:59.104298"], ["updated_at", "2015-12-12 17:40:59.104298"]]  (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" = 'Stark 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-12 17:40:59.106945"], ["updated_at", "2015-12-12 17:40:59.106945"]]  (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 6"], ["content_element_type_id", 6], ["post_type_id", 3], ["created_at", "2015-12-12 17:40:59.110085"], ["updated_at", "2015-12-12 17:40:59.110085"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 2]] 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", 2]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-12 17:40:59.135601"], ["updated_at", "2015-12-12 17:40:59.135601"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-12 17:40:59.144370"], ["updated_at", "2015-12-12 17:40:59.144370"]]  (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.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-12 17:40:59.149041"], ["updated_at", "2015-12-12 17:40:59.149041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (327.0ms) 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.8ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.2ms) 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';  (1.0ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.9ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.8ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (0.9ms) 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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (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", "2015-12-12 17:41:03.686947"], ["updated_at", "2015-12-12 17:41:03.686947"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:41:03.729329"], ["updated_at", "2015-12-12 17:41:03.729329"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-12 17:41:03.739527"], ["updated_at", "2015-12-12 17:41:03.739527"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 17:41:03.744105"], ["updated_at", "2015-12-12 17:41:03.744105"]]  (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 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-12 17:41:03.746854"], ["updated_at", "2015-12-12 17:41:03.746854"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 17:41:03.749925"], ["updated_at", "2015-12-12 17:41:03.749925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-12 17:41:03.751539"], ["updated_at", "2015-12-12 17:41:03.751539"]]  (0.0ms) 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", "2015-12-12 17:41:03.763458"], ["updated_at", "2015-12-12 17:41:03.763458"]]  (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-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", 2], ["slug", "winterfell-news-1"], ["created_at", "2015-12-12 17:41:03.904182"], ["updated_at", "2015-12-12 17:41:03.904182"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:41:03.921947"], ["updated_at", "2015-12-12 17:41:03.921947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-12 17:41:03.924077"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (1.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["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::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::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-12 17:41:20.606067"], ["updated_at", "2015-12-12 17:41:20.606067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-12 17:41:20.612782"], ["updated_at", "2015-12-12 17:41:20.612782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 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 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-12 17:41:20.617865"], ["updated_at", "2015-12-12 17:41:20.617865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2151.9ms) 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.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';  (1.3ms) DELETE FROM "pulitzer_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) 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 "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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';  (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.0ms) 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", "2015-12-12 17:41:47.420812"], ["updated_at", "2015-12-12 17:41:47.420812"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:41:47.446430"], ["updated_at", "2015-12-12 17:41:47.446430"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-12 17:41:47.452855"], ["updated_at", "2015-12-12 17:41:47.452855"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 17:41:47.456038"], ["updated_at", "2015-12-12 17:41:47.456038"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-12 17:41:47.457545"], ["updated_at", "2015-12-12 17:41:47.457545"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 17:41:47.459689"], ["updated_at", "2015-12-12 17:41:47.459689"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-12 17:41:47.460768"], ["updated_at", "2015-12-12 17:41:47.460768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) begin transaction SQL (546.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:41:48.835495"], ["updated_at", "2015-12-12 17:41:48.835495"]]  (0.3ms) rollback transaction  (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", "2015-12-12 17:41:53.976805"], ["updated_at", "2015-12-12 17:41:53.976805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-12 17:41:54.104822"], ["updated_at", "2015-12-12 17:41:54.104822"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:41:54.118543"], ["updated_at", "2015-12-12 17:41:54.118543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-12 17:41:54.120331"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."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.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-12 17:41:54.998709"], ["updated_at", "2015-12-12 17:41:54.998709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-12 17:41:55.004575"], ["updated_at", "2015-12-12 17:41:55.004575"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-12 17:41:55.015391"], ["updated_at", "2015-12-12 17:41:55.015391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (191.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.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.5ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.9ms) 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.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.1ms) begin transaction  (0.1ms) 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", "2015-12-12 17:41:59.219416"], ["updated_at", "2015-12-12 17:41:59.219416"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:41:59.244439"], ["updated_at", "2015-12-12 17:41:59.244439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-12 17:41:59.251358"], ["updated_at", "2015-12-12 17:41:59.251358"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 17:41:59.254516"], ["updated_at", "2015-12-12 17:41:59.254516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-12 17:41:59.256107"], ["updated_at", "2015-12-12 17:41:59.256107"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 17:41:59.258866"], ["updated_at", "2015-12-12 17:41:59.258866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-12 17:41:59.261295"], ["updated_at", "2015-12-12 17:41:59.261295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) begin transaction SQL (544.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:42:08.385055"], ["updated_at", "2015-12-12 17:42:08.385055"]]  (0.9ms) rollback transaction  (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", "2015-12-12 17:43:09.701997"], ["updated_at", "2015-12-12 17:43:09.701997"]]  (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-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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-12 17:43:09.822400"], ["updated_at", "2015-12-12 17:43:09.822400"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:43:09.835744"], ["updated_at", "2015-12-12 17:43:09.835744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-12 17:43:09.837583"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_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.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-12 17:43:10.801264"], ["updated_at", "2015-12-12 17:43:10.801264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-12 17:43:10.806036"], ["updated_at", "2015-12-12 17:43:10.806036"]]  (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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-12 17:43:10.810578"], ["updated_at", "2015-12-12 17:43:10.810578"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (3.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) 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';  (3.4ms) 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';  (2.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.7ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (2.0ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (2.0ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (1.9ms) 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';  (2.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.0ms) 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", "2015-12-12 17:43:14.466504"], ["updated_at", "2015-12-12 17:43:14.466504"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-12 17:43:14.597890"], ["updated_at", "2015-12-12 17:43:14.597890"]] SQL (0.7ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:43:14.615924"], ["updated_at", "2015-12-12 17:43:14.615924"]]  (0.1ms) 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", "2015-12-12 17:43:14.620588"], ["updated_at", "2015-12-12 17:43:14.620588"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:43:14.640011"], ["updated_at", "2015-12-12 17:43:14.640011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", 2], ["created_at", "2015-12-12 17:43:14.644196"], ["updated_at", "2015-12-12 17:43:14.644196"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 17:43:14.648671"], ["updated_at", "2015-12-12 17:43:14.648671"]]  (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 2"], ["content_element_type_id", 2], ["post_type_id", 2], ["created_at", "2015-12-12 17:43:14.650989"], ["updated_at", "2015-12-12 17:43:14.650989"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 17:43:14.654811"], ["updated_at", "2015-12-12 17:43:14.654811"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 2], ["created_at", "2015-12-12 17:43:14.656224"], ["updated_at", "2015-12-12 17:43:14.656224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-12 17:43:14.658008"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.9ms) 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", 2]] Pulitzer::PostTypeContentElementType 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", 2]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-12 17:43:32.094313"], ["updated_at", "2015-12-12 17:43:32.094313"]]  (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.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-12 17:43:32.100497"], ["updated_at", "2015-12-12 17:43:32.100497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-12 17:43:32.104250"], ["updated_at", "2015-12-12 17:43:32.104250"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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", 1]]  (136.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2519.4ms) 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';  (17.4ms) DELETE FROM "pulitzer_posts";  (0.4ms) 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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.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.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-12 17:43:37.801577"], ["updated_at", "2015-12-12 17:43:37.801577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-12 17:43:37.923785"], ["updated_at", "2015-12-12 17:43:37.923785"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-12 17:43:37.934996"], ["updated_at", "2015-12-12 17:43:37.934996"]]  (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", "2015-12-12 17:43:37.937887"], ["updated_at", "2015-12-12 17:43:37.937887"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-12 17:43:37.950785"], ["updated_at", "2015-12-12 17:43:37.950785"]]  (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", 2], ["created_at", "2015-12-12 17:43:37.952934"], ["updated_at", "2015-12-12 17:43:37.952934"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-12 17:43:37.955218"], ["updated_at", "2015-12-12 17:43:37.955218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 2], ["created_at", "2015-12-12 17:43:37.956430"], ["updated_at", "2015-12-12 17:43:37.956430"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-12 17:43:37.958217"], ["updated_at", "2015-12-12 17:43:37.958217"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 2], ["created_at", "2015-12-12 17:43:37.959272"], ["updated_at", "2015-12-12 17:43:37.959272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-12 17:43:37.960517"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 2]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-12 17:43:37.979668"], ["updated_at", "2015-12-12 17:43:37.979668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-12 17:43:37.985443"], ["updated_at", "2015-12-12 17:43:37.985443"]]  (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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-12 17:43:37.990471"], ["updated_at", "2015-12-12 17:43:37.990471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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", 1]]  (103.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) 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.4ms) 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.9ms) 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.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (1.1ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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';  (1.1ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.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.0ms) 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", "2015-12-13 19:42:05.986752"], ["updated_at", "2015-12-13 19:42:05.986752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.6ms) 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", "2015-12-13 19:42:06.157697"], ["updated_at", "2015-12-13 19:42:06.157697"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 19:42:06.182590"], ["updated_at", "2015-12-13 19:42:06.182590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 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", "2015-12-13 19:42:57.155188"], ["updated_at", "2015-12-13 19:42:57.155188"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 19:42:57.170310"], ["updated_at", "2015-12-13 19:42:57.170310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", 2], ["created_at", "2015-12-13 19:42:57.174614"], ["updated_at", "2015-12-13 19:42:57.174614"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 19:42:57.178639"], ["updated_at", "2015-12-13 19:42:57.178639"]]  (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 2"], ["content_element_type_id", 2], ["post_type_id", 2], ["created_at", "2015-12-13 19:42:57.181086"], ["updated_at", "2015-12-13 19:42:57.181086"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 19:42:57.186643"], ["updated_at", "2015-12-13 19:42:57.186643"]]  (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", 2], ["created_at", "2015-12-13 19:42:57.189366"], ["updated_at", "2015-12-13 19:42:57.189366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-13 19:42:57.192949"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 2]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.2ms) 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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.3ms) 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 19:42:57.246074"], ["updated_at", "2015-12-13 19:42:57.246074"]]  (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", 2]] Pulitzer::ContentElement Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 19:42:57.253251"], ["updated_at", "2015-12-13 19:42:57.253251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 19:42:57.260895"], ["updated_at", "2015-12-13 19:42:57.260895"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (274.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.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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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';  (1.0ms) DELETE FROM "pulitzer_post_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';  (0.6ms) 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.1ms) begin transaction  (0.1ms) 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", "2015-12-13 19:43:17.787976"], ["updated_at", "2015-12-13 19:43:17.787976"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-13 19:43:17.915725"], ["updated_at", "2015-12-13 19:43:17.915725"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 19:43:17.928551"], ["updated_at", "2015-12-13 19:43:17.928551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (1.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Post Load (11.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 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", "2015-12-13 19:43:25.272051"], ["updated_at", "2015-12-13 19:43:25.272051"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 19:43:25.285387"], ["updated_at", "2015-12-13 19:43:25.285387"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 2], ["created_at", "2015-12-13 19:43:25.288429"], ["updated_at", "2015-12-13 19:43:25.288429"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 19:43:25.290757"], ["updated_at", "2015-12-13 19:43:25.290757"]]  (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", 2], ["created_at", "2015-12-13 19:43:25.291878"], ["updated_at", "2015-12-13 19:43:25.291878"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 19:43:25.295185"], ["updated_at", "2015-12-13 19:43:25.295185"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 2], ["created_at", "2015-12-13 19:43:25.297102"], ["updated_at", "2015-12-13 19:43:25.297102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-13 19:43:25.298578"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 2]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 19:43:25.326977"], ["updated_at", "2015-12-13 19:43:25.326977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 19:43:25.332702"], ["updated_at", "2015-12-13 19:43:25.332702"]]  (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.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 19:43:25.338098"], ["updated_at", "2015-12-13 19:43:25.338098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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", 1]]  (617.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (906.7ms) 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';  (7.2ms) 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';  (1.3ms) 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.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (1.8ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (6.1ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (2.4ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (0.9ms) 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';  (0.9ms) 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';  (0.1ms) 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", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 19:44:03.454357"], ["updated_at", "2015-12-13 19:44:03.454357"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.4ms) 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", "2015-12-13 19:44:04.994687"], ["updated_at", "2015-12-13 19:44:04.994687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]] SQL (2.2ms) 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", "2015-12-13 19:44:05.001043"], ["updated_at", "2015-12-13 19:44:05.001043"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 19:44:05.034289"], ["updated_at", "2015-12-13 19:44:05.034289"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Post Load (1.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 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", "2015-12-13 19:44:23.936390"], ["updated_at", "2015-12-13 19:44:23.936390"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 19:44:23.950924"], ["updated_at", "2015-12-13 19:44:23.950924"]]  (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", 2], ["created_at", "2015-12-13 19:44:23.953123"], ["updated_at", "2015-12-13 19:44:23.953123"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 19:44:23.955169"], ["updated_at", "2015-12-13 19:44:23.955169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 2], ["created_at", "2015-12-13 19:44:23.956948"], ["updated_at", "2015-12-13 19:44:23.956948"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 19:44:23.960585"], ["updated_at", "2015-12-13 19:44:23.960585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 2], ["created_at", "2015-12-13 19:44:23.962639"], ["updated_at", "2015-12-13 19:44:23.962639"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-13 19:44:23.964791"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (1.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", 2]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 19:44:23.993263"], ["updated_at", "2015-12-13 19:44:23.993263"]]  (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", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 19:44:24.000243"], ["updated_at", "2015-12-13 19:44:24.000243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 19:44:24.005034"], ["updated_at", "2015-12-13 19:44:24.005034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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", 1]]  (1144.9ms) rollback transaction  (0.2ms) begin transaction  (1.0ms) 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.1ms) begin transaction  (0.0ms) 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", "2015-12-13 19:44:25.190230"], ["updated_at", "2015-12-13 19:44:25.190230"]]  (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-3"]] SQL (0.4ms) 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", "2015-12-13 19:44:25.195425"], ["updated_at", "2015-12-13 19:44:25.195425"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 19:44:25.198616"], ["updated_at", "2015-12-13 19:44:25.198616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 19:44:25.203879"], ["updated_at", "2015-12-13 19:44:25.203879"]]  (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-4"]] SQL (0.4ms) 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", "2015-12-13 19:44:25.206307"], ["updated_at", "2015-12-13 19:44:25.206307"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 19:44:25.209357"], ["updated_at", "2015-12-13 19:44:25.209357"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-13 19:44:25.214608"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1039.4ms) 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.5ms) 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.5ms) 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.5ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.6ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.9ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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';  (0.7ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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", "2015-12-13 19:46:19.753854"], ["updated_at", "2015-12-13 19:46:19.753854"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (0.3ms) 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.1ms) commit transaction  (0.4ms) begin transaction  (1.0ms) begin transaction SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 19:46:22.355050"], ["updated_at", "2015-12-13 19:46:22.355050"]]  (1.1ms) commit transaction  (0.2ms) begin transaction Pulitzer::Post Exists (0.6ms) 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 (1.0ms) 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", "2015-12-13 19:46:22.379295"], ["updated_at", "2015-12-13 19:46:22.379295"]] SQL (0.6ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 19:46:22.478844"], ["updated_at", "2015-12-13 19:46:22.478844"]]  (824.6ms) commit transaction Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) SELECT COUNT(*) FROM "pulitzer_posts"  (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", "2015-12-13 19:46:36.530039"], ["updated_at", "2015-12-13 19:46:36.530039"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 19:46:36.543553"], ["updated_at", "2015-12-13 19:46:36.543553"]]  (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", 2], ["created_at", "2015-12-13 19:46:36.545693"], ["updated_at", "2015-12-13 19:46:36.545693"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 19:46:36.547678"], ["updated_at", "2015-12-13 19:46:36.547678"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 2], ["created_at", "2015-12-13 19:46:36.548680"], ["updated_at", "2015-12-13 19:46:36.548680"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 19:46:36.550632"], ["updated_at", "2015-12-13 19:46:36.550632"]]  (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", 2], ["created_at", "2015-12-13 19:46:36.552482"], ["updated_at", "2015-12-13 19:46:36.552482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-13 19:46:36.554330"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 2]] Pulitzer::Version Load (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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 19:46:36.578387"], ["updated_at", "2015-12-13 19:46:36.578387"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 19:46:36.582180"], ["updated_at", "2015-12-13 19:46:36.582180"]]  (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.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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 19:46:36.587287"], ["updated_at", "2015-12-13 19:46:36.587287"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (211.2ms) 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", "2015-12-13 19:46:36.826425"], ["updated_at", "2015-12-13 19:46:36.826425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 2], ["slug", "winterfell-news-3"], ["created_at", "2015-12-13 19:46:36.829565"], ["updated_at", "2015-12-13 19:46:36.829565"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-13 19:46:36.831485"], ["updated_at", "2015-12-13 19:46:36.831485"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 19:46:36.837372"], ["updated_at", "2015-12-13 19:46:36.837372"]]  (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-4"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-13 19:46:36.840256"], ["updated_at", "2015-12-13 19:46:36.840256"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-13 19:46:36.842018"], ["updated_at", "2015-12-13 19:46:36.842018"]]  (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" != 2) 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", "2015-12-13 19:46:36.844180"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (425.1ms) 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';  (0.8ms) DELETE FROM "pulitzer_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.6ms) 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.6ms) 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.9ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (9.2ms) begin transaction SQL (1.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 19:47:23.738994"], ["updated_at", "2015-12-13 19:47:23.738994"]]  (1.2ms) commit transaction  (0.4ms) begin transaction Pulitzer::Post Exists (0.5ms) 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.7ms) 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", "2015-12-13 19:47:23.964695"], ["updated_at", "2015-12-13 19:47:23.964695"]] SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 19:47:24.014198"], ["updated_at", "2015-12-13 19:47:24.014198"]]  (701.3ms) commit transaction Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (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", "2015-12-13 19:47:41.130491"], ["updated_at", "2015-12-13 19:47:41.130491"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 19:47:41.145152"], ["updated_at", "2015-12-13 19:47:41.145152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", 2], ["created_at", "2015-12-13 19:47:41.147592"], ["updated_at", "2015-12-13 19:47:41.147592"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 19:47:41.150853"], ["updated_at", "2015-12-13 19:47:41.150853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 2], ["created_at", "2015-12-13 19:47:41.152924"], ["updated_at", "2015-12-13 19:47:41.152924"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 19:47:41.155972"], ["updated_at", "2015-12-13 19:47:41.155972"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 2], ["created_at", "2015-12-13 19:47:41.157189"], ["updated_at", "2015-12-13 19:47:41.157189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-13 19:47:41.159144"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 2]] Pulitzer::Version Load (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]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.3ms) 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 19:47:41.183626"], ["updated_at", "2015-12-13 19:47:41.183626"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 19:47:41.191078"], ["updated_at", "2015-12-13 19:47:41.191078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 19:47:41.194985"], ["updated_at", "2015-12-13 19:47:41.194985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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", 1]]  (1683.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3285.6ms) 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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.8ms) 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.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.1ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (2.2ms) DELETE FROM "pulitzer_content_elements";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.8ms) DELETE FROM "pulitzer_post_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.3ms) begin transaction SQL (1.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 19:48:57.265420"], ["updated_at", "2015-12-13 19:48:57.265420"]]  (796.9ms) commit transaction  (0.4ms) begin transaction Pulitzer::Post Exists (0.7ms) 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.5ms) 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", "2015-12-13 19:48:58.273273"], ["updated_at", "2015-12-13 19:48:58.273273"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 19:48:58.322013"], ["updated_at", "2015-12-13 19:48:58.322013"]]  (253.0ms) commit transaction Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) begin transaction SQL (72.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 19:49:17.187528"], ["updated_at", "2015-12-13 19:49:17.187528"]]  (1.2ms) commit transaction  (0.2ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 19:49:17.327157"], ["updated_at", "2015-12-13 19:49:17.327157"]]  (1.1ms) commit transaction  (0.3ms) begin transaction SQL (0.6ms) 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", 2], ["created_at", "2015-12-13 19:49:17.342434"], ["updated_at", "2015-12-13 19:49:17.342434"]]  (1.1ms) commit transaction  (0.3ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.8ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 19:49:17.367739"], ["updated_at", "2015-12-13 19:49:17.367739"]]  (1.1ms) commit transaction  (0.4ms) begin transaction SQL (0.8ms) 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", 2], ["created_at", "2015-12-13 19:49:17.387523"], ["updated_at", "2015-12-13 19:49:17.387523"]]  (0.9ms) commit transaction  (0.2ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 19:49:17.414811"], ["updated_at", "2015-12-13 19:49:17.414811"]]  (1.0ms) commit transaction  (0.3ms) begin transaction SQL (0.5ms) 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", 2], ["created_at", "2015-12-13 19:49:17.427315"], ["updated_at", "2015-12-13 19:49:17.427315"]]  (1.0ms) commit transaction  (1.1ms) begin transaction SQL (2509.4ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-13 19:49:20.089485"], ["id", 1]]  (1.3ms) commit transaction Pulitzer::PostTypeContentElementType Load (0.5ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 2]] Pulitzer::Version Load (0.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.3ms) begin transaction Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.6ms) 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 19:49:29.810390"], ["updated_at", "2015-12-13 19:49:29.810390"]]  (11.9ms) commit transaction Pulitzer::Version Load (6.9ms) 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.5ms) begin transaction Pulitzer::ContentElementType Load (0.6ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.8ms) 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 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 19:49:29.906053"], ["updated_at", "2015-12-13 19:49:29.906053"]]  (1.0ms) commit transaction Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.2ms) begin transaction Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.7ms) 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 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 19:49:29.968515"], ["updated_at", "2015-12-13 19:49:29.968515"]]  (1.3ms) commit transaction Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Version Load (0.6ms) 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", 1]]  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (745.2ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) 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';  (1.3ms) 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';  (1.0ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (1.1ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.7ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.7ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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';  (0.7ms) DELETE FROM "pulitzer_post_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.3ms) begin transaction SQL (1.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 19:49:42.919747"], ["updated_at", "2015-12-13 19:49:42.919747"]]  (4.1ms) commit transaction  (0.3ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.9ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 19:49:43.006274"], ["updated_at", "2015-12-13 19:49:43.006274"]]  (374.6ms) commit transaction  (0.3ms) begin transaction SQL (0.7ms) 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", "2015-12-13 19:49:43.407776"], ["updated_at", "2015-12-13 19:49:43.407776"]]  (1.0ms) commit transaction  (0.2ms) begin transaction Pulitzer::ContentElementType Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 19:49:43.427894"], ["updated_at", "2015-12-13 19:49:43.427894"]]  (1.3ms) commit transaction  (0.5ms) begin transaction SQL (0.5ms) 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", "2015-12-13 19:49:43.449616"], ["updated_at", "2015-12-13 19:49:43.449616"]]  (1.0ms) commit transaction  (0.3ms) begin transaction Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.8ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 19:49:43.472366"], ["updated_at", "2015-12-13 19:49:43.472366"]]  (1.2ms) commit transaction  (0.3ms) begin transaction SQL (0.5ms) 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", "2015-12-13 19:49:43.489241"], ["updated_at", "2015-12-13 19:49:43.489241"]]  (1.0ms) commit transaction  (0.4ms) begin transaction SQL (1.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 19:49:43.545283"], ["updated_at", "2015-12-13 19:49:43.545283"]]  (906.2ms) commit transaction  (0.3ms) begin transaction Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 2], ["slug", "winterfell-news-1"], ["created_at", "2015-12-13 19:49:44.654826"], ["updated_at", "2015-12-13 19:49:44.654826"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 19:49:44.703462"], ["updated_at", "2015-12-13 19:49:44.703462"]]  (1051.5ms) commit transaction  (0.3ms) begin transaction SQL (0.5ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-13 19:49:45.773130"], ["id", 1]]  (1.1ms) commit transaction Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Version Load (0.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]] Pulitzer::PostType Load (0.5ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::PostTypeContentElementType Load (0.5ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] Pulitzer::Version Load (0.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.4ms) begin transaction Pulitzer::ContentElementType Load (0.4ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (1.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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 19:49:56.508091"], ["updated_at", "2015-12-13 19:49:56.508091"]]  (194.3ms) commit transaction Pulitzer::Version Load (0.4ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.3ms) begin transaction Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.5ms) 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 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 19:49:56.759655"], ["updated_at", "2015-12-13 19:49:56.759655"]]  (1.0ms) commit transaction Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.2ms) begin transaction Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.5ms) 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 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 19:49:56.816161"], ["updated_at", "2015-12-13 19:49:56.816161"]]  (1.3ms) commit transaction Pulitzer::Version Load (0.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (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", "2015-12-13 19:50:31.232507"], ["updated_at", "2015-12-13 19:50:31.232507"]]  (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" = 'Stark 4' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-13 19:50:31.239084"], ["updated_at", "2015-12-13 19:50:31.239084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", 4], ["post_type_id", 3], ["created_at", "2015-12-13 19:50:31.242214"], ["updated_at", "2015-12-13 19:50:31.242214"]]  (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" = 'Stark 5' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-13 19:50:31.247138"], ["updated_at", "2015-12-13 19:50:31.247138"]]  (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", 5], ["post_type_id", 3], ["created_at", "2015-12-13 19:50:31.249599"], ["updated_at", "2015-12-13 19:50:31.249599"]]  (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" = 'Stark 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-13 19:50:31.254101"], ["updated_at", "2015-12-13 19:50:31.254101"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 6], ["post_type_id", 3], ["created_at", "2015-12-13 19:50:31.256026"], ["updated_at", "2015-12-13 19:50:31.256026"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 3], ["updated_at", "2015-12-13 19:50:31.258609"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 3]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 4]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 4"], ["content_element_type_id", 4], ["post_type_content_element_type_id", 4], ["created_at", "2015-12-13 19:50:31.272147"], ["updated_at", "2015-12-13 19:50:31.272147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.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", 5]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 5"], ["content_element_type_id", 5], ["post_type_content_element_type_id", 5], ["created_at", "2015-12-13 19:50:31.281373"], ["updated_at", "2015-12-13 19:50:31.281373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.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", 6]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 6"], ["content_element_type_id", 6], ["post_type_content_element_type_id", 6], ["created_at", "2015-12-13 19:50:31.290238"], ["updated_at", "2015-12-13 19:50:31.290238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (270.5ms) DELETE FROM "pulitzer_content_element_types";  (2.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (1.5ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.5ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.1ms) 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';  (0.9ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (1.6ms) DELETE FROM "search_locations";  (0.8ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.5ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.0ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (1.5ms) 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.8ms) DELETE FROM "pulitzer_post_types";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.5ms) begin transaction  (7.5ms) begin transaction SQL (0.9ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 19:53:06.095510"], ["updated_at", "2015-12-13 19:53:06.095510"]]  (775.9ms) commit transaction  (0.7ms) begin transaction Pulitzer::Post Exists (0.5ms) 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.7ms) 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", "2015-12-13 19:53:07.100413"], ["updated_at", "2015-12-13 19:53:07.100413"]] SQL (0.7ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 19:53:07.150893"], ["updated_at", "2015-12-13 19:53:07.150893"]]  (1009.2ms) commit 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", "2015-12-13 19:53:10.544575"], ["updated_at", "2015-12-13 19:53:10.544575"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 19:53:10.560239"], ["updated_at", "2015-12-13 19:53:10.560239"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", 2], ["created_at", "2015-12-13 19:53:10.562930"], ["updated_at", "2015-12-13 19:53:10.562930"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 19:53:10.565289"], ["updated_at", "2015-12-13 19:53:10.565289"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 2], ["created_at", "2015-12-13 19:53:10.566358"], ["updated_at", "2015-12-13 19:53:10.566358"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 19:53:10.568011"], ["updated_at", "2015-12-13 19:53:10.568011"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 2], ["created_at", "2015-12-13 19:53:10.568941"], ["updated_at", "2015-12-13 19:53:10.568941"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-13 19:53:10.570282"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 2]]  (0.6ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 2]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.3ms) 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 19:53:59.489445"], ["updated_at", "2015-12-13 19:53:59.489445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 19:53:59.499468"], ["updated_at", "2015-12-13 19:53:59.499468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 19:53:59.507937"], ["updated_at", "2015-12-13 19:53:59.507937"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (213.5ms) 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.8ms) DELETE FROM "pulitzer_posts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.1ms) DELETE FROM "pulitzer_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) 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 "search_locations";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.0ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.0ms) DELETE FROM "pulitzer_content_elements";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (1.6ms) 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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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", "2015-12-13 19:55:52.879365"], ["updated_at", "2015-12-13 19:55:52.879365"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.7ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 19:55:52.924478"], ["updated_at", "2015-12-13 19:55:52.924478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-13 19:55:52.936125"], ["updated_at", "2015-12-13 19:55:52.936125"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 19:55:52.941203"], ["updated_at", "2015-12-13 19:55:52.941203"]]  (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 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-13 19:55:52.943906"], ["updated_at", "2015-12-13 19:55:52.943906"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 19:55:52.948713"], ["updated_at", "2015-12-13 19:55:52.948713"]]  (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", "2015-12-13 19:55:52.951405"], ["updated_at", "2015-12-13 19:55:52.951405"]]  (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", "2015-12-13 19:55:52.965716"], ["updated_at", "2015-12-13 19:55:52.965716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 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", 2], ["slug", "winterfell-news-1"], ["created_at", "2015-12-13 19:55:53.209884"], ["updated_at", "2015-12-13 19:55:53.209884"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 19:55:53.245203"], ["updated_at", "2015-12-13 19:55:53.245203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-13 19:55:53.249331"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) begin transaction Pulitzer::ContentElement Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.9ms) 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 19:55:56.015787"], ["updated_at", "2015-12-13 19:55:56.015787"]]  (0.5ms) rollback transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 19:55:56.015787"], ["updated_at", "2015-12-13 19:55:56.015787"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 19:56:39.879695"], ["updated_at", "2015-12-13 19:56:39.879695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 19:56:40.666797"], ["updated_at", "2015-12-13 19:56:40.666797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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", 1]]  (742.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (93.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.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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.0ms) begin transaction  (0.0ms) 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", "2015-12-13 19:56:56.857169"], ["updated_at", "2015-12-13 19:56:56.857169"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 19:56:56.889647"], ["updated_at", "2015-12-13 19:56:56.889647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-13 19:56:56.897783"], ["updated_at", "2015-12-13 19:56:56.897783"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 19:56:56.900615"], ["updated_at", "2015-12-13 19:56:56.900615"]]  (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", "2015-12-13 19:56:56.902029"], ["updated_at", "2015-12-13 19:56:56.902029"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 19:56:56.904181"], ["updated_at", "2015-12-13 19:56:56.904181"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-13 19:56:56.905420"], ["updated_at", "2015-12-13 19:56:56.905420"]]  (0.0ms) 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", "2015-12-13 19:56:56.912100"], ["updated_at", "2015-12-13 19:56:56.912100"]]  (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-1"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 2], ["slug", "winterfell-news-1"], ["created_at", "2015-12-13 19:56:57.054342"], ["updated_at", "2015-12-13 19:56:57.054342"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 19:56:57.074655"], ["updated_at", "2015-12-13 19:56:57.074655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-13 19:56:57.076973"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."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]] 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]] Pulitzer::ContentElement Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1  (0.6ms) begin transaction Pulitzer::ContentElement Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.6ms) 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 19:57:28.571492"], ["updated_at", "2015-12-13 19:57:28.571492"]]  (0.3ms) rollback transaction Pulitzer::Version Load (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::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::Version Load (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::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::Post Load (0.2ms) 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (729.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';  (1.6ms) 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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) 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.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (1.0ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.8ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.9ms) 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.1ms) begin transaction  (0.1ms) 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", "2015-12-13 19:57:58.272451"], ["updated_at", "2015-12-13 19:57:58.272451"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.6ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 19:57:58.294778"], ["updated_at", "2015-12-13 19:57:58.294778"]]  (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 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-13 19:57:58.303172"], ["updated_at", "2015-12-13 19:57:58.303172"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 19:57:58.305570"], ["updated_at", "2015-12-13 19:57:58.305570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-13 19:57:58.306675"], ["updated_at", "2015-12-13 19:57:58.306675"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 19:57:58.308807"], ["updated_at", "2015-12-13 19:57:58.308807"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-13 19:57:58.310206"], ["updated_at", "2015-12-13 19:57:58.310206"]]  (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", "2015-12-13 19:57:58.319025"], ["updated_at", "2015-12-13 19:57:58.319025"]]  (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-1"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 2], ["slug", "winterfell-news-1"], ["created_at", "2015-12-13 19:57:58.421539"], ["updated_at", "2015-12-13 19:57:58.421539"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 19:57:58.434853"], ["updated_at", "2015-12-13 19:57:58.434853"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-13 19:57:58.436547"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_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.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", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 19:57:58.457651"], ["updated_at", "2015-12-13 19:57:58.457651"]]  (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", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 19:57:58.463628"], ["updated_at", "2015-12-13 19:57:58.463628"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 19:57:58.469395"], ["updated_at", "2015-12-13 19:57:58.469395"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Version Load (0.8ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]] Pulitzer::Version Load (0.9ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]] Pulitzer::Post Load (0.2ms) 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (755.4ms) 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';  (1.0ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.7ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.3ms) begin transaction SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 19:58:19.833391"], ["updated_at", "2015-12-13 19:58:19.833391"]]  (906.0ms) commit transaction  (0.4ms) begin transaction Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.6ms) 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", "2015-12-13 19:58:20.925555"], ["updated_at", "2015-12-13 19:58:20.925555"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 19:58:20.974438"], ["updated_at", "2015-12-13 19:58:20.974438"]]  (514.9ms) commit transaction Pulitzer::Post Load (4.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (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", "2015-12-13 19:58:25.664643"], ["updated_at", "2015-12-13 19:58:25.664643"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 19:58:25.679908"], ["updated_at", "2015-12-13 19:58:25.679908"]]  (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", 2], ["created_at", "2015-12-13 19:58:25.682595"], ["updated_at", "2015-12-13 19:58:25.682595"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 19:58:25.685037"], ["updated_at", "2015-12-13 19:58:25.685037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 2], ["created_at", "2015-12-13 19:58:25.686092"], ["updated_at", "2015-12-13 19:58:25.686092"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 19:58:25.687802"], ["updated_at", "2015-12-13 19:58:25.687802"]]  (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", 2], ["created_at", "2015-12-13 19:58:25.690114"], ["updated_at", "2015-12-13 19:58:25.690114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-13 19:58:25.692459"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Version Load (0.4ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]] Pulitzer::Version Load (0.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.6ms) 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::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::Version Load (0.6ms) 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.4ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] Pulitzer::Version Load (0.4ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]] Pulitzer::PostType Load (0.2ms) 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::Post Load (0.2ms) 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (104.4ms) 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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.8ms) 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';  (0.7ms) 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';  (0.9ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.7ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.0ms) 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", "2015-12-13 19:59:12.068056"], ["updated_at", "2015-12-13 19:59:12.068056"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 19:59:12.100783"], ["updated_at", "2015-12-13 19:59:12.100783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-13 19:59:12.109165"], ["updated_at", "2015-12-13 19:59:12.109165"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 19:59:12.112981"], ["updated_at", "2015-12-13 19:59:12.112981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-13 19:59:12.114533"], ["updated_at", "2015-12-13 19:59:12.114533"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 19:59:12.116511"], ["updated_at", "2015-12-13 19:59:12.116511"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-13 19:59:12.117527"], ["updated_at", "2015-12-13 19:59:12.117527"]]  (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", "2015-12-13 19:59:12.123896"], ["updated_at", "2015-12-13 19:59:12.123896"]]  (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-1"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 2], ["slug", "winterfell-news-1"], ["created_at", "2015-12-13 19:59:12.265056"], ["updated_at", "2015-12-13 19:59:12.265056"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 19:59:12.285657"], ["updated_at", "2015-12-13 19:59:12.285657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-13 19:59:12.287655"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."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.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", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.6ms) 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 19:59:13.423075"], ["updated_at", "2015-12-13 19:59:13.423075"]]  (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) 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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 19:59:13.430188"], ["updated_at", "2015-12-13 19:59:13.430188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 19:59:13.433959"], ["updated_at", "2015-12-13 19:59:13.433959"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.8ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.9ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Post Load (0.2ms) 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", 1]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) 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.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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (2.2ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.1ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.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.0ms) 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", "2015-12-13 20:03:29.952697"], ["updated_at", "2015-12-13 20:03:29.952697"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 20:03:29.975414"], ["updated_at", "2015-12-13 20:03:29.975414"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-13 20:03:29.983285"], ["updated_at", "2015-12-13 20:03:29.983285"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 20:03:29.987900"], ["updated_at", "2015-12-13 20:03:29.987900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-13 20:03:29.989405"], ["updated_at", "2015-12-13 20:03:29.989405"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 20:03:29.991524"], ["updated_at", "2015-12-13 20:03:29.991524"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-13 20:03:29.992937"], ["updated_at", "2015-12-13 20:03:29.992937"]]  (0.0ms) 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", "2015-12-13 20:03:30.000369"], ["updated_at", "2015-12-13 20:03:30.000369"]]  (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-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", 2], ["slug", "winterfell-news-1"], ["created_at", "2015-12-13 20:03:30.120546"], ["updated_at", "2015-12-13 20:03:30.120546"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 20:03:30.133942"], ["updated_at", "2015-12-13 20:03:30.133942"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-13 20:03:30.136141"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Post Load (1.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["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::PostTypeContentElementType 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.2ms) 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]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 20:03:37.683553"], ["updated_at", "2015-12-13 20:03:37.683553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 20:03:37.688922"], ["updated_at", "2015-12-13 20:03:37.688922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 20:03:37.694957"], ["updated_at", "2015-12-13 20:03:37.694957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (1316.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1093.9ms) DELETE FROM "pulitzer_content_element_types";  (0.3ms) 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.1ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.0ms) 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';  (2.0ms) 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';  (0.9ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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';  (0.6ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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", "2015-12-13 20:03:58.447746"], ["updated_at", "2015-12-13 20:03:58.447746"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 20:03:58.485785"], ["updated_at", "2015-12-13 20:03:58.485785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-13 20:03:58.496779"], ["updated_at", "2015-12-13 20:03:58.496779"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 20:03:58.502679"], ["updated_at", "2015-12-13 20:03:58.502679"]]  (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 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-13 20:03:58.505267"], ["updated_at", "2015-12-13 20:03:58.505267"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 20:03:58.509664"], ["updated_at", "2015-12-13 20:03:58.509664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-13 20:03:58.511908"], ["updated_at", "2015-12-13 20:03:58.511908"]]  (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", "2015-12-13 20:03:58.523078"], ["updated_at", "2015-12-13 20:03:58.523078"]]  (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-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", 2], ["slug", "winterfell-news-1"], ["created_at", "2015-12-13 20:03:58.641476"], ["updated_at", "2015-12-13 20:03:58.641476"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 20:03:58.655456"], ["updated_at", "2015-12-13 20:03:58.655456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-13 20:03:58.657576"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 20:03:59.420567"], ["updated_at", "2015-12-13 20:03:59.420567"]]  (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", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 20:03:59.427087"], ["updated_at", "2015-12-13 20:03:59.427087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 20:03:59.438267"], ["updated_at", "2015-12-13 20:03:59.438267"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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", 1]]  (334.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (264.3ms) 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.1ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.1ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.7ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.0ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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';  (1.3ms) DELETE FROM "pulitzer_post_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_types';  (0.1ms) begin transaction  (0.2ms) 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", "2015-12-13 20:07:04.201188"], ["updated_at", "2015-12-13 20:07:04.201188"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 20:07:04.226589"], ["updated_at", "2015-12-13 20:07:04.226589"]]  (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 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-13 20:07:04.234362"], ["updated_at", "2015-12-13 20:07:04.234362"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 20:07:04.236644"], ["updated_at", "2015-12-13 20:07:04.236644"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-13 20:07:04.237617"], ["updated_at", "2015-12-13 20:07:04.237617"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 20:07:04.240873"], ["updated_at", "2015-12-13 20:07:04.240873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-13 20:07:04.242767"], ["updated_at", "2015-12-13 20:07:04.242767"]]  (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", "2015-12-13 20:07:04.251146"], ["updated_at", "2015-12-13 20:07:04.251146"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 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", 2], ["slug", "winterfell-news-1"], ["created_at", "2015-12-13 20:07:04.377477"], ["updated_at", "2015-12-13 20:07:04.377477"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 20:07:04.389995"], ["updated_at", "2015-12-13 20:07:04.389995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-13 20:07:04.392662"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 20:07:05.237866"], ["updated_at", "2015-12-13 20:07:05.237866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 20:07:05.244291"], ["updated_at", "2015-12-13 20:07:05.244291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 20:07:05.248756"], ["updated_at", "2015-12-13 20:07:05.248756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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", 1]]  (381.7ms) 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) 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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-13 20:07:05.694728"], ["updated_at", "2015-12-13 20:07:05.694728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-13 20:07:05.712317"], ["updated_at", "2015-12-13 20:07:05.712317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.5ms) 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.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.2ms) 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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-13 20:07:05.730796"], ["updated_at", "2015-12-13 20:07:05.730796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-13 20:07:05.736300"], ["updated_at", "2015-12-13 20:07:05.736300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) 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" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-13 20:07:05.743029"], ["updated_at", "2015-12-13 20:07:05.743029"]]  (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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-13 20:07:05.748459"], ["updated_at", "2015-12-13 20:07:05.748459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-13 20:07:05.750464"], ["updated_at", "2015-12-13 20:07:05.750464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-13 20:07:05.755977"], ["updated_at", "2015-12-13 20:07:05.755977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-13 20:07:05.759260"], ["updated_at", "2015-12-13 20:07:05.759260"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-13 20:07:05.764752"], ["updated_at", "2015-12-13 20:07:05.764752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-13 20:07:05.769059"], ["updated_at", "2015-12-13 20:07:05.769059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) 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" = 'Image' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-13 20:07:05.775752"], ["updated_at", "2015-12-13 20:07:05.775752"]]  (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.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 20:07:05.886760"], ["updated_at", "2015-12-13 20:07:05.886760"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]]  (0.5ms) 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.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 20:07:05.900156"], ["updated_at", "2015-12-13 20:07:05.900156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-13 20:07:05.902363"], ["updated_at", "2015-12-13 20:07:05.902363"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 20:07:05.904115"], ["updated_at", "2015-12-13 20:07:05.904115"]]  (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) 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", "2015-12-13 20:07:05.909280"], ["updated_at", "2015-12-13 20:07:05.909280"]]  (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.3ms) 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", "2015-12-13 20:07:05.912838"], ["updated_at", "2015-12-13 20:07:05.912838"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 20:07:05.914648"], ["updated_at", "2015-12-13 20:07:05.914648"]]  (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", "2015-12-13 20:07:05.917102"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-13 20:07:05.933999"], ["updated_at", "2015-12-13 20:07:05.933999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 20:07:05.937551"], ["updated_at", "2015-12-13 20:07:05.937551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-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", "2015-12-13 20:07:05.941205"], ["updated_at", "2015-12-13 20:07:05.941205"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 20:07:05.943511"], ["updated_at", "2015-12-13 20:07:05.943511"]]  (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", "2015-12-13 20:07:05.946156"], ["updated_at", "2015-12-13 20:07:05.946156"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.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.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.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", "2015-12-13 20:07:05.996599"], ["updated_at", "2015-12-13 20:07:05.996599"]]  (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" = 'Stark 4' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-13 20:07:05.999264"], ["updated_at", "2015-12-13 20:07:05.999264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.1ms) 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.0ms) 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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-13 20:07:06.055484"], ["updated_at", "2015-12-13 20:07:06.055484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) 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  (1146.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) 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", "2015-12-13 20:07:07.222131"], ["updated_at", "2015-12-13 20:07:07.222131"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]] SQL (0.6ms) 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", "2015-12-13 20:07:07.227844"], ["updated_at", "2015-12-13 20:07:07.227844"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 20:07:07.231076"], ["updated_at", "2015-12-13 20:07:07.231076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (5.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.2ms) BEGIN  (20.8ms) CREATE TABLE "pulitzer_post_types" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618224344"]]  (0.5ms) COMMIT Migrating to CreatePulitzerContentElementTypes (20150618225402)  (5.5ms) BEGIN  (22.6ms) CREATE TABLE "pulitzer_content_element_types" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618225402"]]  (0.6ms) COMMIT Migrating to CreatePulitzerPosts (20150619204615)  (5.9ms) BEGIN  (14.4ms) CREATE TABLE "pulitzer_posts" ("id" serial primary key, "title" character varying, "post_type_id" integer, "status" character varying DEFAULT 'unpublished', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150619204615"]]  (5.0ms) COMMIT Migrating to CreatePulitzerContentElements (20150619204708)  (5.4ms) BEGIN  (14.8ms) CREATE TABLE "pulitzer_content_elements" ("id" serial primary key, "label" character varying, "title" character varying, "body" text, "image" character varying, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150619204708"]]  (4.6ms) COMMIT Migrating to CreatePulitzerTags (20150619213436)  (5.6ms) BEGIN  (13.8ms) CREATE TABLE "pulitzer_tags" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150619213436"]]  (5.1ms) COMMIT Migrating to CreatePulitzerPostTags (20150619213457)  (5.7ms) BEGIN  (7.3ms) CREATE TABLE "pulitzer_post_tags" ("id" serial primary key, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150619213457"]]  (5.6ms) COMMIT Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (5.5ms) BEGIN  (15.5ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" serial primary key, "post_type_id" integer, "content_element_type_id" integer, "label" character varying, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150619215914"]]  (3.5ms) COMMIT Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.2ms) BEGIN  (6.2ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.8ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150629195832"]]  (5.8ms) COMMIT Migrating to AddPulitzerContentElementTypes (20150702150819)  (2.0ms) BEGIN Pulitzer::ContentElementType Exists (1.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (1.6ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Text"], ["created_at", "2015-12-13 20:09:12.409489"], ["updated_at", "2015-12-13 20:09:12.409489"]] Pulitzer::ContentElementType Exists (0.5ms) 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 ($1, $2, $3) RETURNING "id" [["name", "Image"], ["created_at", "2015-12-13 20:09:12.416413"], ["updated_at", "2015-12-13 20:09:12.416413"]] Pulitzer::ContentElementType Exists (0.4ms) 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 ($1, $2, $3) RETURNING "id" [["name", "Video"], ["created_at", "2015-12-13 20:09:12.420125"], ["updated_at", "2015-12-13 20:09:12.420125"]] SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150702150819"]]  (0.5ms) COMMIT Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "pulitzer_posts" ADD "slug" character varying  (7.0ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150724150230"]]  (11.2ms) COMMIT Migrating to CreateSearchLocations (20150901153531)  (0.1ms) BEGIN  (14.1ms) CREATE TABLE "search_locations" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150901153531"]]  (5.8ms) COMMIT Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (5.5ms) BEGIN  (20.3ms) ALTER TABLE "pulitzer_post_tags" ALTER COLUMN "label_type" TYPE character varying SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150902212741"]]  (0.9ms) COMMIT Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" character varying SQL (0.5ms) 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 ($1) [["version", "20151026180630"]]  (5.7ms) COMMIT Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) BEGIN  (7.4ms) CREATE TABLE "pulitzer_versions" ("id" serial primary key, "status" integer DEFAULT 0, "post_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151029194354"]]  (6.0ms) COMMIT Migrating to ChangePostElementsToVersions (20151029220558)  (6.4ms) BEGIN  (0.5ms) ALTER TABLE "pulitzer_content_elements" RENAME COLUMN "post_id" TO "version_id"  (0.2ms) ALTER TABLE "pulitzer_post_tags" RENAME COLUMN "post_id" TO "version_id" Pulitzer::Post Load (0.5ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1000 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151029220558"]]  (0.6ms) COMMIT Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" character varying  (14.7ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (8.4ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer Scoped order and limit are ignored, it's forced to be batch order and batch size Pulitzer::ContentElement Load (0.5ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1000 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151113183344"]]  (1.5ms) COMMIT Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.4ms) BEGIN  (0.4ms) ALTER TABLE "pulitzer_post_types" DROP "template"  (14.9ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151116162508"]]  (6.2ms) COMMIT Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) BEGIN  (14.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151118031237"]]  (6.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pulitzer_content_element_types' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pulitzer_content_elements' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pulitzer_post_tags' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pulitzer_post_type_content_element_types' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pulitzer_post_types' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pulitzer_posts' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pulitzer_tags' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pulitzer_versions' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'search_locations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_content_element_types" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_tags" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_posts" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_type_content_element_types" DISABLE TRIGGER ALL;ALTER TABLE "search_locations" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_tags" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_versions" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_types" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_content_elements" DISABLE TRIGGER ALL  (15.7ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND schemaname = ANY (current_schemas(false))   (2.4ms) select table_name from information_schema.views where table_schema = 'pulitzer_test'  (22.3ms) TRUNCATE TABLE "public"."pulitzer_content_element_types", "public"."pulitzer_tags", "public"."pulitzer_posts", "public"."pulitzer_post_type_content_element_types", "public"."search_locations", "public"."pulitzer_post_tags", "public"."pulitzer_versions", "public"."pulitzer_post_types", "public"."pulitzer_content_elements" RESTART IDENTITY CASCADE;  (0.9ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_tags" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_posts" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_type_content_element_types" ENABLE TRIGGER ALL;ALTER TABLE "search_locations" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_content_element_types" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_tags" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_versions" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_types" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_content_elements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 20:09:25.492687"], ["updated_at", "2015-12-13 20:09:25.492687"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.9ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Stark 1"], ["created_at", "2015-12-13 20:09:25.527206"], ["updated_at", "2015-12-13 20:09:25.527206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-13 20:09:25.535731"], ["updated_at", "2015-12-13 20:09:25.535731"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Stark 2"], ["created_at", "2015-12-13 20:09:25.539923"], ["updated_at", "2015-12-13 20:09:25.539923"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-13 20:09:25.541919"], ["updated_at", "2015-12-13 20:09:25.541919"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Stark 3"], ["created_at", "2015-12-13 20:09:25.544892"], ["updated_at", "2015-12-13 20:09:25.544892"]]  (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 ($1, $2, $3, $4, $5) RETURNING "id" [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-13 20:09:25.546760"], ["updated_at", "2015-12-13 20:09:25.546760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 20:09:25.554713"], ["updated_at", "2015-12-13 20:09:25.554713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = $1 LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["title", "Winterfell news 1"], ["post_type_id", 2], ["slug", "winterfell-news-1"], ["created_at", "2015-12-13 20:09:25.683096"], ["updated_at", "2015-12-13 20:09:25.683096"]] SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["post_id", 1], ["created_at", "2015-12-13 20:09:25.702609"], ["updated_at", "2015-12-13 20:09:25.702609"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "pulitzer_posts" SET "post_type_id" = $1, "updated_at" = $2 WHERE "pulitzer_posts"."id" = $3 [["post_type_id", 1], ["updated_at", "2015-12-13 20:09:25.705857"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.5ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = $1 LIMIT 1 [["id", 1]] Pulitzer::Post Load (1.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = $1 LIMIT 1 [["id", 1]] Pulitzer::PostType Load (0.3ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = $1 LIMIT 1 [["id", 1]] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = $1 ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = $1 AND "pulitzer_versions"."status" = $2 ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.2ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = $1 LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.7ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 20:09:34.518072"], ["updated_at", "2015-12-13 20:09:34.518072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = $1 AND "pulitzer_versions"."status" = $2 ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = $1 LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 ($1, $2, $3, $4, $5, $6) RETURNING "id" [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 20:09:34.527248"], ["updated_at", "2015-12-13 20:09:34.527248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = $1 AND "pulitzer_versions"."status" = $2 ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = $1 LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 20:09:34.538357"], ["updated_at", "2015-12-13 20:09:34.538357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = $1 LIMIT 1 [["id", 1]] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = $1 AND "pulitzer_versions"."status" = $2 ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_tags" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_posts" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_type_content_element_types" DISABLE TRIGGER ALL;ALTER TABLE "search_locations" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_content_element_types" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_tags" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_versions" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_types" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_content_elements" DISABLE TRIGGER ALL  (1.3ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND schemaname = ANY (current_schemas(false))   (1.4ms) select table_name from information_schema.views where table_schema = 'pulitzer_test'  (18.7ms) TRUNCATE TABLE "public"."pulitzer_tags", "public"."pulitzer_posts", "public"."pulitzer_post_type_content_element_types", "public"."search_locations", "public"."pulitzer_content_element_types", "public"."pulitzer_post_tags", "public"."pulitzer_versions", "public"."pulitzer_post_types", "public"."pulitzer_content_elements" RESTART IDENTITY CASCADE;  (0.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_tags" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_posts" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_type_content_element_types" ENABLE TRIGGER ALL;ALTER TABLE "search_locations" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_content_element_types" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_tags" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_versions" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_types" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_content_elements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 20:09:39.140070"], ["updated_at", "2015-12-13 20:09:39.140070"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Stark 1"], ["created_at", "2015-12-13 20:09:39.177051"], ["updated_at", "2015-12-13 20:09:39.177051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-13 20:09:39.184152"], ["updated_at", "2015-12-13 20:09:39.184152"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Stark 2"], ["created_at", "2015-12-13 20:09:39.189600"], ["updated_at", "2015-12-13 20:09:39.189600"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-13 20:09:39.191382"], ["updated_at", "2015-12-13 20:09:39.191382"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Stark 3"], ["created_at", "2015-12-13 20:09:39.194040"], ["updated_at", "2015-12-13 20:09:39.194040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-13 20:09:39.195843"], ["updated_at", "2015-12-13 20:09:39.195843"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 20:09:39.204897"], ["updated_at", "2015-12-13 20:09:39.204897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = $1 LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["title", "Winterfell news 1"], ["post_type_id", 2], ["slug", "winterfell-news-1"], ["created_at", "2015-12-13 20:09:39.335501"], ["updated_at", "2015-12-13 20:09:39.335501"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["post_id", 1], ["created_at", "2015-12-13 20:09:39.352137"], ["updated_at", "2015-12-13 20:09:39.352137"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = $1, "updated_at" = $2 WHERE "pulitzer_posts"."id" = $3 [["post_type_id", 1], ["updated_at", "2015-12-13 20:09:39.354874"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pulitzer_posts" Pulitzer::PostTypeContentElementType Load (0.4ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = $1 ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] Pulitzer::Version Load (0.4ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = $1 AND "pulitzer_versions"."status" = $2 ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = $1 LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.6ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 20:09:54.618904"], ["updated_at", "2015-12-13 20:09:54.618904"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = $1 AND "pulitzer_versions"."status" = $2 ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = $1 LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (1.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 ($1, $2, $3, $4, $5, $6) RETURNING "id" [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 20:09:54.628491"], ["updated_at", "2015-12-13 20:09:54.628491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = $1 AND "pulitzer_versions"."status" = $2 ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = $1 LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 ($1, $2, $3, $4, $5, $6) RETURNING "id" [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 20:09:54.634554"], ["updated_at", "2015-12-13 20:09:54.634554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = $1 LIMIT 1 [["id", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = $1 AND "pulitzer_versions"."status" = $2 ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_tags" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_posts" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_type_content_element_types" DISABLE TRIGGER ALL;ALTER TABLE "search_locations" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_content_element_types" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_tags" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_versions" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_types" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_content_elements" DISABLE TRIGGER ALL  (2.1ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND schemaname = ANY (current_schemas(false))   (2.1ms) select table_name from information_schema.views where table_schema = 'pulitzer_test'  (87.3ms) TRUNCATE TABLE "public"."pulitzer_tags", "public"."pulitzer_posts", "public"."pulitzer_post_type_content_element_types", "public"."search_locations", "public"."pulitzer_content_element_types", "public"."pulitzer_post_tags", "public"."pulitzer_versions", "public"."pulitzer_post_types", "public"."pulitzer_content_elements" RESTART IDENTITY CASCADE;  (0.9ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_tags" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_posts" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_type_content_element_types" ENABLE TRIGGER ALL;ALTER TABLE "search_locations" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_content_element_types" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_tags" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_versions" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_types" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_content_elements" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN  (0.4ms) BEGIN SQL (1.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 20:10:18.426669"], ["updated_at", "2015-12-13 20:10:18.426669"]]  (1.1ms) COMMIT  (0.4ms) BEGIN Pulitzer::Post Exists (0.8ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = $1 LIMIT 1 [["slug", "winterfell-news-1"]] SQL (1.0ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-13 20:10:18.792491"], ["updated_at", "2015-12-13 20:10:18.792491"]] SQL (1.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["post_id", 1], ["created_at", "2015-12-13 20:10:18.867453"], ["updated_at", "2015-12-13 20:10:18.867453"]]  (0.8ms) COMMIT Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = $1 LIMIT 1 [["id", 1]]  (1.2ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 20:11:48.682767"], ["updated_at", "2015-12-13 20:11:48.682767"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (1.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.6ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Stark 1"], ["created_at", "2015-12-13 20:11:48.760940"], ["updated_at", "2015-12-13 20:11:48.760940"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 2], ["created_at", "2015-12-13 20:11:48.782879"], ["updated_at", "2015-12-13 20:11:48.782879"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Stark 2"], ["created_at", "2015-12-13 20:11:48.806808"], ["updated_at", "2015-12-13 20:11:48.806808"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 2], ["created_at", "2015-12-13 20:11:48.816487"], ["updated_at", "2015-12-13 20:11:48.816487"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Stark 3"], ["created_at", "2015-12-13 20:11:48.838406"], ["updated_at", "2015-12-13 20:11:48.838406"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 2], ["created_at", "2015-12-13 20:11:48.861658"], ["updated_at", "2015-12-13 20:11:48.861658"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) UPDATE "pulitzer_posts" SET "post_type_id" = $1, "updated_at" = $2 WHERE "pulitzer_posts"."id" = $3 [["post_type_id", 2], ["updated_at", "2015-12-13 20:11:51.709272"], ["id", 1]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (1.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = $1 LIMIT 1 [["id", 1]]  (0.4ms) SELECT COUNT(*) FROM "pulitzer_posts" Pulitzer::Post Load (0.4ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = $1 LIMIT 1 [["id", 1]] Pulitzer::PostType Load (0.5ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = $1 LIMIT 1 [["id", 1]] Pulitzer::PostTypeContentElementType Load (0.4ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = $1 ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = $1 LIMIT 1 [["id", 1]] Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = $1 LIMIT 1 [["id", 1]] Pulitzer::Version Load (0.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = $1 AND "pulitzer_versions"."status" = $2 ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.6ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = $1 AND "pulitzer_versions"."status" = $2 ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::ContentElement Load (1697.6ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = $1 ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]] Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = $1 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" = $1 ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = $1 LIMIT 1 [["id", 1]] Pulitzer::Version Load (0.4ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = $1 AND "pulitzer_versions"."status" = $2 ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_tags" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_posts" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_type_content_element_types" DISABLE TRIGGER ALL;ALTER TABLE "search_locations" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_content_element_types" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_tags" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_versions" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_types" DISABLE TRIGGER ALL;ALTER TABLE "pulitzer_content_elements" DISABLE TRIGGER ALL  (1.2ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND schemaname = ANY (current_schemas(false))   (1.1ms) select table_name from information_schema.views where table_schema = 'pulitzer_test'  (38.4ms) TRUNCATE TABLE "public"."pulitzer_tags", "public"."pulitzer_posts", "public"."pulitzer_post_type_content_element_types", "public"."search_locations", "public"."pulitzer_content_element_types", "public"."pulitzer_post_tags", "public"."pulitzer_versions", "public"."pulitzer_post_types", "public"."pulitzer_content_elements" RESTART IDENTITY CASCADE;  (0.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_tags" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_posts" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_type_content_element_types" ENABLE TRIGGER ALL;ALTER TABLE "search_locations" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_content_element_types" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_tags" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_versions" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_post_types" ENABLE TRIGGER ALL;ALTER TABLE "pulitzer_content_elements" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 20:15:03.927983"], ["updated_at", "2015-12-13 20:15:03.927983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.6ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Stark 1"], ["created_at", "2015-12-13 20:15:03.960621"], ["updated_at", "2015-12-13 20:15:03.960621"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-13 20:15:03.970413"], ["updated_at", "2015-12-13 20:15:03.970413"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Stark 2"], ["created_at", "2015-12-13 20:15:03.975265"], ["updated_at", "2015-12-13 20:15:03.975265"]]  (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 ($1, $2, $3, $4, $5) RETURNING "id" [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-13 20:15:03.976823"], ["updated_at", "2015-12-13 20:15:03.976823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Stark 3"], ["created_at", "2015-12-13 20:15:03.979299"], ["updated_at", "2015-12-13 20:15:03.979299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-13 20:15:03.980967"], ["updated_at", "2015-12-13 20:15:03.980967"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 20:15:03.988849"], ["updated_at", "2015-12-13 20:15:03.988849"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = $1 LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["title", "Winterfell news 1"], ["post_type_id", 2], ["slug", "winterfell-news-1"], ["created_at", "2015-12-13 20:15:04.145555"], ["updated_at", "2015-12-13 20:15:04.145555"]] SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["post_id", 1], ["created_at", "2015-12-13 20:15:04.163763"], ["updated_at", "2015-12-13 20:15:04.163763"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_posts" SET "post_type_id" = $1, "updated_at" = $2 WHERE "pulitzer_posts"."id" = $3 [["post_type_id", 1], ["updated_at", "2015-12-13 20:15:04.166654"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = $1 ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = $1 AND "pulitzer_versions"."status" = $2 ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = $1 LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.8ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 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 ($1, $2, $3, $4, $5, $6) RETURNING "id" [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 20:15:04.207113"], ["updated_at", "2015-12-13 20:15:04.207113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = $1 AND "pulitzer_versions"."status" = $2 ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = $1 LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.8ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 20:15:04.219342"], ["updated_at", "2015-12-13 20:15:04.219342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = $1 AND "pulitzer_versions"."status" = $2 ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = $1 LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 ($1, $2, $3, $4, $5, $6) RETURNING "id" [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 20:15:04.230044"], ["updated_at", "2015-12-13 20:15:04.230044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = $1 LIMIT 1 [["id", 1]] Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = $1 AND "pulitzer_versions"."status" = $2 ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.2ms) ROLLBACK 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.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (3.1ms) 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';  (2.7ms) 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';  (2.6ms) DELETE FROM "pulitzer_post_type_content_element_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_type_content_element_types';  (1.4ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.1ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.4ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (1.4ms) DELETE FROM "pulitzer_post_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';  (1.2ms) DELETE FROM "pulitzer_post_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_types';  (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", "2015-12-13 20:21:03.588931"], ["updated_at", "2015-12-13 20:21:03.588931"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 20:21:03.615495"], ["updated_at", "2015-12-13 20:21:03.615495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-13 20:21:03.623718"], ["updated_at", "2015-12-13 20:21:03.623718"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 20:21:03.627241"], ["updated_at", "2015-12-13 20:21:03.627241"]]  (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", "2015-12-13 20:21:03.628721"], ["updated_at", "2015-12-13 20:21:03.628721"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 20:21:03.630613"], ["updated_at", "2015-12-13 20:21:03.630613"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-13 20:21:03.631621"], ["updated_at", "2015-12-13 20:21:03.631621"]]  (0.0ms) 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", "2015-12-13 20:21:03.641215"], ["updated_at", "2015-12-13 20:21:03.641215"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 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", 2], ["slug", "winterfell-news-1"], ["created_at", "2015-12-13 20:21:03.804166"], ["updated_at", "2015-12-13 20:21:03.804166"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 20:21:03.841572"], ["updated_at", "2015-12-13 20:21:03.841572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-13 20:21:03.844215"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_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.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", 1]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 20:21:03.876006"], ["updated_at", "2015-12-13 20:21:03.876006"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 20:21:03.882622"], ["updated_at", "2015-12-13 20:21:03.882622"]]  (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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 20:21:03.887881"], ["updated_at", "2015-12-13 20:21:03.887881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) 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';  (1.3ms) DELETE FROM "pulitzer_tags";  (0.3ms) 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';  (1.1ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.9ms) 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.5ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.2ms) 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", "2015-12-13 20:32:33.553294"], ["updated_at", "2015-12-13 20:32:33.553294"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-13 20:32:33.578542"], ["updated_at", "2015-12-13 20:32:33.578542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-13 20:32:33.589989"], ["updated_at", "2015-12-13 20:32:33.589989"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-13 20:32:33.593572"], ["updated_at", "2015-12-13 20:32:33.593572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-13 20:32:33.596078"], ["updated_at", "2015-12-13 20:32:33.596078"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-13 20:32:33.598437"], ["updated_at", "2015-12-13 20:32:33.598437"]]  (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", "2015-12-13 20:32:33.600412"], ["updated_at", "2015-12-13 20:32:33.600412"]]  (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", "2015-12-13 20:32:33.606840"], ["updated_at", "2015-12-13 20:32:33.606840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 2], ["slug", "winterfell-news-1"], ["created_at", "2015-12-13 20:32:34.044460"], ["updated_at", "2015-12-13 20:32:34.044460"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 20:32:34.065957"], ["updated_at", "2015-12-13 20:32:34.065957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-13 20:32:34.068993"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTypeContentElementType Load (0.4ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-13 20:32:34.102855"], ["updated_at", "2015-12-13 20:32:34.102855"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.4ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 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", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-13 20:32:34.111079"], ["updated_at", "2015-12-13 20:32:34.111079"]]  (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.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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-13 20:32:34.118504"], ["updated_at", "2015-12-13 20:32:34.118504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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" = 'Text' LIMIT 1 SQL (0.6ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-13 20:32:34.164313"], ["updated_at", "2015-12-13 20:32:34.164313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-13 20:32:34.198972"], ["updated_at", "2015-12-13 20:32:34.198972"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) 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' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-13 20:32:34.229053"], ["updated_at", "2015-12-13 20:32:34.229053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-13 20:32:34.235195"], ["updated_at", "2015-12-13 20:32:34.235195"]]  (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::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", "2015-12-13 20:32:34.240670"], ["updated_at", "2015-12-13 20:32:34.240670"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-13 20:32:34.247488"], ["updated_at", "2015-12-13 20:32:34.247488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-13 20:32:34.251450"], ["updated_at", "2015-12-13 20:32:34.251450"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (1.7ms) 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", "2015-12-13 20:32:34.261247"], ["updated_at", "2015-12-13 20:32:34.261247"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-13 20:32:34.265489"], ["updated_at", "2015-12-13 20:32:34.265489"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-13 20:32:34.271939"], ["updated_at", "2015-12-13 20:32:34.271939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-13 20:32:34.276586"], ["updated_at", "2015-12-13 20:32:34.276586"]]  (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.2ms) 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", "2015-12-13 20:32:34.282562"], ["updated_at", "2015-12-13 20:32:34.282562"]]  (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.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-13 20:32:34.421511"], ["updated_at", "2015-12-13 20:32:34.421511"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]]  (0.5ms) rollback transaction  (0.2ms) 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.4ms) 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", "2015-12-13 20:32:34.442190"], ["updated_at", "2015-12-13 20:32:34.442190"]]  (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-3"]] SQL (0.4ms) 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", "2015-12-13 20:32:34.446161"], ["updated_at", "2015-12-13 20:32:34.446161"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 20:32:34.448927"], ["updated_at", "2015-12-13 20:32:34.448927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", "2015-12-13 20:32:34.454612"], ["updated_at", "2015-12-13 20:32:34.454612"]]  (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-4"]] SQL (0.4ms) 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", "2015-12-13 20:32:34.459375"], ["updated_at", "2015-12-13 20:32:34.459375"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 20:32:34.463568"], ["updated_at", "2015-12-13 20:32:34.463568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-13 20:32:34.468412"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-13 20:32:34.485323"], ["updated_at", "2015-12-13 20:32:34.485323"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-13 20:32:34.490791"], ["updated_at", "2015-12-13 20:32:34.490791"]]  (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-5"]] SQL (0.2ms) 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", "2015-12-13 20:32:34.495067"], ["updated_at", "2015-12-13 20:32:34.495067"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 20:32:34.498273"], ["updated_at", "2015-12-13 20:32:34.498273"]]  (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", "2015-12-13 20:32:34.502051"], ["updated_at", "2015-12-13 20:32:34.502051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) 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", "2015-12-13 20:32:34.532169"], ["updated_at", "2015-12-13 20:32:34.532169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 4' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-13 20:32:34.536750"], ["updated_at", "2015-12-13 20:32:34.536750"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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.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.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) 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" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-13 20:32:34.586518"], ["updated_at", "2015-12-13 20:32:34.586518"]]  (0.0ms) 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.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.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", "2015-12-13 20:32:34.600840"], ["updated_at", "2015-12-13 20:32:34.600840"]]  (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-6"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2015-12-13 20:32:34.604229"], ["updated_at", "2015-12-13 20:32:34.604229"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-13 20:32:34.606990"], ["updated_at", "2015-12-13 20:32:34.606990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) DELETE FROM "pulitzer_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (1.2ms) 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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.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.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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", "just-a-test"]] SQL (5.8ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test"], ["slug", "just-a-test"], ["created_at", "2015-12-14 20:37:22.819350"], ["updated_at", "2015-12-14 20:37:22.819350"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-14 20:37:23.248976"], ["updated_at", "2015-12-14 20:37:23.248976"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-14 20:37:23.255889"], ["updated_at", "2015-12-14 20:37:23.255889"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-14 20:37:23.271302"], ["updated_at", "2015-12-14 20:37:23.271302"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) 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", "2015-12-14 20:37:23.284414"], ["updated_at", "2015-12-14 20:37:23.284414"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-14 20:37:23.287628"], ["updated_at", "2015-12-14 20:37:23.287628"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-14 20:37:23.289055"], ["updated_at", "2015-12-14 20:37:23.289055"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-14 20:37:23.292772"], ["updated_at", "2015-12-14 20:37:23.292772"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-14 20:37:23.295894"], ["updated_at", "2015-12-14 20:37:23.295894"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-14 20:37:23.298408"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::PostTypeContentElementType 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.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-14 20:37:23.326274"], ["updated_at", "2015-12-14 20:37:23.326274"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-14 20:37:23.334620"], ["updated_at", "2015-12-14 20:37:23.334620"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-14 20:37:23.345396"], ["updated_at", "2015-12-14 20:37:23.345396"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 1]]  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (113.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.6ms) 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.6ms) 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';  (0.7ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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';  (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.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_2 Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test"], ["slug", "just-a-test"], ["created_at", "2015-12-14 20:37:40.417630"], ["updated_at", "2015-12-14 20:37:40.417630"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-14 20:37:40.459019"], ["updated_at", "2015-12-14 20:37:40.459019"]]  (0.2ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Post Load (0.6ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) begin transaction  (0.4ms) commit transaction  (0.8ms) begin transaction Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-14 20:38:02.304251"], ["updated_at", "2015-12-14 20:38:02.304251"]]  (0.3ms) rollback transaction  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-14 20:38:08.180219"], ["updated_at", "2015-12-14 20:38:08.180219"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-14 20:38:08.201458"], ["updated_at", "2015-12-14 20:38:08.201458"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) 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", "2015-12-14 20:38:08.204781"], ["updated_at", "2015-12-14 20:38:08.204781"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-14 20:38:08.209178"], ["updated_at", "2015-12-14 20:38:08.209178"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) 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", "2015-12-14 20:38:08.212616"], ["updated_at", "2015-12-14 20:38:08.212616"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-14 20:38:08.216074"], ["updated_at", "2015-12-14 20:38:08.216074"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) 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", "2015-12-14 20:38:08.217994"], ["updated_at", "2015-12-14 20:38:08.217994"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-14 20:38:08.221879"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2 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::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-14 20:38:08.246053"], ["updated_at", "2015-12-14 20:38:08.246053"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-14 20:38:08.250249"], ["updated_at", "2015-12-14 20:38:08.250249"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-14 20:38:08.253822"], ["updated_at", "2015-12-14 20:38:08.253822"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1199.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (159.5ms) DELETE FROM "pulitzer_content_element_types";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (1.1ms) 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';  (1.3ms) 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.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.0ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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';  (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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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", "just-a-test-2"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-14 20:43:50.249195"], ["updated_at", "2015-12-14 20:43:50.249195"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-14 20:43:50.283724"], ["updated_at", "2015-12-14 20:43:50.283724"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-14 20:43:50.300368"], ["updated_at", "2015-12-14 20:43:50.300368"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-14 20:43:50.323260"], ["updated_at", "2015-12-14 20:43:50.323260"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) 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", "2015-12-14 20:43:50.328493"], ["updated_at", "2015-12-14 20:43:50.328493"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-14 20:43:50.334769"], ["updated_at", "2015-12-14 20:43:50.334769"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-14 20:43:50.336413"], ["updated_at", "2015-12-14 20:43:50.336413"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-14 20:43:50.339437"], ["updated_at", "2015-12-14 20:43:50.339437"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-14 20:43:50.341108"], ["updated_at", "2015-12-14 20:43:50.341108"]]  (0.3ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-14 20:43:50.343598"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::PostTypeContentElementType Load (0.6ms) 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.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-14 20:43:51.204083"], ["updated_at", "2015-12-14 20:43:51.204083"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (0.6ms) 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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-14 20:43:51.211445"], ["updated_at", "2015-12-14 20:43:51.211445"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.3ms) 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 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-14 20:43:51.219334"], ["updated_at", "2015-12-14 20:43:51.219334"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Post Load (0.2ms) 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (286.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2359.3ms) 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.5ms) 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.5ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.7ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_2 Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (0.9ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-14 20:44:00.623108"], ["updated_at", "2015-12-14 20:44:00.623108"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-14 20:44:00.670698"], ["updated_at", "2015-12-14 20:44:00.670698"]]  (0.2ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) begin transaction  (1.0ms) commit transaction Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) begin transaction SQL (588.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-14 20:44:21.005560"], ["updated_at", "2015-12-14 20:44:21.005560"]]  (0.3ms) rollback transaction  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-14 20:44:24.208600"], ["updated_at", "2015-12-14 20:44:24.208600"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-14 20:44:24.223377"], ["updated_at", "2015-12-14 20:44:24.223377"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-14 20:44:24.225453"], ["updated_at", "2015-12-14 20:44:24.225453"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-14 20:44:24.227928"], ["updated_at", "2015-12-14 20:44:24.227928"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-14 20:44:24.229746"], ["updated_at", "2015-12-14 20:44:24.229746"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-14 20:44:24.233461"], ["updated_at", "2015-12-14 20:44:24.233461"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-14 20:44:24.234943"], ["updated_at", "2015-12-14 20:44:24.234943"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-14 20:44:24.236922"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2 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::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-14 20:44:25.391625"], ["updated_at", "2015-12-14 20:44:25.391625"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-14 20:44:25.398107"], ["updated_at", "2015-12-14 20:44:25.398107"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-14 20:44:25.405815"], ["updated_at", "2015-12-14 20:44:25.405815"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Post Load (0.2ms) 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (189.2ms) 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';  (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.6ms) 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.6ms) 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.5ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.0ms) 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_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.5ms) 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.6ms) 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.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_2 Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-14 20:44:32.808346"], ["updated_at", "2015-12-14 20:44:32.808346"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-14 20:44:32.849705"], ["updated_at", "2015-12-14 20:44:32.849705"]]  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.3ms) SAVEPOINT active_record_2 SQL (0.9ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-14 20:44:34.441641"], ["updated_at", "2015-12-14 20:44:34.441641"]]  (0.9ms) RELEASE SAVEPOINT active_record_2  (0.3ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-14 20:44:34.504029"], ["updated_at", "2015-12-14 20:44:34.504029"]]  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) 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", "2015-12-14 20:44:34.516288"], ["updated_at", "2015-12-14 20:44:34.516288"]]  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-14 20:44:34.538732"], ["updated_at", "2015-12-14 20:44:34.538732"]]  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-14 20:44:34.547626"], ["updated_at", "2015-12-14 20:44:34.547626"]]  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-14 20:44:34.563455"], ["updated_at", "2015-12-14 20:44:34.563455"]]  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-14 20:44:34.574492"], ["updated_at", "2015-12-14 20:44:34.574492"]]  (0.2ms) RELEASE SAVEPOINT active_record_2 Pulitzer::PostType Load (0.7ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-14 20:44:40.350635"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2 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::Version Load (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_2 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-14 20:44:42.906964"], ["updated_at", "2015-12-14 20:44:42.906964"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-14 20:44:42.913390"], ["updated_at", "2015-12-14 20:44:42.913390"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-14 20:44:42.918071"], ["updated_at", "2015-12-14 20:44:42.918071"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) 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.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.5ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.8ms) DELETE FROM "pulitzer_content_elements";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-14 21:35:19.997704"], ["updated_at", "2015-12-14 21:35:19.997704"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 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"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (554.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.6ms) begin transaction SQL (0.8ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-14 21:35:27.031704"], ["updated_at", "2015-12-14 21:35:27.031704"]]  (227.8ms) commit transaction  (0.5ms) begin transaction Pulitzer::Post Exists (0.8ms) 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 (1.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2015-12-14 21:35:27.286497"], ["updated_at", "2015-12-14 21:35:27.286497"]] SQL (0.9ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-14 21:35:27.397492"], ["updated_at", "2015-12-14 21:35:27.397492"]]  (394.8ms) commit transaction Pulitzer::Post Load (0.6ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) commit transaction  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-14 21:35:35.383870"], ["updated_at", "2015-12-14 21:35:35.383870"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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-3"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 2], ["slug", "winterfell-news-3"], ["created_at", "2015-12-14 21:35:35.389289"], ["updated_at", "2015-12-14 21:35:35.389289"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-14 21:35:35.393254"], ["updated_at", "2015-12-14 21:35:35.393254"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 2) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.3ms) 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", "2015-12-14 21:35:35.397795"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) DELETE FROM "pulitzer_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.8ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (1.4ms) DELETE FROM "pulitzer_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.9ms) 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';  (1.5ms) 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.9ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.0ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.8ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.0ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (1.2ms) 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.2ms) DELETE FROM "pulitzer_post_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.5ms) begin transaction Pulitzer::Post Exists (0.8ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (0.6ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-14 23:14:30.545362"], ["updated_at", "2015-12-14 23:14:30.545362"]] SQL (1.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-14 23:14:30.619586"], ["updated_at", "2015-12-14 23:14:30.619586"]]  (1.2ms) commit transaction Pulitzer::Post Load (0.6ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_2 Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2-7f5b9c57-6447-4a7b-bad3-cd645b14c11d"], ["created_at", "2015-12-14 23:14:43.124753"], ["updated_at", "2015-12-14 23:14:43.124753"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-14 23:14:43.130232"], ["updated_at", "2015-12-14 23:14:43.130232"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-14 23:14:43.156071"], ["updated_at", "2015-12-14 23:14:43.156071"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (1.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-14 23:14:43.179026"], ["updated_at", "2015-12-14 23:14:43.179026"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-14 23:14:43.183970"], ["updated_at", "2015-12-14 23:14:43.183970"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-14 23:14:43.188399"], ["updated_at", "2015-12-14 23:14:43.188399"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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", "2015-12-14 23:14:43.190954"], ["updated_at", "2015-12-14 23:14:43.190954"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-14 23:14:43.195195"], ["updated_at", "2015-12-14 23:14:43.195195"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) 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", "2015-12-14 23:14:43.197711"], ["updated_at", "2015-12-14 23:14:43.197711"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-14 23:14:43.201245"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::PostTypeContentElementType 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", 2], ["status", 0]]  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.3ms) 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", 2], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-14 23:14:44.292682"], ["updated_at", "2015-12-14 23:14:44.292682"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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", 2], ["status", 0]]  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 2], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-14 23:14:44.300098"], ["updated_at", "2015-12-14 23:14:44.300098"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (7.4ms) 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", 2], ["status", 0]]  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 2], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-14 23:14:44.314062"], ["updated_at", "2015-12-14 23:14:44.314062"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::Version Load (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", 2], ["status", 1]]  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) 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.2ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.6ms) 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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (3.1ms) DELETE FROM "pulitzer_content_elements";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (3.1ms) 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';  (2.0ms) DELETE FROM "pulitzer_post_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_types';  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-14 23:15:19.805857"], ["updated_at", "2015-12-14 23:15:19.805857"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-14 23:15:19.830886"], ["updated_at", "2015-12-14 23:15:19.830886"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-14 23:15:19.837795"], ["updated_at", "2015-12-14 23:15:19.837795"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-14 23:15:19.853177"], ["updated_at", "2015-12-14 23:15:19.853177"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) 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", "2015-12-14 23:15:19.855775"], ["updated_at", "2015-12-14 23:15:19.855775"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-14 23:15:19.858056"], ["updated_at", "2015-12-14 23:15:19.858056"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2 SQL (0.2ms) 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", "2015-12-14 23:15:19.862968"], ["updated_at", "2015-12-14 23:15:19.862968"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-14 23:15:19.866551"], ["updated_at", "2015-12-14 23:15:19.866551"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-14 23:15:19.868085"], ["updated_at", "2015-12-14 23:15:19.868085"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-14 23:15:19.870209"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Post Load (1.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) SELECT COUNT(*) FROM "pulitzer_posts" Pulitzer::Post Load (1.5ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Version Load (1.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Post Load (0.8ms) 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]] 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::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.7ms) 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-14 23:16:14.567291"], ["updated_at", "2015-12-14 23:16:14.567291"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-14 23:16:14.574207"], ["updated_at", "2015-12-14 23:16:14.574207"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-14 23:16:14.579535"], ["updated_at", "2015-12-14 23:16:14.579535"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 1]]  (1.8ms) ROLLBACK TO SAVEPOINT active_record_1  (1.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) 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.5ms) 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.5ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.6ms) DELETE FROM "pulitzer_versions";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.0ms) DELETE FROM "pulitzer_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';  (1.0ms) 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';  (0.8ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.3ms) begin transaction Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-14 23:16:29.861182"], ["updated_at", "2015-12-14 23:16:29.861182"]] SQL (0.7ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-14 23:16:29.917733"], ["updated_at", "2015-12-14 23:16:29.917733"]]  (1.1ms) commit transaction Pulitzer::Post Load (0.6ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_2 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", "just-a-test-2"]] SQL (290.5ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2-5b37d379-d999-4f67-b8e5-a7546dce4f36"], ["created_at", "2015-12-14 23:16:37.764929"], ["updated_at", "2015-12-14 23:16:37.764929"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-14 23:16:38.057754"], ["updated_at", "2015-12-14 23:16:38.057754"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-14 23:16:38.065792"], ["updated_at", "2015-12-14 23:16:38.065792"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-14 23:16:38.078575"], ["updated_at", "2015-12-14 23:16:38.078575"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-14 23:16:38.080897"], ["updated_at", "2015-12-14 23:16:38.080897"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-14 23:16:38.083011"], ["updated_at", "2015-12-14 23:16:38.083011"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-14 23:16:38.084660"], ["updated_at", "2015-12-14 23:16:38.084660"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-14 23:16:38.087155"], ["updated_at", "2015-12-14 23:16:38.087155"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-14 23:16:38.088476"], ["updated_at", "2015-12-14 23:16:38.088476"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-14 23:16:38.090779"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::PostTypeContentElementType 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", 2], ["status", 0]]  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 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", 2], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-14 23:16:40.870897"], ["updated_at", "2015-12-14 23:16:40.870897"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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", 2], ["status", 0]]  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 2], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-14 23:16:40.876606"], ["updated_at", "2015-12-14 23:16:40.876606"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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", 2], ["status", 0]]  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 2], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-14 23:16:40.887549"], ["updated_at", "2015-12-14 23:16:40.887549"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::Version Load (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", 2], ["status", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2890.6ms) 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.9ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.0ms) 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.6ms) 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.5ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.5ms) 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';  (1.2ms) 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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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", "just-a-test-2"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-14 23:17:00.897447"], ["updated_at", "2015-12-14 23:17:00.897447"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-14 23:17:00.918652"], ["updated_at", "2015-12-14 23:17:00.918652"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-14 23:17:00.926586"], ["updated_at", "2015-12-14 23:17:00.926586"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-14 23:17:00.940432"], ["updated_at", "2015-12-14 23:17:00.940432"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) 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", "2015-12-14 23:17:00.943265"], ["updated_at", "2015-12-14 23:17:00.943265"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-14 23:17:00.946161"], ["updated_at", "2015-12-14 23:17:00.946161"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-14 23:17:00.947358"], ["updated_at", "2015-12-14 23:17:00.947358"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-14 23:17:00.949724"], ["updated_at", "2015-12-14 23:17:00.949724"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-14 23:17:00.950933"], ["updated_at", "2015-12-14 23:17:00.950933"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-14 23:17:00.952848"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Post Load (0.9ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Post Load (0.9ms) 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]] 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::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.9ms) 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-14 23:17:34.939383"], ["updated_at", "2015-12-14 23:17:34.939383"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-14 23:17:34.947844"], ["updated_at", "2015-12-14 23:17:34.947844"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-14 23:17:34.954921"], ["updated_at", "2015-12-14 23:17:34.954921"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (1.9ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction 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.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (0.6ms) 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.6ms) 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.5ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.6ms) 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.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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", "just-a-test-2"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-14 23:17:42.077234"], ["updated_at", "2015-12-14 23:17:42.077234"]] SQL (0.7ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-14 23:17:42.110992"], ["updated_at", "2015-12-14 23:17:42.110992"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.6ms) begin transaction Pulitzer::Post Exists (0.9ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (1.0ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-14 23:17:44.697767"], ["updated_at", "2015-12-14 23:17:44.697767"]]  (0.5ms) rollback transaction Pulitzer::Post Load (1.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (1.1ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (625.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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.5ms) 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.5ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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", "just-a-test-2"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-14 23:18:38.313022"], ["updated_at", "2015-12-14 23:18:38.313022"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-14 23:18:38.344943"], ["updated_at", "2015-12-14 23:18:38.344943"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.7ms) begin transaction  (0.3ms) commit transaction Pulitzer::Post Load (1.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) begin transaction  (0.5ms) commit transaction  (0.8ms) SELECT COUNT(*) FROM "pulitzer_posts"  (79.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) DELETE FROM "pulitzer_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) 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';  (0.9ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.0ms) 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';  (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.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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_2 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", "just-a-test-2"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 15:26:26.640334"], ["updated_at", "2015-12-15 15:26:26.640334"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 15:26:26.664025"], ["updated_at", "2015-12-15 15:26:26.664025"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (192.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 15:26:32.724625"], ["updated_at", "2015-12-15 15:26:32.724625"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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-1"]] SQL (0.3ms) 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", "2015-12-15 15:26:32.728033"], ["updated_at", "2015-12-15 15:26:32.728033"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 15:26:32.730007"], ["updated_at", "2015-12-15 15:26:32.730007"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 15:26:32.732139"], ["updated_at", "2015-12-15 15:26:32.732139"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 15:26:32.747595"], ["updated_at", "2015-12-15 15:26:32.747595"]]  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) 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", 2], ["created_at", "2015-12-15 15:26:32.753035"], ["updated_at", "2015-12-15 15:26:32.753035"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 15:26:32.755894"], ["updated_at", "2015-12-15 15:26:32.755894"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-15 15:26:32.757423"], ["updated_at", "2015-12-15 15:26:32.757423"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 15:26:32.759753"], ["updated_at", "2015-12-15 15:26:32.759753"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-15 15:26:32.761359"], ["updated_at", "2015-12-15 15:26:32.761359"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-15 15:26:32.762793"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (514.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.6ms) 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.5ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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';  (1.1ms) DELETE FROM "pulitzer_content_elements";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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';  (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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 15:26:58.105565"], ["updated_at", "2015-12-15 15:26:58.105565"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 15:26:58.223095"], ["updated_at", "2015-12-15 15:26:58.223095"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 15:26:58.239556"], ["updated_at", "2015-12-15 15:26:58.239556"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 15:26:58.241700"], ["updated_at", "2015-12-15 15:26:58.241700"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 15:26:58.262081"], ["updated_at", "2015-12-15 15:26:58.262081"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-15 15:26:58.264311"], ["updated_at", "2015-12-15 15:26:58.264311"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 15:26:58.266703"], ["updated_at", "2015-12-15 15:26:58.266703"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-15 15:26:58.267918"], ["updated_at", "2015-12-15 15:26:58.267918"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 15:26:58.269976"], ["updated_at", "2015-12-15 15:26:58.269976"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-15 15:26:58.271217"], ["updated_at", "2015-12-15 15:26:58.271217"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-15 15:26:58.272503"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::PostTypeContentElementType 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", 2]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) 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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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';  (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.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 15:27:14.478524"], ["updated_at", "2015-12-15 15:27:14.478524"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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", "winterfell-news-1"]] SQL (0.5ms) 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", "2015-12-15 15:27:14.615123"], ["updated_at", "2015-12-15 15:27:14.615123"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 15:27:14.627610"], ["updated_at", "2015-12-15 15:27:14.627610"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 15:27:14.629627"], ["updated_at", "2015-12-15 15:27:14.629627"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 15:27:14.639701"], ["updated_at", "2015-12-15 15:27:14.639701"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-15 15:27:14.641654"], ["updated_at", "2015-12-15 15:27:14.641654"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 15:27:14.643722"], ["updated_at", "2015-12-15 15:27:14.643722"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-15 15:27:14.644792"], ["updated_at", "2015-12-15 15:27:14.644792"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 15:27:14.647829"], ["updated_at", "2015-12-15 15:27:14.647829"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) 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", 2], ["created_at", "2015-12-15 15:27:14.649796"], ["updated_at", "2015-12-15 15:27:14.649796"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-15 15:27:14.651754"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 2]] Pulitzer::Version Load (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", 1]] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 2]] Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 15:27:46.820774"], ["updated_at", "2015-12-15 15:27:46.820774"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 2]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 15:27:46.826684"], ["updated_at", "2015-12-15 15:27:46.826684"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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) SAVEPOINT active_record_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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 15:27:46.830764"], ["updated_at", "2015-12-15 15:27:46.830764"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.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.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.7ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 15:28:46.756633"], ["updated_at", "2015-12-15 15:28:46.756633"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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.5ms) 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", "2015-12-15 15:28:46.905577"], ["updated_at", "2015-12-15 15:28:46.905577"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 15:28:46.922133"], ["updated_at", "2015-12-15 15:28:46.922133"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 15:28:46.924344"], ["updated_at", "2015-12-15 15:28:46.924344"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 15:28:46.935399"], ["updated_at", "2015-12-15 15:28:46.935399"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-15 15:28:46.937739"], ["updated_at", "2015-12-15 15:28:46.937739"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 15:28:46.940063"], ["updated_at", "2015-12-15 15:28:46.940063"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-15 15:28:46.941407"], ["updated_at", "2015-12-15 15:28:46.941407"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 15:28:46.943363"], ["updated_at", "2015-12-15 15:28:46.943363"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-15 15:28:46.944486"], ["updated_at", "2015-12-15 15:28:46.944486"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-15 15:28:46.946780"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 2]] Pulitzer::Version Load (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", 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", 2]] Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 15:28:46.971899"], ["updated_at", "2015-12-15 15:28:46.971899"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 2]] Pulitzer::ContentElement Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.3ms) 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 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 15:28:46.977583"], ["updated_at", "2015-12-15 15:28:46.977583"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 15:28:46.984534"], ["updated_at", "2015-12-15 15:28:46.984534"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (493.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (153.9ms) 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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 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", "just-a-test-2"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 15:29:03.600860"], ["updated_at", "2015-12-15 15:29:03.600860"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 15:29:03.623433"], ["updated_at", "2015-12-15 15:29:03.623433"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (203.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 15:29:03.836223"], ["updated_at", "2015-12-15 15:29:03.836223"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 15:29:03.839003"], ["updated_at", "2015-12-15 15:29:03.839003"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 15:29:03.841168"], ["updated_at", "2015-12-15 15:29:03.841168"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 15:29:03.843694"], ["updated_at", "2015-12-15 15:29:03.843694"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 15:29:03.856759"], ["updated_at", "2015-12-15 15:29:03.856759"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-15 15:29:03.858953"], ["updated_at", "2015-12-15 15:29:03.858953"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 15:29:03.861190"], ["updated_at", "2015-12-15 15:29:03.861190"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-15 15:29:03.862483"], ["updated_at", "2015-12-15 15:29:03.862483"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 15:29:03.864627"], ["updated_at", "2015-12-15 15:29:03.864627"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-15 15:29:03.866118"], ["updated_at", "2015-12-15 15:29:03.866118"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-15 15:29:03.867692"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 2]] Pulitzer::Version Load (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", 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", 2]] Pulitzer::Version Load (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) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 15:29:03.893548"], ["updated_at", "2015-12-15 15:29:03.893548"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 15:29:03.898137"], ["updated_at", "2015-12-15 15:29:03.898137"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 15:29:03.902067"], ["updated_at", "2015-12-15 15:29:03.902067"]]  (0.0ms) RELEASE SAVEPOINT active_record_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", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2299.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (495.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.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.5ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) 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_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.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';  (0.5ms) 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.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 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", "just-a-test-2"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 15:29:32.931803"], ["updated_at", "2015-12-15 15:29:32.931803"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 15:29:32.961607"], ["updated_at", "2015-12-15 15:29:32.961607"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 15:29:32.970369"], ["updated_at", "2015-12-15 15:29:32.970369"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 15:29:32.987511"], ["updated_at", "2015-12-15 15:29:32.987511"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) 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", "2015-12-15 15:29:32.990131"], ["updated_at", "2015-12-15 15:29:32.990131"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 15:29:32.993847"], ["updated_at", "2015-12-15 15:29:32.993847"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-15 15:29:32.995512"], ["updated_at", "2015-12-15 15:29:32.995512"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 15:29:32.997876"], ["updated_at", "2015-12-15 15:29:32.997876"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-15 15:29:32.999131"], ["updated_at", "2015-12-15 15:29:32.999131"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-15 15:29:33.001361"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (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]] Pulitzer::Version Load (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", 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::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 15:29:33.033607"], ["updated_at", "2015-12-15 15:29:33.033607"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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) SAVEPOINT active_record_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", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 15:29:33.038500"], ["updated_at", "2015-12-15 15:29:33.038500"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 15:29:33.043784"], ["updated_at", "2015-12-15 15:29:33.043784"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (565.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 15:29:33.635059"], ["updated_at", "2015-12-15 15:29:33.635059"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 15:29:33.638445"], ["updated_at", "2015-12-15 15:29:33.638445"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 15:29:33.640935"], ["updated_at", "2015-12-15 15:29:33.640935"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 15:29:33.643836"], ["updated_at", "2015-12-15 15:29:33.643836"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 4' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-15 15:29:33.649137"], ["updated_at", "2015-12-15 15:29:33.649137"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-15 15:29:33.651020"], ["updated_at", "2015-12-15 15:29:33.651020"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-15 15:29:33.653868"], ["updated_at", "2015-12-15 15:29:33.653868"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) 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", 2], ["created_at", "2015-12-15 15:29:33.655283"], ["updated_at", "2015-12-15 15:29:33.655283"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-15 15:29:33.659095"], ["updated_at", "2015-12-15 15:29:33.659095"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_id", 2], ["created_at", "2015-12-15 15:29:33.660733"], ["updated_at", "2015-12-15 15:29:33.660733"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-15 15:29:33.662659"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 2]] Pulitzer::Version Load (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", 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", 2]] Pulitzer::Version Load (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) SAVEPOINT active_record_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::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 15:29:33.670847"], ["updated_at", "2015-12-15 15:29:33.670847"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 5"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 15:29:33.680072"], ["updated_at", "2015-12-15 15:29:33.680072"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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) SAVEPOINT active_record_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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 15:29:33.686175"], ["updated_at", "2015-12-15 15:29:33.686175"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) 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.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (1.4ms) 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.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';  (1.0ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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';  (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.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.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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_2 Pulitzer::Post Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (0.7ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 18:38:35.576771"], ["updated_at", "2015-12-15 18:38:35.576771"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 18:38:35.622063"], ["updated_at", "2015-12-15 18:38:35.622063"]]  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.5ms) begin transaction  (0.3ms) commit transaction Pulitzer::Post Load (0.9ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) begin transaction  (0.3ms) commit transaction Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) SELECT COUNT(*) FROM "pulitzer_posts" Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" Pulitzer::Post Load (0.5ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" Pulitzer::Version Load (0.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Post Load (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (462.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 18:40:51.172806"], ["updated_at", "2015-12-15 18:40:51.172806"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 18:40:51.648502"], ["updated_at", "2015-12-15 18:40:51.648502"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) 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", "2015-12-15 18:40:51.650879"], ["updated_at", "2015-12-15 18:40:51.650879"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 18:40:51.654191"], ["updated_at", "2015-12-15 18:40:51.654191"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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", "2015-12-15 18:40:51.656085"], ["updated_at", "2015-12-15 18:40:51.656085"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 18:40:51.659378"], ["updated_at", "2015-12-15 18:40:51.659378"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", "2015-12-15 18:40:51.660812"], ["updated_at", "2015-12-15 18:40:51.660812"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-15 18:40:51.663237"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (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]] Pulitzer::Version Load (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", 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::Version Load (0.4ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::PostType Load (0.4ms) 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::Version Load (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_2 Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.7ms) 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 18:41:26.280149"], ["updated_at", "2015-12-15 18:41:26.280149"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 18:41:26.285866"], ["updated_at", "2015-12-15 18:41:26.285866"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 18:41:26.289756"], ["updated_at", "2015-12-15 18:41:26.289756"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 1]]  (1.9ms) ROLLBACK TO 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  (0.0ms) SAVEPOINT active_record_2 SQL (0.6ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 18:41:26.320760"], ["updated_at", "2015-12-15 18:41:26.320760"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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.3ms) 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", "2015-12-15 18:41:26.324508"], ["updated_at", "2015-12-15 18:41:26.324508"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 18:41:26.326487"], ["updated_at", "2015-12-15 18:41:26.326487"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 18:41:26.328209"], ["updated_at", "2015-12-15 18:41:26.328209"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-15 18:41:26.332037"], ["updated_at", "2015-12-15 18:41:26.332037"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-15 18:41:26.333350"], ["updated_at", "2015-12-15 18:41:26.333350"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-15 18:41:26.335857"], ["updated_at", "2015-12-15 18:41:26.335857"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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", 2], ["created_at", "2015-12-15 18:41:26.337355"], ["updated_at", "2015-12-15 18:41:26.337355"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-15 18:41:26.339469"], ["updated_at", "2015-12-15 18:41:26.339469"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_id", 2], ["created_at", "2015-12-15 18:41:26.340623"], ["updated_at", "2015-12-15 18:41:26.340623"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 2], ["updated_at", "2015-12-15 18:41:26.342202"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 2]] Pulitzer::Version Load (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", 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", 2]] Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.3ms) 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", "2015-12-15 18:41:27.381330"], ["updated_at", "2015-12-15 18:41:27.381330"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 5"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 18:41:27.388701"], ["updated_at", "2015-12-15 18:41:27.388701"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 18:41:27.393393"], ["updated_at", "2015-12-15 18:41:27.393393"]]  (0.1ms) RELEASE SAVEPOINT active_record_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", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1154.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) DELETE FROM "pulitzer_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) 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.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.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.9ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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';  (1.2ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_2 Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 18:41:54.012890"], ["updated_at", "2015-12-15 18:41:54.012890"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 18:41:54.057477"], ["updated_at", "2015-12-15 18:41:54.057477"]]  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2 SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 18:41:54.904571"], ["updated_at", "2015-12-15 18:41:54.904571"]]  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 18:41:54.959075"], ["updated_at", "2015-12-15 18:41:54.959075"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2 SQL (0.5ms) 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", "2015-12-15 18:41:54.969646"], ["updated_at", "2015-12-15 18:41:54.969646"]]  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.6ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 18:41:54.991379"], ["updated_at", "2015-12-15 18:41:54.991379"]]  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2 SQL (0.4ms) 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", "2015-12-15 18:41:55.002936"], ["updated_at", "2015-12-15 18:41:55.002936"]]  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2 Pulitzer::ContentElementType Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 18:41:55.021851"], ["updated_at", "2015-12-15 18:41:55.021851"]]  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2 SQL (0.4ms) 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", "2015-12-15 18:41:55.031741"], ["updated_at", "2015-12-15 18:41:55.031741"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::PostType Load (0.9ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (2373.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-15 18:43:23.129001"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 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::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (3.9ms) 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 18:43:52.081201"], ["updated_at", "2015-12-15 18:43:52.081201"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 18:43:52.093306"], ["updated_at", "2015-12-15 18:43:52.093306"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Pulitzer::Version Load (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_2 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 18:43:52.099653"], ["updated_at", "2015-12-15 18:43:52.099653"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (2.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) begin transaction Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (0.6ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 18:44:03.185520"], ["updated_at", "2015-12-15 18:44:03.185520"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 18:44:03.230275"], ["updated_at", "2015-12-15 18:44:03.230275"]]  (1.1ms) commit transaction Pulitzer::Post Load (0.9ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 18:44:08.322485"], ["updated_at", "2015-12-15 18:44:08.322485"]]  (63.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 18:44:08.402469"], ["updated_at", "2015-12-15 18:44:08.402469"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) 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", "2015-12-15 18:44:08.406085"], ["updated_at", "2015-12-15 18:44:08.406085"]]  (0.7ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 18:44:08.409813"], ["updated_at", "2015-12-15 18:44:08.409813"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-15 18:44:08.412439"], ["updated_at", "2015-12-15 18:44:08.412439"]]  (0.6ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 18:44:08.416392"], ["updated_at", "2015-12-15 18:44:08.416392"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) 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", "2015-12-15 18:44:08.418707"], ["updated_at", "2015-12-15 18:44:08.418707"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-15 18:44:08.422220"], ["id", 1]]  (0.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]] Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::PostType Load (0.6ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] Pulitzer::Version Load (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) begin transaction 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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 18:44:25.442494"], ["updated_at", "2015-12-15 18:44:25.442494"]]  (1.1ms) commit transaction Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 18:44:25.451385"], ["updated_at", "2015-12-15 18:44:25.451385"]]  (0.5ms) commit transaction Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 18:44:25.459461"], ["updated_at", "2015-12-15 18:44:25.459461"]]  (0.7ms) commit transaction Pulitzer::Post Load (0.2ms) 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Pulitzer::Post Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2-eb08d6c7-58a1-4ca5-ba1b-56cc1a0d2873"], ["created_at", "2015-12-15 18:44:45.903940"], ["updated_at", "2015-12-15 18:44:45.903940"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 18:44:45.923165"], ["updated_at", "2015-12-15 18:44:45.923165"]]  (1727.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 18:44:47.660411"], ["updated_at", "2015-12-15 18:44:47.660411"]]  (0.5ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (0.8ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2-51105fc4-3968-4c3f-a074-002d829ecb3f"], ["created_at", "2015-12-15 18:46:15.167739"], ["updated_at", "2015-12-15 18:46:15.167739"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", "2015-12-15 18:46:15.199150"], ["updated_at", "2015-12-15 18:46:15.199150"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 18:46:15.211461"], ["updated_at", "2015-12-15 18:46:15.211461"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (1.0ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2-d4dd1568-ce42-4ef4-bcde-e0c86623fef7"], ["created_at", "2015-12-15 18:46:24.146962"], ["updated_at", "2015-12-15 18:46:24.146962"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", "2015-12-15 18:46:24.168914"], ["updated_at", "2015-12-15 18:46:24.168914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 18:46:24.178878"], ["updated_at", "2015-12-15 18:46:24.178878"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (0.8ms) DELETE FROM "pulitzer_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.4ms) 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';  (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.8ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.9ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.1ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.8ms) DELETE FROM "pulitzer_content_elements";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (0.9ms) 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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.1ms) begin transaction Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 18:46:45.380869"], ["updated_at", "2015-12-15 18:46:45.380869"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 18:46:45.405641"], ["updated_at", "2015-12-15 18:46:45.405641"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 18:46:45.413587"], ["updated_at", "2015-12-15 18:46:45.413587"]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 18:46:45.426641"], ["updated_at", "2015-12-15 18:46:45.426641"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) 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", "2015-12-15 18:46:45.429871"], ["updated_at", "2015-12-15 18:46:45.429871"]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 18:46:45.433582"], ["updated_at", "2015-12-15 18:46:45.433582"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) 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", "2015-12-15 18:46:45.436037"], ["updated_at", "2015-12-15 18:46:45.436037"]]  (0.7ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 18:46:45.439706"], ["updated_at", "2015-12-15 18:46:45.439706"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) 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", "2015-12-15 18:46:45.442043"], ["updated_at", "2015-12-15 18:46:45.442043"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-15 18:46:45.445129"], ["id", 1]]  (0.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_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", 1]] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] Pulitzer::Version Load (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) begin transaction Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.3ms) 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 18:46:47.255502"], ["updated_at", "2015-12-15 18:46:47.255502"]]  (0.6ms) commit transaction Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 18:46:47.262056"], ["updated_at", "2015-12-15 18:46:47.262056"]]  (0.7ms) commit transaction Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) begin transaction Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 18:46:47.268422"], ["updated_at", "2015-12-15 18:46:47.268422"]]  (0.7ms) commit transaction Pulitzer::Version Load (0.7ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]] Pulitzer::Post Load (0.7ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::PostType Load (0.5ms) 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::Post Load (0.2ms) 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.4ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (0.6ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2-c1758c50-920d-4270-baca-789dabb36ba6"], ["created_at", "2015-12-15 18:48:53.444472"], ["updated_at", "2015-12-15 18:48:53.444472"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 18:48:53.496691"], ["updated_at", "2015-12-15 18:48:53.496691"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]]  (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", "2015-12-15 18:49:13.579820"], ["updated_at", "2015-12-15 18:49:13.579820"]]  (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" = 'Stark 1' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (369.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.5ms) SELECT COUNT(*) FROM "pulitzer_posts"  (1.2ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (0.6ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2-bd025693-f187-4b7c-8847-8411d852710d"], ["created_at", "2015-12-15 18:49:29.324447"], ["updated_at", "2015-12-15 18:49:29.324447"]] SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 18:49:29.373792"], ["updated_at", "2015-12-15 18:49:29.373792"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (1.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 2]]  (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", "2015-12-15 18:50:20.605380"], ["updated_at", "2015-12-15 18:50:20.605380"]]  (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" = 'Stark 1' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.6ms) SELECT COUNT(*) FROM "pulitzer_posts"  (0.6ms) rollback transaction  (477.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) 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.4ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.8ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (0.6ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]  (0.8ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.0ms) begin transaction  (0.6ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.6ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.9ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.9ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.5ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.9ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-15 18:50:48.694177"], ["updated_at", "2015-12-15 18:50:48.694177"]] 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", "2015-12-15 18:50:48.696365"], ["updated_at", "2015-12-15 18:50:48.696365"]] 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.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-15 18:50:48.697730"], ["updated_at", "2015-12-15 18:50:48.697730"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.8ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.3ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.7ms) commit transaction Migrating to CreateSearchLocations (20150901153531)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150901153531"]]  (0.7ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.4ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "pulitzer_post_tags"  (0.9ms) DROP TABLE "pulitzer_post_tags"  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "apulitzer_post_tags"  (0.3ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.8ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."id" ASC) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (0.7ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.9ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction  (0.3ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) SELECT * FROM "pulitzer_content_elements"  (0.4ms) DROP TABLE "pulitzer_content_elements"  (0.3ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "apulitzer_content_elements"  (0.3ms) DROP TABLE "apulitzer_content_elements"  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "pulitzer_post_tags"  (0.5ms) DROP TABLE "pulitzer_post_tags"  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_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" Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1000 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (1.0ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer Scoped order and limit are ignored, it's forced to be batch order and batch size Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1000 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.7ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "template" boolean)   (0.0ms) SELECT * FROM "pulitzer_post_types"  (0.3ms) DROP TABLE "pulitzer_post_types"  (0.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean)  (0.0ms) SELECT * FROM "apulitzer_post_types"  (0.2ms) DROP TABLE "apulitzer_post_types"  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.8ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.9ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_posts_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_posts_on_slug' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.8ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "just-a-test-2"]] SQL (0.7ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 18:51:05.948121"], ["updated_at", "2015-12-15 18:51:05.948121"]] SQL (0.6ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 18:51:05.996715"], ["updated_at", "2015-12-15 18:51:05.996715"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.8ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) begin transaction  (0.2ms) commit transaction Pulitzer::Post Load (0.6ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 19:21:28.650876"], ["updated_at", "2015-12-15 19:21:28.650876"]]  (0.2ms) 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" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 19:21:28.677548"], ["updated_at", "2015-12-15 19:21:28.677548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) 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", 4], ["post_type_id", 1], ["created_at", "2015-12-15 19:21:28.681764"], ["updated_at", "2015-12-15 19:21:28.681764"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 19:21:28.687543"], ["updated_at", "2015-12-15 19:21:28.687543"]]  (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 2"], ["content_element_type_id", 5], ["post_type_id", 1], ["created_at", "2015-12-15 19:21:28.692028"], ["updated_at", "2015-12-15 19:21:28.692028"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 19:21:28.696048"], ["updated_at", "2015-12-15 19:21:28.696048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 6], ["post_type_id", 1], ["created_at", "2015-12-15 19:21:28.698214"], ["updated_at", "2015-12-15 19:21:28.698214"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-15 19:21:28.701467"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] Pulitzer::Version Load (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.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 4]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 4], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 19:21:31.321982"], ["updated_at", "2015-12-15 19:21:31.321982"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 5]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 5], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 19:21:31.331890"], ["updated_at", "2015-12-15 19:21:31.331890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.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", 6]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 6], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 19:21:31.339129"], ["updated_at", "2015-12-15 19:21:31.339129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (1.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) DELETE FROM "pulitzer_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (1.0ms) DELETE FROM "pulitzer_posts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.0ms) 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';  (0.7ms) 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';  (0.9ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.0ms) 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.5ms) 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.5ms) 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.6ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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", "just-a-test-2"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 19:36:23.628468"], ["updated_at", "2015-12-15 19:36:23.628468"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 19:36:23.663031"], ["updated_at", "2015-12-15 19:36:23.663031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 19:36:23.673117"], ["updated_at", "2015-12-15 19:36:23.673117"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 19:36:23.693240"], ["updated_at", "2015-12-15 19:36:23.693240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-15 19:36:23.698609"], ["updated_at", "2015-12-15 19:36:23.698609"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 19:36:23.704118"], ["updated_at", "2015-12-15 19:36:23.704118"]]  (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 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-15 19:36:23.708460"], ["updated_at", "2015-12-15 19:36:23.708460"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 19:36:23.715787"], ["updated_at", "2015-12-15 19:36:23.715787"]]  (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", "2015-12-15 19:36:23.718964"], ["updated_at", "2015-12-15 19:36:23.718964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-15 19:36:23.723544"], ["id", 1]]  (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]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 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::Version Load (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.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 19:36:23.758236"], ["updated_at", "2015-12-15 19:36:23.758236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 19:36:23.768920"], ["updated_at", "2015-12-15 19:36:23.768920"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.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", 3]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 19:36:23.779910"], ["updated_at", "2015-12-15 19:36:23.779910"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (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.2ms) 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' LIMIT 1 SQL (0.7ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-15 19:36:23.831406"], ["updated_at", "2015-12-15 19:36:23.831406"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-15 19:36:23.856321"], ["updated_at", "2015-12-15 19:36:23.856321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-15 19:36:23.874997"], ["updated_at", "2015-12-15 19:36:23.874997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-15 19:36:23.882995"], ["updated_at", "2015-12-15 19:36:23.882995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.5ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-15 19:36:23.889665"], ["updated_at", "2015-12-15 19:36:23.889665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-15 19:36:23.894506"], ["updated_at", "2015-12-15 19:36:23.894506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-15 19:36:23.896495"], ["updated_at", "2015-12-15 19:36:23.896495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-15 19:36:23.903098"], ["updated_at", "2015-12-15 19:36:23.903098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-15 19:36:23.907203"], ["updated_at", "2015-12-15 19:36:23.907203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-15 19:36:23.913458"], ["updated_at", "2015-12-15 19:36:23.913458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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" = 'Text' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-15 19:36:23.918949"], ["updated_at", "2015-12-15 19:36:23.918949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-15 19:36:23.927069"], ["updated_at", "2015-12-15 19:36:23.927069"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "2015-12-15 19:36:24.034313"], ["updated_at", "2015-12-15 19:36:24.034313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.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", "2015-12-15 19:36:24.047626"], ["updated_at", "2015-12-15 19:36:24.047626"]]  (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-2"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 19:36:24.051073"], ["updated_at", "2015-12-15 19:36:24.051073"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 19:36:24.053677"], ["updated_at", "2015-12-15 19:36:24.053677"]]  (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.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 19:36:24.058245"], ["updated_at", "2015-12-15 19:36:24.058245"]]  (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-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-15 19:36:24.061441"], ["updated_at", "2015-12-15 19:36:24.061441"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 19:36:24.063449"], ["updated_at", "2015-12-15 19:36:24.063449"]]  (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.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-15 19:36:24.067505"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-15 19:36:24.080037"], ["updated_at", "2015-12-15 19:36:24.080037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-15 19:36:24.084849"], ["updated_at", "2015-12-15 19:36:24.084849"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 19:36:24.087783"], ["updated_at", "2015-12-15 19:36:24.087783"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 19:36:24.089643"], ["updated_at", "2015-12-15 19:36:24.089643"]]  (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", "2015-12-15 19:36:24.092590"], ["updated_at", "2015-12-15 19:36:24.092590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) 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.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) 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", "2015-12-15 19:36:24.118636"], ["updated_at", "2015-12-15 19:36:24.118636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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" = 'Stark 4' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-15 19:36:24.124261"], ["updated_at", "2015-12-15 19:36:24.124261"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.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 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) 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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-15 19:36:24.166272"], ["updated_at", "2015-12-15 19:36:24.166272"]]  (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  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.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", "2015-12-15 19:36:24.180472"], ["updated_at", "2015-12-15 19:36:24.180472"]]  (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.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2015-12-15 19:36:24.183471"], ["updated_at", "2015-12-15 19:36:24.183471"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 19:36:24.185608"], ["updated_at", "2015-12-15 19:36:24.185608"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.4ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1458.1ms) 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.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';  (3.1ms) 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 "search_locations";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.2ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.8ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.5ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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", "just-a-test-2"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 19:41:25.426424"], ["updated_at", "2015-12-15 19:41:25.426424"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 19:41:25.451236"], ["updated_at", "2015-12-15 19:41:25.451236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-15 19:41:25.463833"], ["updated_at", "2015-12-15 19:41:25.463833"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 19:41:25.483726"], ["updated_at", "2015-12-15 19:41:25.483726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-15 19:41:25.489512"], ["updated_at", "2015-12-15 19:41:25.489512"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 19:41:25.492689"], ["updated_at", "2015-12-15 19:41:25.492689"]]  (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", "2015-12-15 19:41:25.494242"], ["updated_at", "2015-12-15 19:41:25.494242"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 19:41:25.496904"], ["updated_at", "2015-12-15 19:41:25.496904"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-15 19:41:25.498483"], ["updated_at", "2015-12-15 19:41:25.498483"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-15 19:41:25.501579"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 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.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.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 19:41:25.530343"], ["updated_at", "2015-12-15 19:41:25.530343"]]  (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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 19:41:25.536035"], ["updated_at", "2015-12-15 19:41:25.536035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 19:41:25.542683"], ["updated_at", "2015-12-15 19:41:25.542683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]] 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.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.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.6ms) 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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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';  (0.6ms) 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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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", "just-a-test-2"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 19:45:26.215211"], ["updated_at", "2015-12-15 19:45:26.215211"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 19:45:26.232867"], ["updated_at", "2015-12-15 19:45:26.232867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-15 19:45:26.238821"], ["updated_at", "2015-12-15 19:45:26.238821"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 19:45:26.249508"], ["updated_at", "2015-12-15 19:45:26.249508"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-15 19:45:26.253778"], ["updated_at", "2015-12-15 19:45:26.253778"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 19:45:26.256409"], ["updated_at", "2015-12-15 19:45:26.256409"]]  (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", "2015-12-15 19:45:26.257688"], ["updated_at", "2015-12-15 19:45:26.257688"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 19:45:26.259880"], ["updated_at", "2015-12-15 19:45:26.259880"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-15 19:45:26.261346"], ["updated_at", "2015-12-15 19:45:26.261346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-15 19:45:26.263212"], ["id", 1]]  (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]] Pulitzer::Version Load (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", 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.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", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 19:45:26.286056"], ["updated_at", "2015-12-15 19:45:26.286056"]]  (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", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 19:45:26.291800"], ["updated_at", "2015-12-15 19:45:26.291800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 19:45:26.296321"], ["updated_at", "2015-12-15 19:45:26.296321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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", 1]]  (164.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (33.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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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", "just-a-test-2"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 19:45:33.946503"], ["updated_at", "2015-12-15 19:45:33.946503"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 19:45:33.961594"], ["updated_at", "2015-12-15 19:45:33.961594"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 19:45:33.967074"], ["updated_at", "2015-12-15 19:45:33.967074"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 19:45:33.976489"], ["updated_at", "2015-12-15 19:45:33.976489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-15 19:45:33.980798"], ["updated_at", "2015-12-15 19:45:33.980798"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 19:45:33.983623"], ["updated_at", "2015-12-15 19:45:33.983623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-15 19:45:33.984900"], ["updated_at", "2015-12-15 19:45:33.984900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 19:45:33.986902"], ["updated_at", "2015-12-15 19:45:33.986902"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-15 19:45:33.988046"], ["updated_at", "2015-12-15 19:45:33.988046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-15 19:45:33.989850"], ["id", 1]]  (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]] Pulitzer::Version Load (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", 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.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", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 19:45:34.008221"], ["updated_at", "2015-12-15 19:45:34.008221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 19:45:34.012730"], ["updated_at", "2015-12-15 19:45:34.012730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 19:45:34.016780"], ["updated_at", "2015-12-15 19:45:34.016780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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", 1]]  (114.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (665.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.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.5ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.5ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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", "just-a-test-2"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 19:45:45.453877"], ["updated_at", "2015-12-15 19:45:45.453877"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 19:45:45.473664"], ["updated_at", "2015-12-15 19:45:45.473664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-15 19:45:45.480834"], ["updated_at", "2015-12-15 19:45:45.480834"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 19:45:45.491844"], ["updated_at", "2015-12-15 19:45:45.491844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-15 19:45:45.496002"], ["updated_at", "2015-12-15 19:45:45.496002"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 19:45:45.498552"], ["updated_at", "2015-12-15 19:45:45.498552"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-15 19:45:45.499793"], ["updated_at", "2015-12-15 19:45:45.499793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 19:45:45.501671"], ["updated_at", "2015-12-15 19:45:45.501671"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-15 19:45:45.502773"], ["updated_at", "2015-12-15 19:45:45.502773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-15 19:45:45.504721"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 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", 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.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", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 19:45:45.528067"], ["updated_at", "2015-12-15 19:45:45.528067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 19:45:45.532499"], ["updated_at", "2015-12-15 19:45:45.532499"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 19:45:45.537782"], ["updated_at", "2015-12-15 19:45:45.537782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (515.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (152.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';  (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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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", "just-a-test-2"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 19:46:00.380210"], ["updated_at", "2015-12-15 19:46:00.380210"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 19:46:00.397217"], ["updated_at", "2015-12-15 19:46:00.397217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 19:46:00.402916"], ["updated_at", "2015-12-15 19:46:00.402916"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 19:46:00.412119"], ["updated_at", "2015-12-15 19:46:00.412119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-15 19:46:00.416125"], ["updated_at", "2015-12-15 19:46:00.416125"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 19:46:00.418591"], ["updated_at", "2015-12-15 19:46:00.418591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-15 19:46:00.419875"], ["updated_at", "2015-12-15 19:46:00.419875"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 19:46:00.421863"], ["updated_at", "2015-12-15 19:46:00.421863"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-15 19:46:00.423027"], ["updated_at", "2015-12-15 19:46:00.423027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-15 19:46:00.424739"], ["id", 1]]  (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]] Pulitzer::Version Load (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", 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.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::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.3ms) 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 19:46:10.287624"], ["updated_at", "2015-12-15 19:46:10.287624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] 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]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 1]] 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] 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]] 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", 1]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (254.6ms) 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.8ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.6ms) DELETE FROM "pulitzer_post_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_types';  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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", "just-a-test-2"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 19:47:16.418319"], ["updated_at", "2015-12-15 19:47:16.418319"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 19:47:16.435032"], ["updated_at", "2015-12-15 19:47:16.435032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 19:47:16.440432"], ["updated_at", "2015-12-15 19:47:16.440432"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 19:47:16.449954"], ["updated_at", "2015-12-15 19:47:16.449954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-15 19:47:16.454809"], ["updated_at", "2015-12-15 19:47:16.454809"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 19:47:16.458540"], ["updated_at", "2015-12-15 19:47:16.458540"]]  (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", "2015-12-15 19:47:16.459855"], ["updated_at", "2015-12-15 19:47:16.459855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 19:47:16.461779"], ["updated_at", "2015-12-15 19:47:16.461779"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-15 19:47:16.462949"], ["updated_at", "2015-12-15 19:47:16.462949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-15 19:47:16.464702"], ["id", 1]]  (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]] Pulitzer::Version Load (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", 1]] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["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::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::Version Load (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::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."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::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::Version Load (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::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] 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::Version Load (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::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", 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.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."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" = ? 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"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]] 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (264.0ms) 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';  (1.2ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.3ms) 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.0ms) 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.0ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.9ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.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.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (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", "just-a-test-2"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 19:48:12.392905"], ["updated_at", "2015-12-15 19:48:12.392905"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 19:48:12.409292"], ["updated_at", "2015-12-15 19:48:12.409292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 19:48:12.414560"], ["updated_at", "2015-12-15 19:48:12.414560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 19:48:12.425241"], ["updated_at", "2015-12-15 19:48:12.425241"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-15 19:48:12.430724"], ["updated_at", "2015-12-15 19:48:12.430724"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 19:48:12.433813"], ["updated_at", "2015-12-15 19:48:12.433813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-15 19:48:12.435126"], ["updated_at", "2015-12-15 19:48:12.435126"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 19:48:12.437136"], ["updated_at", "2015-12-15 19:48:12.437136"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-15 19:48:12.438247"], ["updated_at", "2015-12-15 19:48:12.438247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-15 19:48:12.440000"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 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", 1]] Pulitzer::PostTypeContentElementType Load (0.3ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] Pulitzer::Version Load (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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 19:48:18.160304"], ["updated_at", "2015-12-15 19:48:18.160304"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 19:48:18.171414"], ["updated_at", "2015-12-15 19:48:18.171414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 19:48:18.182462"], ["updated_at", "2015-12-15 19:48:18.182462"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."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" = ? 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"."id" = ? LIMIT 1 [["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::Version Load (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", 1]] Pulitzer::Post Load (0.2ms) 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (69.2ms) 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';  (1.1ms) DELETE FROM "pulitzer_posts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.3ms) DELETE FROM "pulitzer_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (1.7ms) 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.8ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.0ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (2.0ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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';  (2.0ms) DELETE FROM "pulitzer_post_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_types';  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (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", "just-a-test-2"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 19:50:50.354829"], ["updated_at", "2015-12-15 19:50:50.354829"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 19:50:50.370300"], ["updated_at", "2015-12-15 19:50:50.370300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-15 19:50:50.377747"], ["updated_at", "2015-12-15 19:50:50.377747"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 19:50:50.387776"], ["updated_at", "2015-12-15 19:50:50.387776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-15 19:50:50.393537"], ["updated_at", "2015-12-15 19:50:50.393537"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 19:50:50.396790"], ["updated_at", "2015-12-15 19:50:50.396790"]]  (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", "2015-12-15 19:50:50.398455"], ["updated_at", "2015-12-15 19:50:50.398455"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 19:50:50.401228"], ["updated_at", "2015-12-15 19:50:50.401228"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-15 19:50:50.402493"], ["updated_at", "2015-12-15 19:50:50.402493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-15 19:50:50.404781"], ["id", 1]]  (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]] Pulitzer::Version Load (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::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]  (34.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1318.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';  (1.1ms) 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';  (1.2ms) 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';  (0.9ms) 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';  (0.7ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (3.2ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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", "just-a-test-2"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Just a test 2"], ["slug", "just-a-test-2"], ["created_at", "2015-12-15 19:51:05.122761"], ["updated_at", "2015-12-15 19:51:05.122761"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 19:51:05.138336"], ["updated_at", "2015-12-15 19:51:05.138336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 19:51:05.143554"], ["updated_at", "2015-12-15 19:51:05.143554"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 19:51:05.155308"], ["updated_at", "2015-12-15 19:51:05.155308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-15 19:51:05.160129"], ["updated_at", "2015-12-15 19:51:05.160129"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 19:51:05.162838"], ["updated_at", "2015-12-15 19:51:05.162838"]]  (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", "2015-12-15 19:51:05.164249"], ["updated_at", "2015-12-15 19:51:05.164249"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 19:51:05.166663"], ["updated_at", "2015-12-15 19:51:05.166663"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-15 19:51:05.167917"], ["updated_at", "2015-12-15 19:51:05.167917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_posts" SET "post_type_id" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["post_type_id", 1], ["updated_at", "2015-12-15 19:51:05.169691"], ["id", 1]]  (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]] Pulitzer::Version Load (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]] Pulitzer::PostTypeContentElementType 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.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", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 19:51:05.188266"], ["updated_at", "2015-12-15 19:51:05.188266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 19:51:05.192856"], ["updated_at", "2015-12-15 19:51:05.192856"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 19:51:05.197122"], ["updated_at", "2015-12-15 19:51:05.197122"]]  (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]]  (314.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1978.5ms) DELETE FROM "pulitzer_content_element_types";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (1.3ms) 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.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';  (0.8ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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';  (0.6ms) 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.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", "2015-12-15 19:52:14.326429"], ["updated_at", "2015-12-15 19:52:14.326429"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 19:52:14.356799"], ["updated_at", "2015-12-15 19:52:14.356799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-15 19:52:14.364531"], ["updated_at", "2015-12-15 19:52:14.364531"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 19:52:14.369261"], ["updated_at", "2015-12-15 19:52:14.369261"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-15 19:52:14.371129"], ["updated_at", "2015-12-15 19:52:14.371129"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 19:52:14.373454"], ["updated_at", "2015-12-15 19:52:14.373454"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-15 19:52:14.374746"], ["updated_at", "2015-12-15 19:52:14.374746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.1ms) 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", "2015-12-15 19:52:14.491069"], ["updated_at", "2015-12-15 19:52:14.491069"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 19:52:14.501279"], ["updated_at", "2015-12-15 19:52:14.501279"]]  (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]] Pulitzer::Version Load (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]] Pulitzer::PostTypeContentElementType 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.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", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 19:52:14.524455"], ["updated_at", "2015-12-15 19:52:14.524455"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 19:52:14.530867"], ["updated_at", "2015-12-15 19:52:14.530867"]]  (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) 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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 19:52:14.537681"], ["updated_at", "2015-12-15 19:52:14.537681"]]  (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]]  (449.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (284.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.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.2ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.0ms) 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", "2015-12-15 19:53:01.982847"], ["updated_at", "2015-12-15 19:53:01.982847"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 19:53:02.001202"], ["updated_at", "2015-12-15 19:53:02.001202"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-15 19:53:02.008553"], ["updated_at", "2015-12-15 19:53:02.008553"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 19:53:02.011858"], ["updated_at", "2015-12-15 19:53:02.011858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-15 19:53:02.013737"], ["updated_at", "2015-12-15 19:53:02.013737"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 19:53:02.016239"], ["updated_at", "2015-12-15 19:53:02.016239"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-15 19:53:02.017596"], ["updated_at", "2015-12-15 19:53:02.017596"]]  (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.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.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", "2015-12-15 19:53:02.118498"], ["updated_at", "2015-12-15 19:53:02.118498"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 19:53:02.123817"], ["updated_at", "2015-12-15 19:53:02.123817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) 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.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.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 19:53:02.147929"], ["updated_at", "2015-12-15 19:53:02.147929"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 19:53:02.156902"], ["updated_at", "2015-12-15 19:53:02.156902"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 19:53:02.163479"], ["updated_at", "2015-12-15 19:53:02.163479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]  (134.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (124.3ms) 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.8ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.1ms) begin transaction  (0.1ms) 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", "2015-12-15 19:53:09.275414"], ["updated_at", "2015-12-15 19:53:09.275414"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 19:53:09.293280"], ["updated_at", "2015-12-15 19:53:09.293280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-15 19:53:09.298976"], ["updated_at", "2015-12-15 19:53:09.298976"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 19:53:09.301772"], ["updated_at", "2015-12-15 19:53:09.301772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-15 19:53:09.303089"], ["updated_at", "2015-12-15 19:53:09.303089"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 19:53:09.305408"], ["updated_at", "2015-12-15 19:53:09.305408"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-15 19:53:09.307083"], ["updated_at", "2015-12-15 19:53:09.307083"]]  (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.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", "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", "2015-12-15 19:53:09.415480"], ["updated_at", "2015-12-15 19:53:09.415480"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 19:53:09.424295"], ["updated_at", "2015-12-15 19:53:09.424295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) 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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 19:53:09.446184"], ["updated_at", "2015-12-15 19:53:09.446184"]]  (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.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 19:53:09.451021"], ["updated_at", "2015-12-15 19:53:09.451021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 19:53:09.455442"], ["updated_at", "2015-12-15 19:53:09.455442"]]  (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) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]  (474.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) 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';  (0.9ms) 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';  (1.0ms) 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';  (0.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.0ms) DELETE FROM "pulitzer_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';  (1.1ms) 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.0ms) 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", "2015-12-15 21:01:32.764836"], ["updated_at", "2015-12-15 21:01:32.764836"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 21:01:33.817919"], ["updated_at", "2015-12-15 21:01:33.817919"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:01:33.829698"], ["updated_at", "2015-12-15 21:01:33.829698"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:01:33.832859"], ["updated_at", "2015-12-15 21:01:33.832859"]]  (0.0ms) 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", "2015-12-15 21:01:33.842502"], ["updated_at", "2015-12-15 21:01:33.842502"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 21:01:33.848441"], ["updated_at", "2015-12-15 21:01:33.848441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (434.4ms) DELETE FROM "pulitzer_content_element_types";  (0.3ms) 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.4ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.0ms) 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.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';  (0.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.7ms) 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';  (0.8ms) 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.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 21:03:37.290463"], ["updated_at", "2015-12-15 21:03:37.290463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (1.1ms) 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", "2015-12-15 21:03:37.586963"], ["updated_at", "2015-12-15 21:03:37.586963"]] SQL (0.5ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:03:37.599979"], ["updated_at", "2015-12-15 21:03:37.599979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:03:37.603094"], ["updated_at", "2015-12-15 21:03:37.603094"]]  (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' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-15 21:03:37.616041"], ["updated_at", "2015-12-15 21:03:37.616041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element"], ["title", "Night's Watch"], ["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", "2015-12-15 21:03:37.619244"], ["updated_at", "2015-12-15 21:03:37.619244"]]  (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' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (394.9ms) 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.9ms) 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';  (0.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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';  (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.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.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.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", "2015-12-15 21:04:35.552439"], ["updated_at", "2015-12-15 21:04:35.552439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 21:04:35.681957"], ["updated_at", "2015-12-15 21:04:35.681957"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:04:35.689562"], ["updated_at", "2015-12-15 21:04:35.689562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:04:35.692396"], ["updated_at", "2015-12-15 21:04:35.692396"]]  (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' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-15 21:04:35.706513"], ["updated_at", "2015-12-15 21:04:35.706513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 21:04:35.709502"], ["updated_at", "2015-12-15 21:04:35.709502"]]  (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' LIMIT 1  (0.0ms) ROLLBACK TO 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", "2015-12-15 21:04:54.659038"], ["updated_at", "2015-12-15 21:04:54.659038"]]  (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-2"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 21:04:54.666780"], ["updated_at", "2015-12-15 21:04:54.666780"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 21:04:54.671553"], ["updated_at", "2015-12-15 21:04:54.671553"]]  (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", 2], ["created_at", "2015-12-15 21:04:54.675502"], ["updated_at", "2015-12-15 21:04:54.675502"]]  (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' LIMIT 1  (0.1ms) ROLLBACK TO 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", "2015-12-15 21:05:52.454241"], ["updated_at", "2015-12-15 21:05:52.454241"]]  (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-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", 3], ["slug", "winterfell-news-3"], ["created_at", "2015-12-15 21:05:52.457147"], ["updated_at", "2015-12-15 21:05:52.457147"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", "2015-12-15 21:05:52.458909"], ["updated_at", "2015-12-15 21:05:52.458909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", "2015-12-15 21:05:52.460583"], ["updated_at", "2015-12-15 21:05:52.460583"]]  (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' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1282.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1512.7ms) 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';  (17.6ms) DELETE FROM "pulitzer_posts";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.3ms) 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';  (2.2ms) 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.0ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.0ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.3ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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';  (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.1ms) begin transaction  (0.1ms) 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", "2015-12-15 21:07:22.319034"], ["updated_at", "2015-12-15 21:07:22.319034"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 21:07:22.435687"], ["updated_at", "2015-12-15 21:07:22.435687"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:07:22.443469"], ["updated_at", "2015-12-15 21:07:22.443469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:07:22.445679"], ["updated_at", "2015-12-15 21:07:22.445679"]]  (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' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-15 21:07:22.461298"], ["updated_at", "2015-12-15 21:07:22.461298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 21:07:22.464528"], ["updated_at", "2015-12-15 21:07:22.464528"]]  (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' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions"  (0.4ms) rollback transaction  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions"  (0.1ms) SELECT COUNT(*) FROM "pulitzer_posts" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1256.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.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';  (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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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';  (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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions"  (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", "2015-12-15 21:10:00.839307"], ["updated_at", "2015-12-15 21:10:00.839307"]]  (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-1"]] SQL (0.5ms) 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", "2015-12-15 21:10:00.946388"], ["updated_at", "2015-12-15 21:10:00.946388"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:10:00.954872"], ["updated_at", "2015-12-15 21:10:00.954872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:10:00.957169"], ["updated_at", "2015-12-15 21:10:00.957169"]]  (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' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-15 21:10:00.970483"], ["updated_at", "2015-12-15 21:10:00.970483"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 21:10:00.973419"], ["updated_at", "2015-12-15 21:10:00.973419"]]  (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' LIMIT 1  (0.0ms) ROLLBACK TO 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", "2015-12-15 21:10:06.648538"], ["updated_at", "2015-12-15 21:10:06.648538"]]  (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-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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 21:10:06.651249"], ["updated_at", "2015-12-15 21:10:06.651249"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 21:10:06.653102"], ["updated_at", "2015-12-15 21:10:06.653102"]]  (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", 2], ["created_at", "2015-12-15 21:10:06.654734"], ["updated_at", "2015-12-15 21:10:06.654734"]]  (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' LIMIT 1  (0.0ms) ROLLBACK TO 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", "2015-12-15 21:10:10.160930"], ["updated_at", "2015-12-15 21:10:10.160930"]]  (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", 3], ["slug", "winterfell-news-3"], ["created_at", "2015-12-15 21:10:10.163826"], ["updated_at", "2015-12-15 21:10:10.163826"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", "2015-12-15 21:10:10.165737"], ["updated_at", "2015-12-15 21:10:10.165737"]]  (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", 3], ["created_at", "2015-12-15 21:10:10.167798"], ["updated_at", "2015-12-15 21:10:10.167798"]]  (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' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (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", "2015-12-15 21:10:38.172484"], ["updated_at", "2015-12-15 21:10:38.172484"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 4], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 21:10:38.178087"], ["updated_at", "2015-12-15 21:10:38.178087"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", "2015-12-15 21:10:38.180275"], ["updated_at", "2015-12-15 21:10:38.180275"]]  (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", 4], ["created_at", "2015-12-15 21:10:38.182382"], ["updated_at", "2015-12-15 21:10:38.182382"]]  (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' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions"  (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", "2015-12-15 21:10:49.073152"], ["updated_at", "2015-12-15 21:10:49.073152"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 5], ["slug", "winterfell-news-5"], ["created_at", "2015-12-15 21:10:49.076348"], ["updated_at", "2015-12-15 21:10:49.076348"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", "2015-12-15 21:10:49.078360"], ["updated_at", "2015-12-15 21:10:49.078360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 5], ["created_at", "2015-12-15 21:10:49.080414"], ["updated_at", "2015-12-15 21:10:49.080414"]]  (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' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions"  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (723.5ms) 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';  (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.8ms) 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';  (0.8ms) 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';  (0.8ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.0ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.6ms) 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.0ms) 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", "2015-12-15 21:18:44.611574"], ["updated_at", "2015-12-15 21:18:44.611574"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 21:18:44.727679"], ["updated_at", "2015-12-15 21:18:44.727679"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:18:44.740341"], ["updated_at", "2015-12-15 21:18:44.740341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? [["post_id", 1]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 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::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]] Pulitzer::Version Load (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) 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' LIMIT 1 SQL (1000.7ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-15 21:22:39.952219"], ["updated_at", "2015-12-15 21:22:39.952219"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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], ["created_at", "2015-12-15 21:22:40.963114"], ["updated_at", "2015-12-15 21:22:40.963114"]]  (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' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.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' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (731.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (63.7ms) 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';  (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.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';  (0.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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';  (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.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (448.9ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 21:23:04.519507"], ["updated_at", "2015-12-15 21:23:04.519507"]]  (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-1"]] SQL (0.6ms) 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", "2015-12-15 21:23:05.081173"], ["updated_at", "2015-12-15 21:23:05.081173"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:23:05.092016"], ["updated_at", "2015-12-15 21:23:05.092016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.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' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2015-12-15 21:23:05.111840"], ["updated_at", "2015-12-15 21:23:05.111840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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], ["created_at", "2015-12-15 21:23:05.115877"], ["updated_at", "2015-12-15 21:23:05.115877"]]  (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' LIMIT 1  (0.0ms) ROLLBACK TO 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' LIMIT 1  (0.1ms) ROLLBACK TO 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' LIMIT 1  (0.1ms) ROLLBACK TO 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' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1557.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.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.6ms) 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.6ms) 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.9ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 21:36:38.506285"], ["updated_at", "2015-12-15 21:36:38.506285"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 21:36:39.833549"], ["updated_at", "2015-12-15 21:36:39.833549"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:36:39.845143"], ["updated_at", "2015-12-15 21:36:39.845143"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] 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::Version Load (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::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]  (0.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", "2015-12-15 21:37:19.078618"], ["updated_at", "2015-12-15 21:37:19.078618"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 21:37:19.082346"], ["updated_at", "2015-12-15 21:37:19.082346"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 21:37:19.084429"], ["updated_at", "2015-12-15 21:37:19.084429"]]  (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", 2], ["created_at", "2015-12-15 21:37:19.087147"], ["updated_at", "2015-12-15 21:37:19.087147"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 21:37:19.100831"], ["updated_at", "2015-12-15 21:37:19.100831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 3], ["created_at", "2015-12-15 21:37:19.104505"], ["updated_at", "2015-12-15 21:37:19.104505"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 21:37:19.107902"], ["updated_at", "2015-12-15 21:37:19.107902"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 3], ["created_at", "2015-12-15 21:37:19.110506"], ["updated_at", "2015-12-15 21:37:19.110506"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 21:37:19.114140"], ["updated_at", "2015-12-15 21:37:19.114140"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 3], ["created_at", "2015-12-15 21:37:19.118041"], ["updated_at", "2015-12-15 21:37:19.118041"]]  (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 [["version_id", 3]]  (0.2ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (0.4ms) 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.9ms) DELETE FROM "pulitzer_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.9ms) DELETE FROM "pulitzer_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (0.7ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.1ms) 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';  (0.9ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.7ms) DELETE FROM "pulitzer_content_elements";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.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", "2015-12-15 21:42:19.289084"], ["updated_at", "2015-12-15 21:42:19.289084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.5ms) 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", "2015-12-15 21:42:19.399256"], ["updated_at", "2015-12-15 21:42:19.399256"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:42:19.410759"], ["updated_at", "2015-12-15 21:42:19.410759"]]  (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", "2015-12-15 21:42:19.415682"], ["updated_at", "2015-12-15 21:42:19.415682"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 21:42:19.429588"], ["updated_at", "2015-12-15 21:42:19.429588"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 21:42:19.433287"], ["updated_at", "2015-12-15 21:42:19.433287"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 21:42:19.436794"], ["updated_at", "2015-12-15 21:42:19.436794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 21:42:19.439202"], ["updated_at", "2015-12-15 21:42:19.439202"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 21:42:19.442418"], ["updated_at", "2015-12-15 21:42:19.442418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 21:42:19.444855"], ["updated_at", "2015-12-15 21:42:19.444855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.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", "2015-12-15 21:42:25.819886"], ["updated_at", "2015-12-15 21:42:25.819886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 21:42:25.823613"], ["updated_at", "2015-12-15 21:42:25.823613"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 21:42:25.825668"], ["updated_at", "2015-12-15 21:42:25.825668"]]  (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", 2], ["created_at", "2015-12-15 21:42:25.827769"], ["updated_at", "2015-12-15 21:42:25.827769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] 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", 2]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 21:42:44.861829"], ["updated_at", "2015-12-15 21:42:44.861829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 21:42:44.865594"], ["updated_at", "2015-12-15 21:42:44.865594"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 21:42:44.869244"], ["updated_at", "2015-12-15 21:42:44.869244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.7ms) 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';  (0.9ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.7ms) 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';  (0.8ms) 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';  (0.7ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.9ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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';  (0.9ms) 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.1ms) begin transaction  (0.1ms) 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", "2015-12-15 21:43:13.703782"], ["updated_at", "2015-12-15 21:43:13.703782"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 21:43:13.808953"], ["updated_at", "2015-12-15 21:43:13.808953"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:43:13.820587"], ["updated_at", "2015-12-15 21:43:13.820587"]]  (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", "2015-12-15 21:43:13.824002"], ["updated_at", "2015-12-15 21:43:13.824002"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 21:43:13.846465"], ["updated_at", "2015-12-15 21:43:13.846465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 21:43:13.850141"], ["updated_at", "2015-12-15 21:43:13.850141"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 21:43:13.853457"], ["updated_at", "2015-12-15 21:43:13.853457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 21:43:13.855847"], ["updated_at", "2015-12-15 21:43:13.855847"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 21:43:13.859194"], ["updated_at", "2015-12-15 21:43:13.859194"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 21:43:13.861869"], ["updated_at", "2015-12-15 21:43:13.861869"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.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", "2015-12-15 21:43:13.867662"], ["updated_at", "2015-12-15 21:43:13.867662"]]  (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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 21:43:13.870513"], ["updated_at", "2015-12-15 21:43:13.870513"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 21:43:13.872258"], ["updated_at", "2015-12-15 21:43:13.872258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 21:43:13.874235"], ["updated_at", "2015-12-15 21:43:13.874235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 21:43:13.883132"], ["updated_at", "2015-12-15 21:43:13.883132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 21:43:13.889057"], ["updated_at", "2015-12-15 21:43:13.889057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 21:43:13.893785"], ["updated_at", "2015-12-15 21:43:13.893785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (1597.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (364.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.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.8ms) DELETE FROM "pulitzer_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (0.8ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.7ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.7ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.8ms) 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.0ms) begin transaction  (0.1ms) 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", "2015-12-15 21:43:21.358551"], ["updated_at", "2015-12-15 21:43:21.358551"]]  (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-1"]] SQL (0.6ms) 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", "2015-12-15 21:43:21.471871"], ["updated_at", "2015-12-15 21:43:21.471871"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:43:21.480018"], ["updated_at", "2015-12-15 21:43:21.480018"]]  (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", "2015-12-15 21:43:21.482783"], ["updated_at", "2015-12-15 21:43:21.482783"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 21:43:21.496307"], ["updated_at", "2015-12-15 21:43:21.496307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 21:43:21.499794"], ["updated_at", "2015-12-15 21:43:21.499794"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 21:43:21.502882"], ["updated_at", "2015-12-15 21:43:21.502882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 21:43:21.505071"], ["updated_at", "2015-12-15 21:43:21.505071"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 21:43:21.508053"], ["updated_at", "2015-12-15 21:43:21.508053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 21:43:21.510307"], ["updated_at", "2015-12-15 21:43:21.510307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.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", "2015-12-15 21:43:21.515404"], ["updated_at", "2015-12-15 21:43:21.515404"]]  (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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 21:43:21.518041"], ["updated_at", "2015-12-15 21:43:21.518041"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 21:43:21.519656"], ["updated_at", "2015-12-15 21:43:21.519656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 21:43:21.521310"], ["updated_at", "2015-12-15 21:43:21.521310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] 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", 2]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 21:43:21.527273"], ["updated_at", "2015-12-15 21:43:21.527273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 21:43:21.530703"], ["updated_at", "2015-12-15 21:43:21.530703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 21:43:21.533795"], ["updated_at", "2015-12-15 21:43:21.533795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (925.8ms) 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", "2015-12-15 21:43:22.469017"], ["updated_at", "2015-12-15 21:43:22.469017"]]  (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" = 'Stark 4' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-15 21:43:22.478991"], ["updated_at", "2015-12-15 21:43:22.478991"]]  (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", "2015-12-15 21:43:22.481933"], ["updated_at", "2015-12-15 21:43:22.481933"]]  (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" = 'Stark 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-15 21:43:22.484933"], ["updated_at", "2015-12-15 21:43:22.484933"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-15 21:43:22.486684"], ["updated_at", "2015-12-15 21:43:22.486684"]]  (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" = 'Stark 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-15 21:43:22.489274"], ["updated_at", "2015-12-15 21:43:22.489274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-15 21:43:22.491113"], ["updated_at", "2015-12-15 21:43:22.491113"]]  (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-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", "2015-12-15 21:43:22.496117"], ["updated_at", "2015-12-15 21:43:22.496117"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:43:22.497837"], ["updated_at", "2015-12-15 21:43:22.497837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_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::Version Load (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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 21:43:22.509125"], ["updated_at", "2015-12-15 21:43:22.509125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 21:43:22.515709"], ["updated_at", "2015-12-15 21:43:22.515709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 21:43:22.522669"], ["updated_at", "2015-12-15 21:43:22.522669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]  (94.0ms) 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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 7' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 7"], ["created_at", "2015-12-15 21:43:22.628840"], ["updated_at", "2015-12-15 21:43:22.628840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-15 21:43:22.645784"], ["updated_at", "2015-12-15 21:43:22.645784"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 8' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 8"], ["created_at", "2015-12-15 21:43:22.663693"], ["updated_at", "2015-12-15 21:43:22.663693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) 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" = 'Stark 9' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 9"], ["created_at", "2015-12-15 21:43:22.668662"], ["updated_at", "2015-12-15 21:43:22.668662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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" = 'Stark 10' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 10"], ["created_at", "2015-12-15 21:43:22.676178"], ["updated_at", "2015-12-15 21:43:22.676178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-15 21:43:22.681511"], ["updated_at", "2015-12-15 21:43:22.681511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 8' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-15 21:43:22.684009"], ["updated_at", "2015-12-15 21:43:22.684009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-15 21:43:22.690202"], ["updated_at", "2015-12-15 21:43:22.690202"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 9' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-15 21:43:22.693032"], ["updated_at", "2015-12-15 21:43:22.693032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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" = 'Stark 11' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 11"], ["created_at", "2015-12-15 21:43:22.698910"], ["updated_at", "2015-12-15 21:43:22.698910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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" = 'Stark 12' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 12"], ["created_at", "2015-12-15 21:43:22.705294"], ["updated_at", "2015-12-15 21:43:22.705294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-15 21:43:22.710944"], ["updated_at", "2015-12-15 21:43:22.710944"]]  (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 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 21:43:22.815724"], ["updated_at", "2015-12-15 21:43:22.815724"]]  (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-4"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) 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", "2015-12-15 21:43:22.829791"], ["updated_at", "2015-12-15 21:43:22.829791"]]  (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-5"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2015-12-15 21:43:22.833053"], ["updated_at", "2015-12-15 21:43:22.833053"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:43:22.835280"], ["updated_at", "2015-12-15 21:43:22.835280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 21:43:22.839958"], ["updated_at", "2015-12-15 21:43:22.839958"]]  (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-6"]] SQL (0.3ms) 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", "2015-12-15 21:43:22.843227"], ["updated_at", "2015-12-15 21:43:22.843227"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:43:22.845236"], ["updated_at", "2015-12-15 21:43:22.845236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.4ms) 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", "2015-12-15 21:43:22.848800"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.4ms) 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 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-15 21:43:22.862668"], ["updated_at", "2015-12-15 21:43:22.862668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-15 21:43:22.868479"], ["updated_at", "2015-12-15 21:43:22.868479"]]  (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-7"]] SQL (0.1ms) 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", "2015-12-15 21:43:22.871866"], ["updated_at", "2015-12-15 21:43:22.871866"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:43:22.873799"], ["updated_at", "2015-12-15 21:43:22.873799"]]  (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", "2015-12-15 21:43:22.876123"], ["updated_at", "2015-12-15 21:43:22.876123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.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) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) 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", "2015-12-15 21:43:22.900614"], ["updated_at", "2015-12-15 21:43:22.900614"]]  (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" = 'Stark 13' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 13"], ["created_at", "2015-12-15 21:43:22.905284"], ["updated_at", "2015-12-15 21:43:22.905284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.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.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (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" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-15 21:43:22.950422"], ["updated_at", "2015-12-15 21:43:22.950422"]]  (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  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 21:43:22.963544"], ["updated_at", "2015-12-15 21:43:22.963544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.3ms) 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", "2015-12-15 21:43:22.966636"], ["updated_at", "2015-12-15 21:43:22.966636"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 21:43:22.968831"], ["updated_at", "2015-12-15 21:43:22.968831"]]  (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.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.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.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.2ms) 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.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';  (0.7ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.6ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.9ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (1.0ms) DELETE FROM "pulitzer_post_tags";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';  (1.2ms) DELETE FROM "pulitzer_post_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_types';  (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", "2015-12-15 22:29:12.544161"], ["updated_at", "2015-12-15 22:29:12.544161"]]  (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-1"]] SQL (0.5ms) 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", "2015-12-15 22:29:12.672441"], ["updated_at", "2015-12-15 22:29:12.672441"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:29:12.681975"], ["updated_at", "2015-12-15 22:29:12.681975"]]  (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", "2015-12-15 22:29:12.684905"], ["updated_at", "2015-12-15 22:29:12.684905"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 22:29:12.699192"], ["updated_at", "2015-12-15 22:29:12.699192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 22:29:12.702836"], ["updated_at", "2015-12-15 22:29:12.702836"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 22:29:12.706535"], ["updated_at", "2015-12-15 22:29:12.706535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 22:29:12.709112"], ["updated_at", "2015-12-15 22:29:12.709112"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 22:29:12.712135"], ["updated_at", "2015-12-15 22:29:12.712135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 22:29:12.714727"], ["updated_at", "2015-12-15 22:29:12.714727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.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", "2015-12-15 22:29:12.720839"], ["updated_at", "2015-12-15 22:29:12.720839"]]  (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-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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 22:29:12.723877"], ["updated_at", "2015-12-15 22:29:12.723877"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:29:12.725724"], ["updated_at", "2015-12-15 22:29:12.725724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:29:12.727413"], ["updated_at", "2015-12-15 22:29:12.727413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:29:12.732914"], ["updated_at", "2015-12-15 22:29:12.732914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:29:12.736047"], ["updated_at", "2015-12-15 22:29:12.736047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:29:12.741141"], ["updated_at", "2015-12-15 22:29:12.741141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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", "2015-12-15 22:29:12.752869"], ["updated_at", "2015-12-15 22:29:12.752869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] SQL (0.4ms) 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", "2015-12-15 22:29:12.758797"], ["updated_at", "2015-12-15 22:29:12.758797"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:29:12.762449"], ["updated_at", "2015-12-15 22:29:12.762449"]]  (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", "2015-12-15 22:29:12.764660"], ["updated_at", "2015-12-15 22:29:12.764660"]]  (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" = 'Stark 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-15 22:29:12.767906"], ["updated_at", "2015-12-15 22:29:12.767906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-15 22:29:12.772901"], ["updated_at", "2015-12-15 22:29:12.772901"]]  (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" = 'Stark 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-15 22:29:12.776760"], ["updated_at", "2015-12-15 22:29:12.776760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-15 22:29:12.780100"], ["updated_at", "2015-12-15 22:29:12.780100"]]  (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" = 'Stark 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-15 22:29:12.783683"], ["updated_at", "2015-12-15 22:29:12.783683"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-15 22:29:12.788858"], ["updated_at", "2015-12-15 22:29:12.788858"]]  (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", "2015-12-15 22:29:12.792400"], ["updated_at", "2015-12-15 22:29:12.792400"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 22:29:12.795914"], ["updated_at", "2015-12-15 22:29:12.795914"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:29:12.797821"], ["updated_at", "2015-12-15 22:29:12.797821"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:29:12.799619"], ["updated_at", "2015-12-15 22:29:12.799619"]]  (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 [["version_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:29:12.807101"], ["updated_at", "2015-12-15 22:29:12.807101"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:29:12.812755"], ["updated_at", "2015-12-15 22:29:12.812755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:29:12.816187"], ["updated_at", "2015-12-15 22:29:12.816187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] 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", 4]]  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (106.9ms) 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';  (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';  (0.8ms) 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.0ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.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.1ms) begin transaction  (0.0ms) 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", "2015-12-15 22:33:44.376275"], ["updated_at", "2015-12-15 22:33:44.376275"]]  (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-1"]] SQL (0.7ms) 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", "2015-12-15 22:33:44.534038"], ["updated_at", "2015-12-15 22:33:44.534038"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:33:44.546928"], ["updated_at", "2015-12-15 22:33:44.546928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:33:44.549607"], ["updated_at", "2015-12-15 22:33:44.549607"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 22:33:44.565488"], ["updated_at", "2015-12-15 22:33:44.565488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 22:33:44.570826"], ["updated_at", "2015-12-15 22:33:44.570826"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 22:33:44.574760"], ["updated_at", "2015-12-15 22:33:44.574760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 22:33:44.577450"], ["updated_at", "2015-12-15 22:33:44.577450"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 22:33:44.581585"], ["updated_at", "2015-12-15 22:33:44.581585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 22:33:44.584689"], ["updated_at", "2015-12-15 22:33:44.584689"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (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", "2015-12-15 22:33:44.591602"], ["updated_at", "2015-12-15 22:33:44.591602"]]  (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-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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 22:33:44.596054"], ["updated_at", "2015-12-15 22:33:44.596054"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:33:44.598207"], ["updated_at", "2015-12-15 22:33:44.598207"]]  (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", 2], ["created_at", "2015-12-15 22:33:44.600364"], ["updated_at", "2015-12-15 22:33:44.600364"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] Pulitzer::ContentElement Load (0.8ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:33:44.608937"], ["updated_at", "2015-12-15 22:33:44.608937"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:33:44.616000"], ["updated_at", "2015-12-15 22:33:44.616000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:33:44.621347"], ["updated_at", "2015-12-15 22:33:44.621347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (2444.0ms) rollback transaction  (0.1ms) 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", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:33:47.088651"], ["updated_at", "2015-12-15 22:33:47.088651"]]  (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-3"]] SQL (0.4ms) 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", "2015-12-15 22:33:47.093948"], ["updated_at", "2015-12-15 22:33:47.093948"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:33:47.097736"], ["updated_at", "2015-12-15 22:33:47.097736"]]  (0.2ms) 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", "2015-12-15 22:33:47.100916"], ["updated_at", "2015-12-15 22:33:47.100916"]]  (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" = 'Stark 4' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-15 22:33:47.106631"], ["updated_at", "2015-12-15 22:33:47.106631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-15 22:33:47.111515"], ["updated_at", "2015-12-15 22:33:47.111515"]]  (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" = 'Stark 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-15 22:33:47.117358"], ["updated_at", "2015-12-15 22:33:47.117358"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-15 22:33:47.124389"], ["updated_at", "2015-12-15 22:33:47.124389"]]  (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" = 'Stark 6' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-15 22:33:47.131424"], ["updated_at", "2015-12-15 22:33:47.131424"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-15 22:33:47.140001"], ["updated_at", "2015-12-15 22:33:47.140001"]]  (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", "2015-12-15 22:33:47.144501"], ["updated_at", "2015-12-15 22:33:47.144501"]]  (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", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 22:33:47.148863"], ["updated_at", "2015-12-15 22:33:47.148863"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:33:47.152932"], ["updated_at", "2015-12-15 22:33:47.152932"]]  (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", 2], ["created_at", "2015-12-15 22:33:47.156949"], ["updated_at", "2015-12-15 22:33:47.156949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:33:47.162840"], ["updated_at", "2015-12-15 22:33:47.162840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:33:47.167210"], ["updated_at", "2015-12-15 22:33:47.167210"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:33:47.172707"], ["updated_at", "2015-12-15 22:33:47.172707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] 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", 4]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (585.6ms) 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.9ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (1.2ms) 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.3ms) 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.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", "2015-12-15 22:39:44.067763"], ["updated_at", "2015-12-15 22:39:44.067763"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 22:39:44.181493"], ["updated_at", "2015-12-15 22:39:44.181493"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:39:44.189265"], ["updated_at", "2015-12-15 22:39:44.189265"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:39:44.191534"], ["updated_at", "2015-12-15 22:39:44.191534"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 22:39:44.205221"], ["updated_at", "2015-12-15 22:39:44.205221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 22:39:44.208179"], ["updated_at", "2015-12-15 22:39:44.208179"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 22:39:44.210875"], ["updated_at", "2015-12-15 22:39:44.210875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 22:39:44.212705"], ["updated_at", "2015-12-15 22:39:44.212705"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 22:39:44.215144"], ["updated_at", "2015-12-15 22:39:44.215144"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 22:39:44.216948"], ["updated_at", "2015-12-15 22:39:44.216948"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:39:44.221501"], ["updated_at", "2015-12-15 22:39:44.221501"]]  (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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 22:39:44.223585"], ["updated_at", "2015-12-15 22:39:44.223585"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:39:44.225015"], ["updated_at", "2015-12-15 22:39:44.225015"]]  (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", 2], ["created_at", "2015-12-15 22:39:44.226286"], ["updated_at", "2015-12-15 22:39:44.226286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:39:44.230183"], ["updated_at", "2015-12-15 22:39:44.230183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:39:44.232466"], ["updated_at", "2015-12-15 22:39:44.232466"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:39:44.234697"], ["updated_at", "2015-12-15 22:39:44.234697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (434.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", "2015-12-15 22:39:44.678880"], ["updated_at", "2015-12-15 22:39:44.678880"]]  (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-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-15 22:39:44.682330"], ["updated_at", "2015-12-15 22:39:44.682330"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:39:44.684770"], ["updated_at", "2015-12-15 22:39:44.684770"]]  (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", "2015-12-15 22:39:44.686347"], ["updated_at", "2015-12-15 22:39:44.686347"]]  (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" = 'Stark 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-15 22:39:44.688859"], ["updated_at", "2015-12-15 22:39:44.688859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-15 22:39:44.690636"], ["updated_at", "2015-12-15 22:39:44.690636"]]  (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" = 'Stark 5' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-15 22:39:44.693247"], ["updated_at", "2015-12-15 22:39:44.693247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-15 22:39:44.694996"], ["updated_at", "2015-12-15 22:39:44.694996"]]  (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" = 'Stark 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-15 22:39:44.697545"], ["updated_at", "2015-12-15 22:39:44.697545"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-15 22:39:44.700400"], ["updated_at", "2015-12-15 22:39:44.700400"]]  (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", "2015-12-15 22:39:44.703336"], ["updated_at", "2015-12-15 22:39:44.703336"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 22:39:44.705547"], ["updated_at", "2015-12-15 22:39:44.705547"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:39:44.707155"], ["updated_at", "2015-12-15 22:39:44.707155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:39:44.708648"], ["updated_at", "2015-12-15 22:39:44.708648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:39:44.712615"], ["updated_at", "2015-12-15 22:39:44.712615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:39:44.715500"], ["updated_at", "2015-12-15 22:39:44.715500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:39:44.719274"], ["updated_at", "2015-12-15 22:39:44.719274"]]  (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]] 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", 4]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (585.4ms) 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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.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", "2015-12-15 22:39:59.376472"], ["updated_at", "2015-12-15 22:39:59.376472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 22:39:59.488325"], ["updated_at", "2015-12-15 22:39:59.488325"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:39:59.496678"], ["updated_at", "2015-12-15 22:39:59.496678"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:39:59.498817"], ["updated_at", "2015-12-15 22:39:59.498817"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 22:39:59.511426"], ["updated_at", "2015-12-15 22:39:59.511426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 22:39:59.514275"], ["updated_at", "2015-12-15 22:39:59.514275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 2' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 22:39:59.516826"], ["updated_at", "2015-12-15 22:39:59.516826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 22:39:59.518500"], ["updated_at", "2015-12-15 22:39:59.518500"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 22:39:59.520797"], ["updated_at", "2015-12-15 22:39:59.520797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 22:39:59.522460"], ["updated_at", "2015-12-15 22:39:59.522460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:39:59.526883"], ["updated_at", "2015-12-15 22:39:59.526883"]]  (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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 22:39:59.528908"], ["updated_at", "2015-12-15 22:39:59.528908"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:39:59.530295"], ["updated_at", "2015-12-15 22:39:59.530295"]]  (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", 2], ["created_at", "2015-12-15 22:39:59.531520"], ["updated_at", "2015-12-15 22:39:59.531520"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:39:59.535411"], ["updated_at", "2015-12-15 22:39:59.535411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:39:59.537636"], ["updated_at", "2015-12-15 22:39:59.537636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:39:59.539812"], ["updated_at", "2015-12-15 22:39:59.539812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (424.9ms) 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", "2015-12-15 22:39:59.974591"], ["updated_at", "2015-12-15 22:39:59.974591"]]  (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.4ms) 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", "2015-12-15 22:39:59.977632"], ["updated_at", "2015-12-15 22:39:59.977632"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:39:59.980072"], ["updated_at", "2015-12-15 22:39:59.980072"]]  (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", "2015-12-15 22:39:59.981725"], ["updated_at", "2015-12-15 22:39:59.981725"]]  (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" = 'Stark 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-15 22:39:59.984557"], ["updated_at", "2015-12-15 22:39:59.984557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-15 22:39:59.986516"], ["updated_at", "2015-12-15 22:39:59.986516"]]  (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" = 'Stark 5' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-15 22:39:59.988839"], ["updated_at", "2015-12-15 22:39:59.988839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-15 22:39:59.990991"], ["updated_at", "2015-12-15 22:39:59.990991"]]  (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" = 'Stark 6' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-15 22:39:59.993429"], ["updated_at", "2015-12-15 22:39:59.993429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-15 22:39:59.995106"], ["updated_at", "2015-12-15 22:39:59.995106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:39:59.997103"], ["updated_at", "2015-12-15 22:39:59.997103"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 22:39:59.998902"], ["updated_at", "2015-12-15 22:39:59.998902"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:40:00.000208"], ["updated_at", "2015-12-15 22:40:00.000208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:40:00.001621"], ["updated_at", "2015-12-15 22:40:00.001621"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:40:00.009489"], ["updated_at", "2015-12-15 22:40:00.009489"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:40:00.014891"], ["updated_at", "2015-12-15 22:40:00.014891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:40:00.018067"], ["updated_at", "2015-12-15 22:40:00.018067"]]  (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]] 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", 4]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (282.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';  (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.9ms) 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.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.7ms) 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.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", "2015-12-15 22:42:28.867308"], ["updated_at", "2015-12-15 22:42:28.867308"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 22:42:28.973579"], ["updated_at", "2015-12-15 22:42:28.973579"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:42:28.980868"], ["updated_at", "2015-12-15 22:42:28.980868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:42:28.982901"], ["updated_at", "2015-12-15 22:42:28.982901"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 22:42:28.998908"], ["updated_at", "2015-12-15 22:42:28.998908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 22:42:29.002863"], ["updated_at", "2015-12-15 22:42:29.002863"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 22:42:29.006339"], ["updated_at", "2015-12-15 22:42:29.006339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 22:42:29.008273"], ["updated_at", "2015-12-15 22:42:29.008273"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 22:42:29.010831"], ["updated_at", "2015-12-15 22:42:29.010831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 22:42:29.012625"], ["updated_at", "2015-12-15 22:42:29.012625"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:42:29.017220"], ["updated_at", "2015-12-15 22:42:29.017220"]]  (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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 22:42:29.019262"], ["updated_at", "2015-12-15 22:42:29.019262"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:42:29.020659"], ["updated_at", "2015-12-15 22:42:29.020659"]]  (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", 2], ["created_at", "2015-12-15 22:42:29.021953"], ["updated_at", "2015-12-15 22:42:29.021953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:42:29.025851"], ["updated_at", "2015-12-15 22:42:29.025851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:42:29.028141"], ["updated_at", "2015-12-15 22:42:29.028141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:42:29.030311"], ["updated_at", "2015-12-15 22:42:29.030311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (1256.8ms) 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", "2015-12-15 22:42:30.297851"], ["updated_at", "2015-12-15 22:42:30.297851"]]  (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-3"]] SQL (0.4ms) 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", "2015-12-15 22:42:30.302731"], ["updated_at", "2015-12-15 22:42:30.302731"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:42:30.305156"], ["updated_at", "2015-12-15 22:42:30.305156"]]  (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", "2015-12-15 22:42:30.306953"], ["updated_at", "2015-12-15 22:42:30.306953"]]  (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" = 'Stark 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-15 22:42:30.309751"], ["updated_at", "2015-12-15 22:42:30.309751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-15 22:42:30.312331"], ["updated_at", "2015-12-15 22:42:30.312331"]]  (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" = 'Stark 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-15 22:42:30.316071"], ["updated_at", "2015-12-15 22:42:30.316071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-15 22:42:30.318024"], ["updated_at", "2015-12-15 22:42:30.318024"]]  (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" = 'Stark 6' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-15 22:42:30.320527"], ["updated_at", "2015-12-15 22:42:30.320527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-15 22:42:30.322334"], ["updated_at", "2015-12-15 22:42:30.322334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:42:30.324512"], ["updated_at", "2015-12-15 22:42:30.324512"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 22:42:30.326422"], ["updated_at", "2015-12-15 22:42:30.326422"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:42:30.327789"], ["updated_at", "2015-12-15 22:42:30.327789"]]  (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", 2], ["created_at", "2015-12-15 22:42:30.329070"], ["updated_at", "2015-12-15 22:42:30.329070"]]  (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 [["version_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:42:30.333948"], ["updated_at", "2015-12-15 22:42:30.333948"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:42:30.336570"], ["updated_at", "2015-12-15 22:42:30.336570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:42:30.338896"], ["updated_at", "2015-12-15 22:42:30.338896"]]  (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]] 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", 4]]  (152.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1040.4ms) 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.1ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.0ms) 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';  (0.9ms) 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.0ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.6ms) 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.0ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (0.9ms) 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.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.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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", "2015-12-15 22:42:43.564427"], ["updated_at", "2015-12-15 22:42:43.564427"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 22:42:43.677667"], ["updated_at", "2015-12-15 22:42:43.677667"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:42:43.685049"], ["updated_at", "2015-12-15 22:42:43.685049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:42:43.687088"], ["updated_at", "2015-12-15 22:42:43.687088"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 22:42:43.701021"], ["updated_at", "2015-12-15 22:42:43.701021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 22:42:43.703897"], ["updated_at", "2015-12-15 22:42:43.703897"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 22:42:43.707449"], ["updated_at", "2015-12-15 22:42:43.707449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 22:42:43.710067"], ["updated_at", "2015-12-15 22:42:43.710067"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 22:42:43.713946"], ["updated_at", "2015-12-15 22:42:43.713946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 22:42:43.715856"], ["updated_at", "2015-12-15 22:42:43.715856"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:42:43.720684"], ["updated_at", "2015-12-15 22:42:43.720684"]]  (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-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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 22:42:43.724061"], ["updated_at", "2015-12-15 22:42:43.724061"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:42:43.725936"], ["updated_at", "2015-12-15 22:42:43.725936"]]  (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", 2], ["created_at", "2015-12-15 22:42:43.727558"], ["updated_at", "2015-12-15 22:42:43.727558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:42:43.732546"], ["updated_at", "2015-12-15 22:42:43.732546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:42:43.735148"], ["updated_at", "2015-12-15 22:42:43.735148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:42:43.737482"], ["updated_at", "2015-12-15 22:42:43.737482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (184.3ms) 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", "2015-12-15 22:42:43.931969"], ["updated_at", "2015-12-15 22:42:43.931969"]]  (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-3"]] SQL (0.5ms) 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", "2015-12-15 22:42:43.935132"], ["updated_at", "2015-12-15 22:42:43.935132"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:42:43.937822"], ["updated_at", "2015-12-15 22:42:43.937822"]]  (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", "2015-12-15 22:42:43.939579"], ["updated_at", "2015-12-15 22:42:43.939579"]]  (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" = 'Stark 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-15 22:42:43.942590"], ["updated_at", "2015-12-15 22:42:43.942590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-15 22:42:43.944733"], ["updated_at", "2015-12-15 22:42:43.944733"]]  (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" = 'Stark 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-15 22:42:43.948367"], ["updated_at", "2015-12-15 22:42:43.948367"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-15 22:42:43.950583"], ["updated_at", "2015-12-15 22:42:43.950583"]]  (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" = 'Stark 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-15 22:42:43.953294"], ["updated_at", "2015-12-15 22:42:43.953294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-15 22:42:43.955147"], ["updated_at", "2015-12-15 22:42:43.955147"]]  (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", "2015-12-15 22:42:43.957391"], ["updated_at", "2015-12-15 22:42:43.957391"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 22:42:43.959377"], ["updated_at", "2015-12-15 22:42:43.959377"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:42:43.960785"], ["updated_at", "2015-12-15 22:42:43.960785"]]  (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", 2], ["created_at", "2015-12-15 22:42:43.962046"], ["updated_at", "2015-12-15 22:42:43.962046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:42:43.966294"], ["updated_at", "2015-12-15 22:42:43.966294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:42:43.969951"], ["updated_at", "2015-12-15 22:42:43.969951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:42:43.974654"], ["updated_at", "2015-12-15 22:42:43.974654"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] 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", 4]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (283.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';  (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.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.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) 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_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.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.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.1ms) begin transaction  (0.0ms) 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", "2015-12-15 22:43:09.206344"], ["updated_at", "2015-12-15 22:43:09.206344"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 22:43:09.314069"], ["updated_at", "2015-12-15 22:43:09.314069"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:43:09.321392"], ["updated_at", "2015-12-15 22:43:09.321392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:43:09.323427"], ["updated_at", "2015-12-15 22:43:09.323427"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 22:43:09.336318"], ["updated_at", "2015-12-15 22:43:09.336318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 22:43:09.339357"], ["updated_at", "2015-12-15 22:43:09.339357"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 22:43:09.342019"], ["updated_at", "2015-12-15 22:43:09.342019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 22:43:09.343796"], ["updated_at", "2015-12-15 22:43:09.343796"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 22:43:09.346115"], ["updated_at", "2015-12-15 22:43:09.346115"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 22:43:09.347765"], ["updated_at", "2015-12-15 22:43:09.347765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:43:09.352136"], ["updated_at", "2015-12-15 22:43:09.352136"]]  (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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 22:43:09.354171"], ["updated_at", "2015-12-15 22:43:09.354171"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:43:09.355534"], ["updated_at", "2015-12-15 22:43:09.355534"]]  (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", 2], ["created_at", "2015-12-15 22:43:09.356739"], ["updated_at", "2015-12-15 22:43:09.356739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:43:09.360416"], ["updated_at", "2015-12-15 22:43:09.360416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:43:09.362582"], ["updated_at", "2015-12-15 22:43:09.362582"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:43:09.364731"], ["updated_at", "2015-12-15 22:43:09.364731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (1417.3ms) 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", "2015-12-15 22:43:10.792643"], ["updated_at", "2015-12-15 22:43:10.792643"]]  (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.4ms) 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", "2015-12-15 22:43:10.795714"], ["updated_at", "2015-12-15 22:43:10.795714"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:43:10.798241"], ["updated_at", "2015-12-15 22:43:10.798241"]]  (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", "2015-12-15 22:43:10.799997"], ["updated_at", "2015-12-15 22:43:10.799997"]]  (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" = 'Stark 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-15 22:43:10.802618"], ["updated_at", "2015-12-15 22:43:10.802618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-15 22:43:10.804601"], ["updated_at", "2015-12-15 22:43:10.804601"]]  (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" = 'Stark 5' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-15 22:43:10.807110"], ["updated_at", "2015-12-15 22:43:10.807110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-15 22:43:10.808823"], ["updated_at", "2015-12-15 22:43:10.808823"]]  (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" = 'Stark 6' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-15 22:43:10.811068"], ["updated_at", "2015-12-15 22:43:10.811068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-15 22:43:10.812780"], ["updated_at", "2015-12-15 22:43:10.812780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:43:10.814853"], ["updated_at", "2015-12-15 22:43:10.814853"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 22:43:10.816676"], ["updated_at", "2015-12-15 22:43:10.816676"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:43:10.817997"], ["updated_at", "2015-12-15 22:43:10.817997"]]  (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", 2], ["created_at", "2015-12-15 22:43:10.819268"], ["updated_at", "2015-12-15 22:43:10.819268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:43:10.822480"], ["updated_at", "2015-12-15 22:43:10.822480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:43:10.824831"], ["updated_at", "2015-12-15 22:43:10.824831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:43:10.827683"], ["updated_at", "2015-12-15 22:43:10.827683"]]  (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]] 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", 4]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2319.6ms) 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.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.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) 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';  (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.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.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", "2015-12-15 22:45:02.012193"], ["updated_at", "2015-12-15 22:45:02.012193"]]  (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-1"]] SQL (0.5ms) 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", "2015-12-15 22:45:02.116175"], ["updated_at", "2015-12-15 22:45:02.116175"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:45:02.126475"], ["updated_at", "2015-12-15 22:45:02.126475"]]  (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", "2015-12-15 22:45:02.129640"], ["updated_at", "2015-12-15 22:45:02.129640"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 22:45:02.142697"], ["updated_at", "2015-12-15 22:45:02.142697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 22:45:02.145680"], ["updated_at", "2015-12-15 22:45:02.145680"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 22:45:02.148464"], ["updated_at", "2015-12-15 22:45:02.148464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 22:45:02.150223"], ["updated_at", "2015-12-15 22:45:02.150223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Stark 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 22:45:02.152490"], ["updated_at", "2015-12-15 22:45:02.152490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 22:45:02.154144"], ["updated_at", "2015-12-15 22:45:02.154144"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:45:02.158546"], ["updated_at", "2015-12-15 22:45:02.158546"]]  (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-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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 22:45:02.160770"], ["updated_at", "2015-12-15 22:45:02.160770"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:45:02.162265"], ["updated_at", "2015-12-15 22:45:02.162265"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:45:02.163620"], ["updated_at", "2015-12-15 22:45:02.163620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] Pulitzer::ContentElement Load (0.4ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:45:02.168316"], ["updated_at", "2015-12-15 22:45:02.168316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:45:02.170578"], ["updated_at", "2015-12-15 22:45:02.170578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:45:02.172711"], ["updated_at", "2015-12-15 22:45:02.172711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (327.5ms) 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", "2015-12-15 22:45:02.509812"], ["updated_at", "2015-12-15 22:45:02.509812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-15 22:45:02.512647"], ["updated_at", "2015-12-15 22:45:02.512647"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:45:02.515320"], ["updated_at", "2015-12-15 22:45:02.515320"]]  (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", "2015-12-15 22:45:02.517098"], ["updated_at", "2015-12-15 22:45:02.517098"]]  (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" = 'Stark 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-15 22:45:02.519687"], ["updated_at", "2015-12-15 22:45:02.519687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-15 22:45:02.524044"], ["updated_at", "2015-12-15 22:45:02.524044"]]  (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" = 'Stark 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-15 22:45:02.529892"], ["updated_at", "2015-12-15 22:45:02.529892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-15 22:45:02.532318"], ["updated_at", "2015-12-15 22:45:02.532318"]]  (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" = 'Stark 6' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-15 22:45:02.535105"], ["updated_at", "2015-12-15 22:45:02.535105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-15 22:45:02.536796"], ["updated_at", "2015-12-15 22:45:02.536796"]]  (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", "2015-12-15 22:45:02.538872"], ["updated_at", "2015-12-15 22:45:02.538872"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 22:45:02.541953"], ["updated_at", "2015-12-15 22:45:02.541953"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:45:02.544645"], ["updated_at", "2015-12-15 22:45:02.544645"]]  (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", 2], ["created_at", "2015-12-15 22:45:02.546622"], ["updated_at", "2015-12-15 22:45:02.546622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:45:02.549958"], ["updated_at", "2015-12-15 22:45:02.549958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:45:02.552552"], ["updated_at", "2015-12-15 22:45:02.552552"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:45:02.554769"], ["updated_at", "2015-12-15 22:45:02.554769"]]  (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]] 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", 4]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (94.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.9ms) 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.6ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.8ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.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.0ms) begin transaction  (0.0ms) 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", "2015-12-15 22:45:44.600095"], ["updated_at", "2015-12-15 22:45:44.600095"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 22:45:44.711897"], ["updated_at", "2015-12-15 22:45:44.711897"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:45:44.720198"], ["updated_at", "2015-12-15 22:45:44.720198"]]  (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", "2015-12-15 22:45:44.723158"], ["updated_at", "2015-12-15 22:45:44.723158"]]  (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" = 'Stark 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 1"], ["created_at", "2015-12-15 22:45:44.737719"], ["updated_at", "2015-12-15 22:45:44.737719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 22:45:44.740503"], ["updated_at", "2015-12-15 22:45:44.740503"]]  (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" = 'Stark 2' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 2"], ["created_at", "2015-12-15 22:45:44.743033"], ["updated_at", "2015-12-15 22:45:44.743033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 22:45:44.744728"], ["updated_at", "2015-12-15 22:45:44.744728"]]  (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" = 'Stark 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 3"], ["created_at", "2015-12-15 22:45:44.747027"], ["updated_at", "2015-12-15 22:45:44.747027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 22:45:44.748720"], ["updated_at", "2015-12-15 22:45:44.748720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:45:44.753077"], ["updated_at", "2015-12-15 22:45:44.753077"]]  (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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 22:45:44.755092"], ["updated_at", "2015-12-15 22:45:44.755092"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:45:44.756461"], ["updated_at", "2015-12-15 22:45:44.756461"]]  (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", 2], ["created_at", "2015-12-15 22:45:44.757684"], ["updated_at", "2015-12-15 22:45:44.757684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:45:44.761457"], ["updated_at", "2015-12-15 22:45:44.761457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:45:44.763715"], ["updated_at", "2015-12-15 22:45:44.763715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:45:44.765913"], ["updated_at", "2015-12-15 22:45:44.765913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (898.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", "2015-12-15 22:45:45.673329"], ["updated_at", "2015-12-15 22:45:45.673329"]]  (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-3"]] SQL (0.5ms) 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", "2015-12-15 22:45:45.677310"], ["updated_at", "2015-12-15 22:45:45.677310"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:45:45.680335"], ["updated_at", "2015-12-15 22:45:45.680335"]]  (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", "2015-12-15 22:45:45.682068"], ["updated_at", "2015-12-15 22:45:45.682068"]]  (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" = 'Stark 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 4"], ["created_at", "2015-12-15 22:45:45.685132"], ["updated_at", "2015-12-15 22:45:45.685132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-15 22:45:45.687840"], ["updated_at", "2015-12-15 22:45:45.687840"]]  (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" = 'Stark 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 5"], ["created_at", "2015-12-15 22:45:45.691411"], ["updated_at", "2015-12-15 22:45:45.691411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-15 22:45:45.693322"], ["updated_at", "2015-12-15 22:45:45.693322"]]  (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" = 'Stark 6' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Stark 6"], ["created_at", "2015-12-15 22:45:45.695711"], ["updated_at", "2015-12-15 22:45:45.695711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-15 22:45:45.697395"], ["updated_at", "2015-12-15 22:45:45.697395"]]  (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", "2015-12-15 22:45:45.700322"], ["updated_at", "2015-12-15 22:45:45.700322"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 22:45:45.703033"], ["updated_at", "2015-12-15 22:45:45.703033"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:45:45.704396"], ["updated_at", "2015-12-15 22:45:45.704396"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:45:45.705700"], ["updated_at", "2015-12-15 22:45:45.705700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:45:45.709564"], ["updated_at", "2015-12-15 22:45:45.709564"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:45:45.711833"], ["updated_at", "2015-12-15 22:45:45.711833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:45:45.714019"], ["updated_at", "2015-12-15 22:45:45.714019"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] 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", 4]] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1834.0ms) 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.8ms) DELETE FROM "pulitzer_posts";  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.1ms) 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.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';  (0.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.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.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", "2015-12-15 22:46:37.829068"], ["updated_at", "2015-12-15 22:46:37.829068"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 22:46:37.933736"], ["updated_at", "2015-12-15 22:46:37.933736"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:46:37.941200"], ["updated_at", "2015-12-15 22:46:37.941200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:46:37.943219"], ["updated_at", "2015-12-15 22:46:37.943219"]]  (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 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-15 22:46:37.955812"], ["updated_at", "2015-12-15 22:46:37.955812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 22:46:37.958615"], ["updated_at", "2015-12-15 22:46:37.958615"]]  (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", "2015-12-15 22:46:37.961101"], ["updated_at", "2015-12-15 22:46:37.961101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 22:46:37.962769"], ["updated_at", "2015-12-15 22:46:37.962769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-15 22:46:37.965045"], ["updated_at", "2015-12-15 22:46:37.965045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 22:46:37.966703"], ["updated_at", "2015-12-15 22:46:37.966703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:46:37.971085"], ["updated_at", "2015-12-15 22:46:37.971085"]]  (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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 22:46:37.973107"], ["updated_at", "2015-12-15 22:46:37.973107"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:46:37.974485"], ["updated_at", "2015-12-15 22:46:37.974485"]]  (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", 2], ["created_at", "2015-12-15 22:46:37.975702"], ["updated_at", "2015-12-15 22:46:37.975702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:46:37.979486"], ["updated_at", "2015-12-15 22:46:37.979486"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:46:37.981691"], ["updated_at", "2015-12-15 22:46:37.981691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:46:37.983826"], ["updated_at", "2015-12-15 22:46:37.983826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (63.9ms) 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", "2015-12-15 22:46:38.057444"], ["updated_at", "2015-12-15 22:46:38.057444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-15 22:46:38.060401"], ["updated_at", "2015-12-15 22:46:38.060401"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:46:38.062816"], ["updated_at", "2015-12-15 22:46:38.062816"]]  (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", "2015-12-15 22:46:38.064545"], ["updated_at", "2015-12-15 22:46:38.064545"]]  (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 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-15 22:46:38.067087"], ["updated_at", "2015-12-15 22:46:38.067087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-15 22:46:38.069248"], ["updated_at", "2015-12-15 22:46:38.069248"]]  (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.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2015-12-15 22:46:38.072318"], ["updated_at", "2015-12-15 22:46:38.072318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-15 22:46:38.074273"], ["updated_at", "2015-12-15 22:46:38.074273"]]  (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 6' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-15 22:46:38.076683"], ["updated_at", "2015-12-15 22:46:38.076683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-15 22:46:38.078337"], ["updated_at", "2015-12-15 22:46:38.078337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:46:38.080409"], ["updated_at", "2015-12-15 22:46:38.080409"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 22:46:38.082208"], ["updated_at", "2015-12-15 22:46:38.082208"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:46:38.083497"], ["updated_at", "2015-12-15 22:46:38.083497"]]  (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", 2], ["created_at", "2015-12-15 22:46:38.084739"], ["updated_at", "2015-12-15 22:46:38.084739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:46:38.087919"], ["updated_at", "2015-12-15 22:46:38.087919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:46:38.090583"], ["updated_at", "2015-12-15 22:46:38.090583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:46:38.092924"], ["updated_at", "2015-12-15 22:46:38.092924"]]  (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]] 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", 4]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (545.3ms) 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.9ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) 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';  (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.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.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.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", "2015-12-15 22:47:19.213301"], ["updated_at", "2015-12-15 22:47:19.213301"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 22:47:19.316064"], ["updated_at", "2015-12-15 22:47:19.316064"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:47:19.323472"], ["updated_at", "2015-12-15 22:47:19.323472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:47:19.325514"], ["updated_at", "2015-12-15 22:47:19.325514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-15 22:47:19.338257"], ["updated_at", "2015-12-15 22:47:19.338257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 22:47:19.341155"], ["updated_at", "2015-12-15 22:47:19.341155"]]  (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", "2015-12-15 22:47:19.343752"], ["updated_at", "2015-12-15 22:47:19.343752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 22:47:19.345471"], ["updated_at", "2015-12-15 22:47:19.345471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-15 22:47:19.347790"], ["updated_at", "2015-12-15 22:47:19.347790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 22:47:19.349525"], ["updated_at", "2015-12-15 22:47:19.349525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:47:19.353969"], ["updated_at", "2015-12-15 22:47:19.353969"]]  (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-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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 22:47:19.356522"], ["updated_at", "2015-12-15 22:47:19.356522"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:47:19.358814"], ["updated_at", "2015-12-15 22:47:19.358814"]]  (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", 2], ["created_at", "2015-12-15 22:47:19.360592"], ["updated_at", "2015-12-15 22:47:19.360592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:47:19.365475"], ["updated_at", "2015-12-15 22:47:19.365475"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:47:19.368089"], ["updated_at", "2015-12-15 22:47:19.368089"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:47:19.370573"], ["updated_at", "2015-12-15 22:47:19.370573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (1096.1ms) rollback transaction  (0.2ms) 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", "2015-12-15 22:47:20.476338"], ["updated_at", "2015-12-15 22:47:20.476338"]]  (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-3"]] SQL (0.6ms) 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", "2015-12-15 22:47:20.480120"], ["updated_at", "2015-12-15 22:47:20.480120"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:47:20.484156"], ["updated_at", "2015-12-15 22:47:20.484156"]]  (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", "2015-12-15 22:47:20.487935"], ["updated_at", "2015-12-15 22:47:20.487935"]]  (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", "2015-12-15 22:47:20.493113"], ["updated_at", "2015-12-15 22:47:20.493113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-15 22:47:20.495753"], ["updated_at", "2015-12-15 22:47:20.495753"]]  (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.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2015-12-15 22:47:20.498942"], ["updated_at", "2015-12-15 22:47:20.498942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-15 22:47:20.501912"], ["updated_at", "2015-12-15 22:47:20.501912"]]  (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 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-15 22:47:20.505732"], ["updated_at", "2015-12-15 22:47:20.505732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-15 22:47:20.509042"], ["updated_at", "2015-12-15 22:47:20.509042"]]  (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", "2015-12-15 22:47:20.513442"], ["updated_at", "2015-12-15 22:47:20.513442"]]  (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-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", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 22:47:20.515867"], ["updated_at", "2015-12-15 22:47:20.515867"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:47:20.520612"], ["updated_at", "2015-12-15 22:47:20.520612"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:47:20.523849"], ["updated_at", "2015-12-15 22:47:20.523849"]]  (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 [["version_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:47:20.528030"], ["updated_at", "2015-12-15 22:47:20.528030"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:47:20.531106"], ["updated_at", "2015-12-15 22:47:20.531106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:47:20.535164"], ["updated_at", "2015-12-15 22:47:20.535164"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 4]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (342.4ms) DELETE FROM "pulitzer_content_element_types";  (0.4ms) 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.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';  (1.3ms) 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';  (0.9ms) 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.3ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.8ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (2.2ms) 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.5ms) 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.1ms) 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", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:47:33.552619"], ["updated_at", "2015-12-15 22:47:33.552619"]]  (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-1"]] SQL (0.5ms) 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", "2015-12-15 22:47:33.722530"], ["updated_at", "2015-12-15 22:47:33.722530"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:47:33.735663"], ["updated_at", "2015-12-15 22:47:33.735663"]]  (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", "2015-12-15 22:47:33.738600"], ["updated_at", "2015-12-15 22:47:33.738600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-15 22:47:33.752976"], ["updated_at", "2015-12-15 22:47:33.752976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 22:47:33.756680"], ["updated_at", "2015-12-15 22:47:33.756680"]]  (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 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2015-12-15 22:47:33.760430"], ["updated_at", "2015-12-15 22:47:33.760430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 22:47:33.762783"], ["updated_at", "2015-12-15 22:47:33.762783"]]  (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", "2015-12-15 22:47:33.766207"], ["updated_at", "2015-12-15 22:47:33.766207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 22:47:33.768681"], ["updated_at", "2015-12-15 22:47:33.768681"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (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", "2015-12-15 22:47:33.774459"], ["updated_at", "2015-12-15 22:47:33.774459"]]  (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-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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 22:47:33.777275"], ["updated_at", "2015-12-15 22:47:33.777275"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:47:33.779195"], ["updated_at", "2015-12-15 22:47:33.779195"]]  (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", 2], ["created_at", "2015-12-15 22:47:33.781234"], ["updated_at", "2015-12-15 22:47:33.781234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] 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", 2]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:47:33.786773"], ["updated_at", "2015-12-15 22:47:33.786773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:47:33.790085"], ["updated_at", "2015-12-15 22:47:33.790085"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:47:33.793270"], ["updated_at", "2015-12-15 22:47:33.793270"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (823.8ms) 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", "2015-12-15 22:47:34.629616"], ["updated_at", "2015-12-15 22:47:34.629616"]]  (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-3"]] SQL (0.4ms) 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", "2015-12-15 22:47:34.633836"], ["updated_at", "2015-12-15 22:47:34.633836"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:47:34.636780"], ["updated_at", "2015-12-15 22:47:34.636780"]]  (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", "2015-12-15 22:47:34.638879"], ["updated_at", "2015-12-15 22:47:34.638879"]]  (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 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-15 22:47:34.642017"], ["updated_at", "2015-12-15 22:47:34.642017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-15 22:47:34.644399"], ["updated_at", "2015-12-15 22:47:34.644399"]]  (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 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2015-12-15 22:47:34.648261"], ["updated_at", "2015-12-15 22:47:34.648261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-15 22:47:34.650722"], ["updated_at", "2015-12-15 22:47:34.650722"]]  (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 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-15 22:47:34.653931"], ["updated_at", "2015-12-15 22:47:34.653931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-15 22:47:34.656869"], ["updated_at", "2015-12-15 22:47:34.656869"]]  (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", "2015-12-15 22:47:34.660069"], ["updated_at", "2015-12-15 22:47:34.660069"]]  (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.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 22:47:34.663383"], ["updated_at", "2015-12-15 22:47:34.663383"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:47:34.667008"], ["updated_at", "2015-12-15 22:47:34.667008"]]  (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", 2], ["created_at", "2015-12-15 22:47:34.669167"], ["updated_at", "2015-12-15 22:47:34.669167"]]  (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 [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:47:34.673645"], ["updated_at", "2015-12-15 22:47:34.673645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:47:34.677560"], ["updated_at", "2015-12-15 22:47:34.677560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:47:34.681969"], ["updated_at", "2015-12-15 22:47:34.681969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 4]] Pulitzer::ContentElementType Load (0.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1998.5ms) 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';  (3.0ms) 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.1ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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';  (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.0ms) 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", "2015-12-15 22:50:22.882068"], ["updated_at", "2015-12-15 22:50:22.882068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 22:50:22.987379"], ["updated_at", "2015-12-15 22:50:22.987379"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:22.994634"], ["updated_at", "2015-12-15 22:50:22.994634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:22.996677"], ["updated_at", "2015-12-15 22:50:22.996677"]]  (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 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-15 22:50:23.012168"], ["updated_at", "2015-12-15 22:50:23.012168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:23.015037"], ["updated_at", "2015-12-15 22:50:23.015037"]]  (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", "2015-12-15 22:50:23.017569"], ["updated_at", "2015-12-15 22:50:23.017569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:23.019227"], ["updated_at", "2015-12-15 22:50:23.019227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-15 22:50:23.021532"], ["updated_at", "2015-12-15 22:50:23.021532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:23.023166"], ["updated_at", "2015-12-15 22:50:23.023166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:50:23.027607"], ["updated_at", "2015-12-15 22:50:23.027607"]]  (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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 22:50:23.029677"], ["updated_at", "2015-12-15 22:50:23.029677"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:50:23.031062"], ["updated_at", "2015-12-15 22:50:23.031062"]]  (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", 2], ["created_at", "2015-12-15 22:50:23.032279"], ["updated_at", "2015-12-15 22:50:23.032279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:23.036098"], ["updated_at", "2015-12-15 22:50:23.036098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:23.038368"], ["updated_at", "2015-12-15 22:50:23.038368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:23.040505"], ["updated_at", "2015-12-15 22:50:23.040505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (444.9ms) 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", "2015-12-15 22:50:23.495317"], ["updated_at", "2015-12-15 22:50:23.495317"]]  (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.4ms) 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", "2015-12-15 22:50:23.498293"], ["updated_at", "2015-12-15 22:50:23.498293"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:23.500718"], ["updated_at", "2015-12-15 22:50:23.500718"]]  (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", "2015-12-15 22:50:23.502436"], ["updated_at", "2015-12-15 22:50:23.502436"]]  (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 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-15 22:50:23.505148"], ["updated_at", "2015-12-15 22:50:23.505148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:23.507108"], ["updated_at", "2015-12-15 22:50:23.507108"]]  (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", "2015-12-15 22:50:23.509472"], ["updated_at", "2015-12-15 22:50:23.509472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:23.511214"], ["updated_at", "2015-12-15 22:50:23.511214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-15 22:50:23.513510"], ["updated_at", "2015-12-15 22:50:23.513510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:23.515189"], ["updated_at", "2015-12-15 22:50:23.515189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:50:23.517238"], ["updated_at", "2015-12-15 22:50:23.517238"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 22:50:23.519064"], ["updated_at", "2015-12-15 22:50:23.519064"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:50:23.520379"], ["updated_at", "2015-12-15 22:50:23.520379"]]  (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", 2], ["created_at", "2015-12-15 22:50:23.521624"], ["updated_at", "2015-12-15 22:50:23.521624"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:23.524838"], ["updated_at", "2015-12-15 22:50:23.524838"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:23.527132"], ["updated_at", "2015-12-15 22:50:23.527132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:23.529830"], ["updated_at", "2015-12-15 22:50:23.529830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] 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", 4]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4735.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.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';  (0.6ms) 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.6ms) 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.9ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.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.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", "2015-12-15 22:50:34.174222"], ["updated_at", "2015-12-15 22:50:34.174222"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 22:50:34.281700"], ["updated_at", "2015-12-15 22:50:34.281700"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:34.289069"], ["updated_at", "2015-12-15 22:50:34.289069"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:34.291134"], ["updated_at", "2015-12-15 22:50:34.291134"]]  (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 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-15 22:50:34.303941"], ["updated_at", "2015-12-15 22:50:34.303941"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:34.308190"], ["updated_at", "2015-12-15 22:50:34.308190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2015-12-15 22:50:34.311299"], ["updated_at", "2015-12-15 22:50:34.311299"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:34.313381"], ["updated_at", "2015-12-15 22:50:34.313381"]]  (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 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-15 22:50:34.317011"], ["updated_at", "2015-12-15 22:50:34.317011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:34.319251"], ["updated_at", "2015-12-15 22:50:34.319251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.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", "2015-12-15 22:50:34.324484"], ["updated_at", "2015-12-15 22:50:34.324484"]]  (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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 22:50:34.326744"], ["updated_at", "2015-12-15 22:50:34.326744"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:50:34.328237"], ["updated_at", "2015-12-15 22:50:34.328237"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:50:34.329500"], ["updated_at", "2015-12-15 22:50:34.329500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:34.333213"], ["updated_at", "2015-12-15 22:50:34.333213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:34.335434"], ["updated_at", "2015-12-15 22:50:34.335434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:34.337587"], ["updated_at", "2015-12-15 22:50:34.337587"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (2017.2ms) 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", "2015-12-15 22:50:36.364280"], ["updated_at", "2015-12-15 22:50:36.364280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-15 22:50:36.367066"], ["updated_at", "2015-12-15 22:50:36.367066"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:36.369423"], ["updated_at", "2015-12-15 22:50:36.369423"]]  (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", "2015-12-15 22:50:36.371147"], ["updated_at", "2015-12-15 22:50:36.371147"]]  (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 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-15 22:50:36.373819"], ["updated_at", "2015-12-15 22:50:36.373819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:36.375673"], ["updated_at", "2015-12-15 22:50:36.375673"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.0ms) 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", "2015-12-15 22:50:36.378001"], ["updated_at", "2015-12-15 22:50:36.378001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:36.379708"], ["updated_at", "2015-12-15 22:50:36.379708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-15 22:50:36.382015"], ["updated_at", "2015-12-15 22:50:36.382015"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:36.383713"], ["updated_at", "2015-12-15 22:50:36.383713"]]  (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", "2015-12-15 22:50:36.385802"], ["updated_at", "2015-12-15 22:50:36.385802"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 22:50:36.387685"], ["updated_at", "2015-12-15 22:50:36.387685"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:50:36.388993"], ["updated_at", "2015-12-15 22:50:36.388993"]]  (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", 2], ["created_at", "2015-12-15 22:50:36.390262"], ["updated_at", "2015-12-15 22:50:36.390262"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:36.393464"], ["updated_at", "2015-12-15 22:50:36.393464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:36.395765"], ["updated_at", "2015-12-15 22:50:36.395765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:36.399324"], ["updated_at", "2015-12-15 22:50:36.399324"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] 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", 4]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:50:36.410495"], ["updated_at", "2015-12-15 22:50:36.410495"]]  (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.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2015-12-15 22:50:36.418778"], ["updated_at", "2015-12-15 22:50:36.418778"]]  (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", "2015-12-15 22:50:36.421303"], ["updated_at", "2015-12-15 22:50:36.421303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2015-12-15 22:50:36.423699"], ["updated_at", "2015-12-15 22:50:36.423699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-15 22:50:36.424868"], ["updated_at", "2015-12-15 22:50:36.424868"]]  (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 9' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2015-12-15 22:50:36.426962"], ["updated_at", "2015-12-15 22:50:36.426962"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-15 22:50:36.428084"], ["updated_at", "2015-12-15 22:50:36.428084"]]  (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-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", "2015-12-15 22:50:36.432311"], ["updated_at", "2015-12-15 22:50:36.432311"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:36.433907"], ["updated_at", "2015-12-15 22:50:36.433907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SELECT COUNT(*) FROM "pulitzer_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.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 22:50:36.440858"], ["updated_at", "2015-12-15 22:50:36.440858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 22:50:36.446041"], ["updated_at", "2015-12-15 22:50:36.446041"]]  (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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 22:50:36.451671"], ["updated_at", "2015-12-15 22:50:36.451671"]]  (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]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2015-12-15 22:50:36.461491"], ["updated_at", "2015-12-15 22:50:36.461491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 7' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-15 22:50:36.474029"], ["updated_at", "2015-12-15 22:50:36.474029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.6ms) 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.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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 11' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2015-12-15 22:50:36.489681"], ["updated_at", "2015-12-15 22:50:36.489681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2015-12-15 22:50:36.494393"], ["updated_at", "2015-12-15 22:50:36.494393"]]  (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) 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2015-12-15 22:50:36.499604"], ["updated_at", "2015-12-15 22:50:36.499604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-15 22:50:36.504752"], ["updated_at", "2015-12-15 22:50:36.504752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 11' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-15 22:50:36.506751"], ["updated_at", "2015-12-15 22:50:36.506751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::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", "2015-12-15 22:50:36.511918"], ["updated_at", "2015-12-15 22:50:36.511918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 12' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-15 22:50:36.514516"], ["updated_at", "2015-12-15 22:50:36.514516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::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", "2015-12-15 22:50:36.519719"], ["updated_at", "2015-12-15 22:50:36.519719"]]  (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) 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2015-12-15 22:50:36.524167"], ["updated_at", "2015-12-15 22:50:36.524167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-15 22:50:36.529381"], ["updated_at", "2015-12-15 22:50:36.529381"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "2015-12-15 22:50:36.626968"], ["updated_at", "2015-12-15 22:50:36.626968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]]  (0.4ms) 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.1ms) begin transaction  (0.0ms) 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", "2015-12-15 22:50:36.639352"], ["updated_at", "2015-12-15 22:50:36.639352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2015-12-15 22:50:36.641955"], ["updated_at", "2015-12-15 22:50:36.641955"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:36.643932"], ["updated_at", "2015-12-15 22:50:36.643932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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", "2015-12-15 22:50:36.648041"], ["updated_at", "2015-12-15 22:50:36.648041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.3ms) 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", "2015-12-15 22:50:36.650749"], ["updated_at", "2015-12-15 22:50:36.650749"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:36.653042"], ["updated_at", "2015-12-15 22:50:36.653042"]]  (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", "2015-12-15 22:50:36.655384"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-15 22:50:36.669447"], ["updated_at", "2015-12-15 22:50:36.669447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-15 22:50:36.673464"], ["updated_at", "2015-12-15 22:50:36.673464"]]  (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.1ms) 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", "2015-12-15 22:50:36.675972"], ["updated_at", "2015-12-15 22:50:36.675972"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:36.677479"], ["updated_at", "2015-12-15 22:50:36.677479"]]  (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", "2015-12-15 22:50:36.678803"], ["updated_at", "2015-12-15 22:50:36.678803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:50:36.699208"], ["updated_at", "2015-12-15 22:50:36.699208"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2015-12-15 22:50:36.702241"], ["updated_at", "2015-12-15 22:50:36.702241"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.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.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-15 22:50:36.741615"], ["updated_at", "2015-12-15 22:50:36.741615"]]  (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  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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", "2015-12-15 22:50:36.754325"], ["updated_at", "2015-12-15 22:50:36.754325"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]] SQL (0.3ms) 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", "2015-12-15 22:50:36.757280"], ["updated_at", "2015-12-15 22:50:36.757280"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:36.759709"], ["updated_at", "2015-12-15 22:50:36.759709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1156.9ms) 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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.0ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.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';  (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", "2015-12-15 22:50:42.873335"], ["updated_at", "2015-12-15 22:50:42.873335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 22:50:42.976839"], ["updated_at", "2015-12-15 22:50:42.976839"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:42.984157"], ["updated_at", "2015-12-15 22:50:42.984157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:42.986216"], ["updated_at", "2015-12-15 22:50:42.986216"]]  (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 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-15 22:50:43.002809"], ["updated_at", "2015-12-15 22:50:43.002809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:43.006199"], ["updated_at", "2015-12-15 22:50:43.006199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.0ms) 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", "2015-12-15 22:50:43.008832"], ["updated_at", "2015-12-15 22:50:43.008832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:43.010571"], ["updated_at", "2015-12-15 22:50:43.010571"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-15 22:50:43.013594"], ["updated_at", "2015-12-15 22:50:43.013594"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:43.015328"], ["updated_at", "2015-12-15 22:50:43.015328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:50:43.019790"], ["updated_at", "2015-12-15 22:50:43.019790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 22:50:43.021922"], ["updated_at", "2015-12-15 22:50:43.021922"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:50:43.023261"], ["updated_at", "2015-12-15 22:50:43.023261"]]  (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", 2], ["created_at", "2015-12-15 22:50:43.024519"], ["updated_at", "2015-12-15 22:50:43.024519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:43.028238"], ["updated_at", "2015-12-15 22:50:43.028238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:43.030563"], ["updated_at", "2015-12-15 22:50:43.030563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:43.032768"], ["updated_at", "2015-12-15 22:50:43.032768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (86.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:50:43.129216"], ["updated_at", "2015-12-15 22:50:43.129216"]]  (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-3"]] SQL (0.4ms) 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", "2015-12-15 22:50:43.132701"], ["updated_at", "2015-12-15 22:50:43.132701"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:43.135138"], ["updated_at", "2015-12-15 22:50:43.135138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:43.136726"], ["updated_at", "2015-12-15 22:50:43.136726"]]  (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 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-15 22:50:43.139393"], ["updated_at", "2015-12-15 22:50:43.139393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:43.141506"], ["updated_at", "2015-12-15 22:50:43.141506"]]  (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.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2015-12-15 22:50:43.144981"], ["updated_at", "2015-12-15 22:50:43.144981"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:43.148369"], ["updated_at", "2015-12-15 22:50:43.148369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-15 22:50:43.151119"], ["updated_at", "2015-12-15 22:50:43.151119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:43.153004"], ["updated_at", "2015-12-15 22:50:43.153004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:50:43.155221"], ["updated_at", "2015-12-15 22:50:43.155221"]]  (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-4"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 22:50:43.157224"], ["updated_at", "2015-12-15 22:50:43.157224"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:50:43.159071"], ["updated_at", "2015-12-15 22:50:43.159071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:50:43.160394"], ["updated_at", "2015-12-15 22:50:43.160394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.2ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:43.166548"], ["updated_at", "2015-12-15 22:50:43.166548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:43.169947"], ["updated_at", "2015-12-15 22:50:43.169947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:43.174035"], ["updated_at", "2015-12-15 22:50:43.174035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] 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", 4]] 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]]  (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", "2015-12-15 22:50:43.184025"], ["updated_at", "2015-12-15 22:50:43.184025"]]  (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 7' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2015-12-15 22:50:43.192985"], ["updated_at", "2015-12-15 22:50:43.192985"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-15 22:50:43.196307"], ["updated_at", "2015-12-15 22:50:43.196307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2015-12-15 22:50:43.199111"], ["updated_at", "2015-12-15 22:50:43.199111"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-15 22:50:43.200777"], ["updated_at", "2015-12-15 22:50:43.200777"]]  (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 9' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2015-12-15 22:50:43.204128"], ["updated_at", "2015-12-15 22:50:43.204128"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-15 22:50:43.205951"], ["updated_at", "2015-12-15 22:50:43.205951"]]  (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-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", "2015-12-15 22:50:43.210947"], ["updated_at", "2015-12-15 22:50:43.210947"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:43.212638"], ["updated_at", "2015-12-15 22:50:43.212638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SELECT COUNT(*) FROM "pulitzer_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.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 22:50:43.221157"], ["updated_at", "2015-12-15 22:50:43.221157"]]  (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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 22:50:43.227210"], ["updated_at", "2015-12-15 22:50:43.227210"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 22:50:43.234071"], ["updated_at", "2015-12-15 22:50:43.234071"]]  (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) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2015-12-15 22:50:43.244410"], ["updated_at", "2015-12-15 22:50:43.244410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 7' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-15 22:50:43.260177"], ["updated_at", "2015-12-15 22:50:43.260177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2015-12-15 22:50:43.275226"], ["updated_at", "2015-12-15 22:50:43.275226"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2015-12-15 22:50:43.280120"], ["updated_at", "2015-12-15 22:50:43.280120"]]  (0.1ms) 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 13' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2015-12-15 22:50:43.285377"], ["updated_at", "2015-12-15 22:50:43.285377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-15 22:50:43.290415"], ["updated_at", "2015-12-15 22:50:43.290415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 11' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-15 22:50:43.292510"], ["updated_at", "2015-12-15 22:50:43.292510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-15 22:50:43.297919"], ["updated_at", "2015-12-15 22:50:43.297919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 12' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-15 22:50:43.300216"], ["updated_at", "2015-12-15 22:50:43.300216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2015-12-15 22:50:43.306174"], ["updated_at", "2015-12-15 22:50:43.306174"]]  (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) 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2015-12-15 22:50:43.311012"], ["updated_at", "2015-12-15 22:50:43.311012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-15 22:50:43.316373"], ["updated_at", "2015-12-15 22:50:43.316373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:50:43.395996"], ["updated_at", "2015-12-15 22:50:43.395996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]]  (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.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 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:50:43.408837"], ["updated_at", "2015-12-15 22:50:43.408837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2015-12-15 22:50:43.411490"], ["updated_at", "2015-12-15 22:50:43.411490"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:43.413513"], ["updated_at", "2015-12-15 22:50:43.413513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:50:43.417693"], ["updated_at", "2015-12-15 22:50:43.417693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.5ms) 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", "2015-12-15 22:50:43.420225"], ["updated_at", "2015-12-15 22:50:43.420225"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:43.423105"], ["updated_at", "2015-12-15 22:50:43.423105"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.8ms) 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", "2015-12-15 22:50:43.426844"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-15 22:50:43.447577"], ["updated_at", "2015-12-15 22:50:43.447577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-15 22:50:43.454257"], ["updated_at", "2015-12-15 22:50:43.454257"]]  (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-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", "2015-12-15 22:50:43.459727"], ["updated_at", "2015-12-15 22:50:43.459727"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:43.462381"], ["updated_at", "2015-12-15 22:50:43.462381"]]  (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", "2015-12-15 22:50:43.464421"], ["updated_at", "2015-12-15 22:50:43.464421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:50:43.489567"], ["updated_at", "2015-12-15 22:50:43.489567"]]  (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.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2015-12-15 22:50:43.492855"], ["updated_at", "2015-12-15 22:50:43.492855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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.1ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.1ms) 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.0ms) begin transaction  (0.1ms) 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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-15 22:50:43.533511"], ["updated_at", "2015-12-15 22:50:43.533511"]]  (0.0ms) 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  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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.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", "2015-12-15 22:50:43.546102"], ["updated_at", "2015-12-15 22:50:43.546102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]] SQL (0.4ms) 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", "2015-12-15 22:50:43.550041"], ["updated_at", "2015-12-15 22:50:43.550041"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:43.552771"], ["updated_at", "2015-12-15 22:50:43.552771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (224.6ms) 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';  (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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.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.0ms) 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", "2015-12-15 22:50:49.099158"], ["updated_at", "2015-12-15 22:50:49.099158"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-15 22:50:49.208199"], ["updated_at", "2015-12-15 22:50:49.208199"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:49.215611"], ["updated_at", "2015-12-15 22:50:49.215611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:49.217613"], ["updated_at", "2015-12-15 22:50:49.217613"]]  (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 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-15 22:50:49.231547"], ["updated_at", "2015-12-15 22:50:49.231547"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:49.234263"], ["updated_at", "2015-12-15 22:50:49.234263"]]  (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", "2015-12-15 22:50:49.236766"], ["updated_at", "2015-12-15 22:50:49.236766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:49.238472"], ["updated_at", "2015-12-15 22:50:49.238472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-15 22:50:49.240816"], ["updated_at", "2015-12-15 22:50:49.240816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:49.242484"], ["updated_at", "2015-12-15 22:50:49.242484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:50:49.246859"], ["updated_at", "2015-12-15 22:50:49.246859"]]  (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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-15 22:50:49.248862"], ["updated_at", "2015-12-15 22:50:49.248862"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:50:49.250307"], ["updated_at", "2015-12-15 22:50:49.250307"]]  (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", 2], ["created_at", "2015-12-15 22:50:49.251508"], ["updated_at", "2015-12-15 22:50:49.251508"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:49.255198"], ["updated_at", "2015-12-15 22:50:49.255198"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:49.257478"], ["updated_at", "2015-12-15 22:50:49.257478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:49.259767"], ["updated_at", "2015-12-15 22:50:49.259767"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (515.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", "2015-12-15 22:50:49.784380"], ["updated_at", "2015-12-15 22:50:49.784380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-15 22:50:49.787320"], ["updated_at", "2015-12-15 22:50:49.787320"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:49.789671"], ["updated_at", "2015-12-15 22:50:49.789671"]]  (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", "2015-12-15 22:50:49.791375"], ["updated_at", "2015-12-15 22:50:49.791375"]]  (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 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-15 22:50:49.794154"], ["updated_at", "2015-12-15 22:50:49.794154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:49.796154"], ["updated_at", "2015-12-15 22:50:49.796154"]]  (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 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2015-12-15 22:50:49.798939"], ["updated_at", "2015-12-15 22:50:49.798939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:49.801585"], ["updated_at", "2015-12-15 22:50:49.801585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-15 22:50:49.804592"], ["updated_at", "2015-12-15 22:50:49.804592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-15 22:50:49.806619"], ["updated_at", "2015-12-15 22:50:49.806619"]]  (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", "2015-12-15 22:50:49.809113"], ["updated_at", "2015-12-15 22:50:49.809113"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-15 22:50:49.811077"], ["updated_at", "2015-12-15 22:50:49.811077"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-15 22:50:49.812461"], ["updated_at", "2015-12-15 22:50:49.812461"]]  (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", 2], ["created_at", "2015-12-15 22:50:49.813785"], ["updated_at", "2015-12-15 22:50:49.813785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:49.817175"], ["updated_at", "2015-12-15 22:50:49.817175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:49.819862"], ["updated_at", "2015-12-15 22:50:49.819862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-15 22:50:49.822212"], ["updated_at", "2015-12-15 22:50:49.822212"]]  (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]] 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", 4]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:50:49.832040"], ["updated_at", "2015-12-15 22:50:49.832040"]]  (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.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2015-12-15 22:50:49.839833"], ["updated_at", "2015-12-15 22:50:49.839833"]]  (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", "2015-12-15 22:50:49.842267"], ["updated_at", "2015-12-15 22:50:49.842267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2015-12-15 22:50:49.844661"], ["updated_at", "2015-12-15 22:50:49.844661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-15 22:50:49.845953"], ["updated_at", "2015-12-15 22:50:49.845953"]]  (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 9' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2015-12-15 22:50:49.848104"], ["updated_at", "2015-12-15 22:50:49.848104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-15 22:50:49.849307"], ["updated_at", "2015-12-15 22:50:49.849307"]]  (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-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", "2015-12-15 22:50:49.853591"], ["updated_at", "2015-12-15 22:50:49.853591"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:49.855136"], ["updated_at", "2015-12-15 22:50:49.855136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) 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.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-15 22:50:49.862279"], ["updated_at", "2015-12-15 22:50:49.862279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-15 22:50:49.866891"], ["updated_at", "2015-12-15 22:50:49.866891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-15 22:50:49.871211"], ["updated_at", "2015-12-15 22:50:49.871211"]]  (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]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.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 10' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2015-12-15 22:50:49.881448"], ["updated_at", "2015-12-15 22:50:49.881448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 7' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-15 22:50:49.897244"], ["updated_at", "2015-12-15 22:50:49.897244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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 11' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2015-12-15 22:50:49.913513"], ["updated_at", "2015-12-15 22:50:49.913513"]]  (0.1ms) 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 12' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2015-12-15 22:50:49.918645"], ["updated_at", "2015-12-15 22:50:49.918645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2015-12-15 22:50:49.922964"], ["updated_at", "2015-12-15 22:50:49.922964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-15 22:50:49.928470"], ["updated_at", "2015-12-15 22:50:49.928470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 11' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-15 22:50:49.930683"], ["updated_at", "2015-12-15 22:50:49.930683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-15 22:50:49.936695"], ["updated_at", "2015-12-15 22:50:49.936695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 12' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-15 22:50:49.938939"], ["updated_at", "2015-12-15 22:50:49.938939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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 14' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2015-12-15 22:50:49.945227"], ["updated_at", "2015-12-15 22:50:49.945227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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 15' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2015-12-15 22:50:49.951196"], ["updated_at", "2015-12-15 22:50:49.951196"]]  (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) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.2ms) 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", "2015-12-15 22:50:49.958121"], ["updated_at", "2015-12-15 22:50:49.958121"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:50:50.031071"], ["updated_at", "2015-12-15 22:50:50.031071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:50:50.044451"], ["updated_at", "2015-12-15 22:50:50.044451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2015-12-15 22:50:50.047109"], ["updated_at", "2015-12-15 22:50:50.047109"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:50.048979"], ["updated_at", "2015-12-15 22:50:50.048979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:50:50.053132"], ["updated_at", "2015-12-15 22:50:50.053132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.3ms) 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", "2015-12-15 22:50:50.055631"], ["updated_at", "2015-12-15 22:50:50.055631"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:50.057732"], ["updated_at", "2015-12-15 22:50:50.057732"]]  (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", "2015-12-15 22:50:50.060142"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-15 22:50:50.071574"], ["updated_at", "2015-12-15 22:50:50.071574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-15 22:50:50.076622"], ["updated_at", "2015-12-15 22:50:50.076622"]]  (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-9"]] SQL (0.1ms) 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", "2015-12-15 22:50:50.079517"], ["updated_at", "2015-12-15 22:50:50.079517"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:50.081063"], ["updated_at", "2015-12-15 22:50:50.081063"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:50.082447"], ["updated_at", "2015-12-15 22:50:50.082447"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-15 22:50:50.109151"], ["updated_at", "2015-12-15 22:50:50.109151"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2015-12-15 22:50:50.112522"], ["updated_at", "2015-12-15 22:50:50.112522"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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.0ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.7ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-15 22:50:50.156827"], ["updated_at", "2015-12-15 22:50:50.156827"]]  (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  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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", "2015-12-15 22:50:50.169164"], ["updated_at", "2015-12-15 22:50:50.169164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]] SQL (0.3ms) 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", "2015-12-15 22:50:50.172286"], ["updated_at", "2015-12-15 22:50:50.172286"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-15 22:50:50.174183"], ["updated_at", "2015-12-15 22:50:50.174183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) 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.3ms) 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';  (0.9ms) 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.9ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) 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_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.9ms) 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.0ms) 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", "2015-12-17 12:58:43.745300"], ["updated_at", "2015-12-17 12:58:43.745300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-17 12:58:43.851987"], ["updated_at", "2015-12-17 12:58:43.851987"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 12:58:43.859411"], ["updated_at", "2015-12-17 12:58:43.859411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 12:58:43.861560"], ["updated_at", "2015-12-17 12:58:43.861560"]]  (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 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-17 12:58:43.873913"], ["updated_at", "2015-12-17 12:58:43.873913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-17 12:58:43.879155"], ["updated_at", "2015-12-17 12:58:43.879155"]]  (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 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2015-12-17 12:58:43.883386"], ["updated_at", "2015-12-17 12:58:43.883386"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-17 12:58:43.886171"], ["updated_at", "2015-12-17 12:58:43.886171"]]  (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", "2015-12-17 12:58:43.889910"], ["updated_at", "2015-12-17 12:58:43.889910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-17 12:58:43.891854"], ["updated_at", "2015-12-17 12:58:43.891854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.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", "2015-12-17 12:58:45.947164"], ["updated_at", "2015-12-17 12:58:45.947164"]]  (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-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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-17 12:58:45.949898"], ["updated_at", "2015-12-17 12:58:45.949898"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 12:58:45.951831"], ["updated_at", "2015-12-17 12:58:45.951831"]]  (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", 2], ["created_at", "2015-12-17 12:58:45.954021"], ["updated_at", "2015-12-17 12:58:45.954021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 12:58:45.958867"], ["updated_at", "2015-12-17 12:58:45.958867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 12:58:45.961590"], ["updated_at", "2015-12-17 12:58:45.961590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 12:58:45.963978"], ["updated_at", "2015-12-17 12:58:45.963978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 12:58:45.972624"], ["updated_at", "2015-12-17 12:58:45.972624"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-17 12:58:45.975126"], ["updated_at", "2015-12-17 12:58:45.975126"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 12:58:45.976783"], ["updated_at", "2015-12-17 12:58:45.976783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 12:58:45.977997"], ["updated_at", "2015-12-17 12:58:45.977997"]]  (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 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-17 12:58:45.980983"], ["updated_at", "2015-12-17 12:58:45.980983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-17 12:58:45.983190"], ["updated_at", "2015-12-17 12:58:45.983190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2015-12-17 12:58:45.985589"], ["updated_at", "2015-12-17 12:58:45.985589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-17 12:58:45.988598"], ["updated_at", "2015-12-17 12:58:45.988598"]]  (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 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-17 12:58:45.993826"], ["updated_at", "2015-12-17 12:58:45.993826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-17 12:58:45.996321"], ["updated_at", "2015-12-17 12:58:45.996321"]]  (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", "2015-12-17 12:58:45.999116"], ["updated_at", "2015-12-17 12:58:45.999116"]]  (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.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-17 12:58:46.002079"], ["updated_at", "2015-12-17 12:58:46.002079"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 12:58:46.003967"], ["updated_at", "2015-12-17 12:58:46.003967"]]  (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", 2], ["created_at", "2015-12-17 12:58:46.005526"], ["updated_at", "2015-12-17 12:58:46.005526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 12:58:46.009239"], ["updated_at", "2015-12-17 12:58:46.009239"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 12:58:46.011695"], ["updated_at", "2015-12-17 12:58:46.011695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 12:58:46.014201"], ["updated_at", "2015-12-17 12:58:46.014201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] 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", 4]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 12:58:46.023821"], ["updated_at", "2015-12-17 12:58:46.023821"]]  (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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2015-12-17 12:58:46.032068"], ["updated_at", "2015-12-17 12:58:46.032068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-17 12:58:46.034160"], ["updated_at", "2015-12-17 12:58:46.034160"]]  (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 8' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2015-12-17 12:58:46.037083"], ["updated_at", "2015-12-17 12:58:46.037083"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-17 12:58:46.038672"], ["updated_at", "2015-12-17 12:58:46.038672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2015-12-17 12:58:46.040982"], ["updated_at", "2015-12-17 12:58:46.040982"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-17 12:58:46.042098"], ["updated_at", "2015-12-17 12:58:46.042098"]]  (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-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", "2015-12-17 12:58:46.046948"], ["updated_at", "2015-12-17 12:58:46.046948"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 12:58:46.048498"], ["updated_at", "2015-12-17 12:58:46.048498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SELECT COUNT(*) FROM "pulitzer_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.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) 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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-17 12:58:46.055973"], ["updated_at", "2015-12-17 12:58:46.055973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-17 12:58:46.061328"], ["updated_at", "2015-12-17 12:58:46.061328"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-17 12:58:46.068264"], ["updated_at", "2015-12-17 12:58:46.068264"]]  (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) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]  (0.9ms) 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.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 10' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2015-12-17 12:58:46.078234"], ["updated_at", "2015-12-17 12:58:46.078234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 7' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-17 12:58:46.100506"], ["updated_at", "2015-12-17 12:58:46.100506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.5ms) 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.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.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 11' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2015-12-17 12:58:46.123832"], ["updated_at", "2015-12-17 12:58:46.123832"]]  (0.1ms) 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 12' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2015-12-17 12:58:46.128656"], ["updated_at", "2015-12-17 12:58:46.128656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2015-12-17 12:58:46.133389"], ["updated_at", "2015-12-17 12:58:46.133389"]]  (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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 12:58:46.138634"], ["updated_at", "2015-12-17 12:58:46.138634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 11' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 12:58:46.140704"], ["updated_at", "2015-12-17 12:58:46.140704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 12:58:46.145824"], ["updated_at", "2015-12-17 12:58:46.145824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 12' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 12:58:46.148491"], ["updated_at", "2015-12-17 12:58:46.148491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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 14' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2015-12-17 12:58:46.153999"], ["updated_at", "2015-12-17 12:58:46.153999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2015-12-17 12:58:46.158555"], ["updated_at", "2015-12-17 12:58:46.158555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) 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" = 'Image' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-17 12:58:46.165239"], ["updated_at", "2015-12-17 12:58:46.165239"]]  (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.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 12:58:46.267457"], ["updated_at", "2015-12-17 12:58:46.267457"]]  (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-6"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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", "2015-12-17 12:58:46.279191"], ["updated_at", "2015-12-17 12:58:46.279191"]]  (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-7"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2015-12-17 12:58:46.284238"], ["updated_at", "2015-12-17 12:58:46.284238"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 12:58:46.286317"], ["updated_at", "2015-12-17 12:58:46.286317"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 12:58:46.292809"], ["updated_at", "2015-12-17 12:58:46.292809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.2ms) 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", "2015-12-17 12:58:46.295130"], ["updated_at", "2015-12-17 12:58:46.295130"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 12:58:46.296771"], ["updated_at", "2015-12-17 12:58:46.296771"]]  (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" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-17 12:58:46.299693"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-17 12:58:46.311456"], ["updated_at", "2015-12-17 12:58:46.311456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "2015-12-17 12:58:46.315772"], ["updated_at", "2015-12-17 12:58:46.315772"]]  (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", "2015-12-17 12:58:46.318602"], ["updated_at", "2015-12-17 12:58:46.318602"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 12:58:46.321239"], ["updated_at", "2015-12-17 12:58:46.321239"]]  (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", "2015-12-17 12:58:46.322743"], ["updated_at", "2015-12-17 12:58:46.322743"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) 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", "2015-12-17 12:58:46.352903"], ["updated_at", "2015-12-17 12:58:46.352903"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2015-12-17 12:58:46.356456"], ["updated_at", "2015-12-17 12:58:46.356456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' 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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-17 12:58:46.411928"], ["updated_at", "2015-12-17 12:58:46.411928"]]  (0.0ms) 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  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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", "2015-12-17 12:58:46.425537"], ["updated_at", "2015-12-17 12:58:46.425537"]]  (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-10"]] SQL (0.3ms) 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", "2015-12-17 12:58:46.428737"], ["updated_at", "2015-12-17 12:58:46.428737"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 12:58:46.430599"], ["updated_at", "2015-12-17 12:58:46.430599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3482.4ms) 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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) 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';  (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.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.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.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", "2015-12-17 13:01:10.048973"], ["updated_at", "2015-12-17 13:01:10.048973"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-17 13:01:10.152951"], ["updated_at", "2015-12-17 13:01:10.152951"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:01:10.160513"], ["updated_at", "2015-12-17 13:01:10.160513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:01:10.162665"], ["updated_at", "2015-12-17 13:01:10.162665"]]  (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 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-17 13:01:10.178267"], ["updated_at", "2015-12-17 13:01:10.178267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-17 13:01:10.181118"], ["updated_at", "2015-12-17 13:01:10.181118"]]  (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", "2015-12-17 13:01:10.183765"], ["updated_at", "2015-12-17 13:01:10.183765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-17 13:01:10.185504"], ["updated_at", "2015-12-17 13:01:10.185504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-17 13:01:10.187816"], ["updated_at", "2015-12-17 13:01:10.187816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-17 13:01:10.189461"], ["updated_at", "2015-12-17 13:01:10.189461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:01:10.193943"], ["updated_at", "2015-12-17 13:01:10.193943"]]  (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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-17 13:01:10.195998"], ["updated_at", "2015-12-17 13:01:10.195998"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 13:01:10.197383"], ["updated_at", "2015-12-17 13:01:10.197383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 13:01:10.198731"], ["updated_at", "2015-12-17 13:01:10.198731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] 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", 2]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:01:10.204096"], ["updated_at", "2015-12-17 13:01:10.204096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:01:10.206872"], ["updated_at", "2015-12-17 13:01:10.206872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:01:10.209535"], ["updated_at", "2015-12-17 13:01:10.209535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (1236.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:01:11.459600"], ["updated_at", "2015-12-17 13:01:11.459600"]]  (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-3"]] SQL (0.5ms) 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", "2015-12-17 13:01:11.463005"], ["updated_at", "2015-12-17 13:01:11.463005"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:01:11.467379"], ["updated_at", "2015-12-17 13:01:11.467379"]]  (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", "2015-12-17 13:01:11.470416"], ["updated_at", "2015-12-17 13:01:11.470416"]]  (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 4' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-17 13:01:11.474928"], ["updated_at", "2015-12-17 13:01:11.474928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-17 13:01:11.479494"], ["updated_at", "2015-12-17 13:01:11.479494"]]  (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 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2015-12-17 13:01:11.484025"], ["updated_at", "2015-12-17 13:01:11.484025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-17 13:01:11.487757"], ["updated_at", "2015-12-17 13:01:11.487757"]]  (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 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-17 13:01:11.493427"], ["updated_at", "2015-12-17 13:01:11.493427"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-17 13:01:11.497482"], ["updated_at", "2015-12-17 13:01:11.497482"]]  (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", "2015-12-17 13:01:11.501554"], ["updated_at", "2015-12-17 13:01:11.501554"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-17 13:01:11.504922"], ["updated_at", "2015-12-17 13:01:11.504922"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 13:01:11.506884"], ["updated_at", "2015-12-17 13:01:11.506884"]]  (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", 2], ["created_at", "2015-12-17 13:01:11.508319"], ["updated_at", "2015-12-17 13:01:11.508319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:01:11.512157"], ["updated_at", "2015-12-17 13:01:11.512157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:01:11.515985"], ["updated_at", "2015-12-17 13:01:11.515985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:01:11.519483"], ["updated_at", "2015-12-17 13:01:11.519483"]]  (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]] 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", 4]] 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]]  (1978.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", "2015-12-17 13:01:13.507216"], ["updated_at", "2015-12-17 13:01:13.507216"]]  (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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2015-12-17 13:01:13.515708"], ["updated_at", "2015-12-17 13:01:13.515708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-17 13:01:13.517982"], ["updated_at", "2015-12-17 13:01:13.517982"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2015-12-17 13:01:13.520280"], ["updated_at", "2015-12-17 13:01:13.520280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-17 13:01:13.521501"], ["updated_at", "2015-12-17 13:01:13.521501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2015-12-17 13:01:13.523540"], ["updated_at", "2015-12-17 13:01:13.523540"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-17 13:01:13.524646"], ["updated_at", "2015-12-17 13:01:13.524646"]]  (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.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-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", "2015-12-17 13:01:13.528984"], ["updated_at", "2015-12-17 13:01:13.528984"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:01:13.530550"], ["updated_at", "2015-12-17 13:01:13.530550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SELECT COUNT(*) FROM "pulitzer_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.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-17 13:01:13.537961"], ["updated_at", "2015-12-17 13:01:13.537961"]]  (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.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-17 13:01:13.542861"], ["updated_at", "2015-12-17 13:01:13.542861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-17 13:01:13.547138"], ["updated_at", "2015-12-17 13:01:13.547138"]]  (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.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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" = 'Text 10' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2015-12-17 13:01:13.559891"], ["updated_at", "2015-12-17 13:01:13.559891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 7' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-17 13:01:13.607324"], ["updated_at", "2015-12-17 13:01:13.607324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (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) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2015-12-17 13:01:13.622918"], ["updated_at", "2015-12-17 13:01:13.622918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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 12' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2015-12-17 13:01:13.627736"], ["updated_at", "2015-12-17 13:01:13.627736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2015-12-17 13:01:13.632259"], ["updated_at", "2015-12-17 13:01:13.632259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:01:13.637634"], ["updated_at", "2015-12-17 13:01:13.637634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 11' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:01:13.639692"], ["updated_at", "2015-12-17 13:01:13.639692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:01:13.645421"], ["updated_at", "2015-12-17 13:01:13.645421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 12' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:01:13.647738"], ["updated_at", "2015-12-17 13:01:13.647738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2015-12-17 13:01:13.653759"], ["updated_at", "2015-12-17 13:01:13.653759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2015-12-17 13:01:13.658457"], ["updated_at", "2015-12-17 13:01:13.658457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-17 13:01:13.663129"], ["updated_at", "2015-12-17 13:01:13.663129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:01:13.733249"], ["updated_at", "2015-12-17 13:01:13.733249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]]  (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.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 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:01:13.744862"], ["updated_at", "2015-12-17 13:01:13.744862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] SQL (0.4ms) 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", "2015-12-17 13:01:13.747298"], ["updated_at", "2015-12-17 13:01:13.747298"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:01:13.750081"], ["updated_at", "2015-12-17 13:01:13.750081"]]  (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", "2015-12-17 13:01:13.755278"], ["updated_at", "2015-12-17 13:01:13.755278"]]  (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-8"]] SQL (0.3ms) 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", "2015-12-17 13:01:13.758711"], ["updated_at", "2015-12-17 13:01:13.758711"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:01:13.760757"], ["updated_at", "2015-12-17 13:01:13.760757"]]  (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" != 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", "2015-12-17 13:01:13.763237"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.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.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-17 13:01:13.780424"], ["updated_at", "2015-12-17 13:01:13.780424"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-17 13:01:13.786571"], ["updated_at", "2015-12-17 13:01:13.786571"]]  (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-9"]] SQL (0.1ms) 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", "2015-12-17 13:01:13.789431"], ["updated_at", "2015-12-17 13:01:13.789431"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:01:13.791026"], ["updated_at", "2015-12-17 13:01:13.791026"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:01:13.792485"], ["updated_at", "2015-12-17 13:01:13.792485"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) 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", "2015-12-17 13:01:13.816210"], ["updated_at", "2015-12-17 13:01:13.816210"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2015-12-17 13:01:13.820132"], ["updated_at", "2015-12-17 13:01:13.820132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (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" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-17 13:01:13.860378"], ["updated_at", "2015-12-17 13:01:13.860378"]]  (0.0ms) 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  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.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", "2015-12-17 13:01:13.872730"], ["updated_at", "2015-12-17 13:01:13.872730"]]  (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-10"]] SQL (0.4ms) 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", "2015-12-17 13:01:13.876005"], ["updated_at", "2015-12-17 13:01:13.876005"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:01:13.878031"], ["updated_at", "2015-12-17 13:01:13.878031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (222.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.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.7ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-17 13:02:40.416207"], ["updated_at", "2015-12-17 13:02:40.416207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-17 13:02:40.462263"], ["updated_at", "2015-12-17 13:02:40.462263"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 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.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.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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" = 'Text 2' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2015-12-17 13:02:40.488916"], ["updated_at", "2015-12-17 13:02:40.488916"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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" = 'Text 3' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-17 13:02:40.497068"], ["updated_at", "2015-12-17 13:02:40.497068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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 4' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-17 13:02:40.504937"], ["updated_at", "2015-12-17 13:02:40.504937"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:02:40.511491"], ["updated_at", "2015-12-17 13:02:40.511491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:02:40.514540"], ["updated_at", "2015-12-17 13:02:40.514540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:02:40.521114"], ["updated_at", "2015-12-17 13:02:40.521114"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:02:40.523197"], ["updated_at", "2015-12-17 13:02:40.523197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2015-12-17 13:02:40.529693"], ["updated_at", "2015-12-17 13:02:40.529693"]]  (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 6' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-17 13:02:40.534805"], ["updated_at", "2015-12-17 13:02:40.534805"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-17 13:02:40.539858"], ["updated_at", "2015-12-17 13:02:40.539858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1430.6ms) 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.4ms) 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.5ms) 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.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';  (0.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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';  (0.6ms) 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.0ms) begin transaction  (0.0ms) 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 1' LIMIT 1 SQL (0.7ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-17 13:05:34.269158"], ["updated_at", "2015-12-17 13:05:34.269158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-17 13:05:34.316463"], ["updated_at", "2015-12-17 13:05:34.316463"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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" = 'Text 2' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2015-12-17 13:05:34.339764"], ["updated_at", "2015-12-17 13:05:34.339764"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-17 13:05:34.345827"], ["updated_at", "2015-12-17 13:05:34.345827"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-17 13:05:34.351351"], ["updated_at", "2015-12-17 13:05:34.351351"]]  (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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:05:34.356083"], ["updated_at", "2015-12-17 13:05:34.356083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:05:34.358248"], ["updated_at", "2015-12-17 13:05:34.358248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) 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", "2015-12-17 13:05:34.365269"], ["updated_at", "2015-12-17 13:05:34.365269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:05:34.370182"], ["updated_at", "2015-12-17 13:05:34.370182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2015-12-17 13:05:34.377809"], ["updated_at", "2015-12-17 13:05:34.377809"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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 6' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-17 13:05:34.384682"], ["updated_at", "2015-12-17 13:05:34.384682"]]  (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" = 'Image' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-17 13:05:34.389513"], ["updated_at", "2015-12-17 13:05:34.389513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1818.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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-17 13:06:13.987050"], ["updated_at", "2015-12-17 13:06:13.987050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-17 13:06:14.030798"], ["updated_at", "2015-12-17 13:06:14.030798"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.5ms) 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.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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.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 2' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2015-12-17 13:06:14.050702"], ["updated_at", "2015-12-17 13:06:14.050702"]]  (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 3' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-17 13:06:14.055796"], ["updated_at", "2015-12-17 13:06:14.055796"]]  (0.1ms) 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 4' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-17 13:06:14.060865"], ["updated_at", "2015-12-17 13:06:14.060865"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:06:14.066094"], ["updated_at", "2015-12-17 13:06:14.066094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:06:14.068200"], ["updated_at", "2015-12-17 13:06:14.068200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:06:14.073197"], ["updated_at", "2015-12-17 13:06:14.073197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:06:14.075790"], ["updated_at", "2015-12-17 13:06:14.075790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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" = 'Text 5' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2015-12-17 13:06:14.082168"], ["updated_at", "2015-12-17 13:06:14.082168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-17 13:06:14.087761"], ["updated_at", "2015-12-17 13:06:14.087761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-17 13:06:14.092540"], ["updated_at", "2015-12-17 13:06:14.092540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (414.9ms) 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.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.9ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-17 13:06:41.276074"], ["updated_at", "2015-12-17 13:06:41.276074"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) 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" = 'Text 2' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2015-12-17 13:06:45.638278"], ["updated_at", "2015-12-17 13:06:45.638278"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "a"], ["created_at", "2015-12-17 13:08:04.578084"], ["updated_at", "2015-12-17 13:08:04.578084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (522.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-17 13:08:05.121095"], ["updated_at", "2015-12-17 13:08:05.121095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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 4' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-17 13:08:05.126962"], ["updated_at", "2015-12-17 13:08:05.126962"]]  (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 5' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2015-12-17 13:08:05.132248"], ["updated_at", "2015-12-17 13:08:05.132248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:08:05.137300"], ["updated_at", "2015-12-17 13:08:05.137300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:08:05.139365"], ["updated_at", "2015-12-17 13:08:05.139365"]]  (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.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:08:05.145602"], ["updated_at", "2015-12-17 13:08:05.145602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 7' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:08:05.148329"], ["updated_at", "2015-12-17 13:08:05.148329"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-17 13:08:05.155357"], ["updated_at", "2015-12-17 13:08:05.155357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2015-12-17 13:08:05.160776"], ["updated_at", "2015-12-17 13:08:05.160776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-17 13:08:05.165665"], ["updated_at", "2015-12-17 13:08:05.165665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5076.2ms) 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';  (1.5ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) 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';  (0.9ms) 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';  (0.9ms) DELETE FROM "search_locations";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (0.9ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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.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.1ms) begin transaction  (0.0ms) 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 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-17 13:08:25.628781"], ["updated_at", "2015-12-17 13:08:25.628781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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 2' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2015-12-17 13:08:26.525728"], ["updated_at", "2015-12-17 13:08:26.525728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1110.6ms) 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 3' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-17 13:08:27.641939"], ["updated_at", "2015-12-17 13:08:27.641939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-17 13:08:27.655215"], ["updated_at", "2015-12-17 13:08:27.655215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "a"], ["title", "Night's Watch"], ["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], ["created_at", "2015-12-17 13:08:27.660752"], ["updated_at", "2015-12-17 13:08:27.660752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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 5' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2015-12-17 13:08:27.680240"], ["updated_at", "2015-12-17 13:08:27.680240"]]  (0.1ms) 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 6' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-17 13:08:27.686926"], ["updated_at", "2015-12-17 13:08:27.686926"]]  (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 7' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2015-12-17 13:08:27.692238"], ["updated_at", "2015-12-17 13:08:27.692238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:08:27.697594"], ["updated_at", "2015-12-17 13:08:27.697594"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 8' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:08:27.700109"], ["updated_at", "2015-12-17 13:08:27.700109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:08:27.705837"], ["updated_at", "2015-12-17 13:08:27.705837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 9' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:08:27.708014"], ["updated_at", "2015-12-17 13:08:27.708014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2015-12-17 13:08:27.713383"], ["updated_at", "2015-12-17 13:08:27.713383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2015-12-17 13:08:27.719967"], ["updated_at", "2015-12-17 13:08:27.719967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-17 13:08:27.724829"], ["updated_at", "2015-12-17 13:08:27.724829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (211.3ms) 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.2ms) 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';  (0.8ms) 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';  (0.8ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (2.4ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (2.2ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (2.5ms) 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';  (0.8ms) DELETE FROM "pulitzer_post_types";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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" = 'Text 1' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-17 13:08:53.478410"], ["updated_at", "2015-12-17 13:08:53.478410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (2604.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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" = 'Text 2' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2015-12-17 13:08:56.106691"], ["updated_at", "2015-12-17 13:08:56.106691"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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 3' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-17 13:08:56.155163"], ["updated_at", "2015-12-17 13:08:56.155163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "a"], ["title", "Night's Watch"], ["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], ["created_at", "2015-12-17 13:08:56.161305"], ["updated_at", "2015-12-17 13:08:56.161305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.6ms) 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.1ms) 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.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 4' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-17 13:08:56.188405"], ["updated_at", "2015-12-17 13:08:56.188405"]]  (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" = 'Text 5' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2015-12-17 13:08:56.194055"], ["updated_at", "2015-12-17 13:08:56.194055"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-17 13:08:56.203109"], ["updated_at", "2015-12-17 13:08:56.203109"]]  (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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:08:56.209513"], ["updated_at", "2015-12-17 13:08:56.209513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 7' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:08:56.211822"], ["updated_at", "2015-12-17 13:08:56.211822"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) 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", "2015-12-17 13:08:56.221207"], ["updated_at", "2015-12-17 13:08:56.221207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 8' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:08:56.224122"], ["updated_at", "2015-12-17 13:08:56.224122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2015-12-17 13:08:56.231682"], ["updated_at", "2015-12-17 13:08:56.231682"]]  (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) 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2015-12-17 13:08:56.239329"], ["updated_at", "2015-12-17 13:08:56.239329"]]  (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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-17 13:08:56.244326"], ["updated_at", "2015-12-17 13:08:56.244326"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.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.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.6ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.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", "2015-12-17 13:36:43.958366"], ["updated_at", "2015-12-17 13:36:43.958366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-17 13:36:44.064726"], ["updated_at", "2015-12-17 13:36:44.064726"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:36:44.728920"], ["updated_at", "2015-12-17 13:36:44.728920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:36:44.731365"], ["updated_at", "2015-12-17 13:36:44.731365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-17 13:36:44.743893"], ["updated_at", "2015-12-17 13:36:44.743893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT MAX("pulitzer_content_elements"."sort_order") FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? [["version_id", 2], ["kind", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "kind", "version_id", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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], ["kind", 1], ["version_id", 2], ["sort_order", 1], ["created_at", "2015-12-17 13:36:44.750781"], ["updated_at", "2015-12-17 13:36:44.750781"]]  (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 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2015-12-17 13:36:44.754315"], ["updated_at", "2015-12-17 13:36:44.754315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT MAX("pulitzer_content_elements"."sort_order") FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? [["version_id", 2], ["kind", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "kind", "version_id", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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], ["kind", 1], ["version_id", 2], ["sort_order", 2], ["created_at", "2015-12-17 13:36:44.758353"], ["updated_at", "2015-12-17 13:36:44.758353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-17 13:36:44.761335"], ["updated_at", "2015-12-17 13:36:44.761335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT MAX("pulitzer_content_elements"."sort_order") FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? [["version_id", 2], ["kind", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "kind", "version_id", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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], ["kind", 1], ["version_id", 2], ["sort_order", 3], ["created_at", "2015-12-17 13:36:44.764538"], ["updated_at", "2015-12-17 13:36:44.764538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:36:44.768697"], ["updated_at", "2015-12-17 13:36:44.768697"]]  (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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-17 13:36:44.770754"], ["updated_at", "2015-12-17 13:36:44.770754"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 13:36:44.772055"], ["updated_at", "2015-12-17 13:36:44.772055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 13:36:44.773276"], ["updated_at", "2015-12-17 13:36:44.773276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "sort_order", "kind", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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], ["sort_order", 1], ["kind", 1], ["version_id", 4], ["created_at", "2015-12-17 13:36:44.776524"], ["updated_at", "2015-12-17 13:36:44.776524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "sort_order", "kind", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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], ["sort_order", 2], ["kind", 1], ["version_id", 4], ["created_at", "2015-12-17 13:36:44.778431"], ["updated_at", "2015-12-17 13:36:44.778431"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "sort_order", "kind", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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], ["sort_order", 3], ["kind", 1], ["version_id", 4], ["created_at", "2015-12-17 13:36:44.780246"], ["updated_at", "2015-12-17 13:36:44.780246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (464.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:36:45.253297"], ["updated_at", "2015-12-17 13:36:45.253297"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-17 13:36:45.255709"], ["updated_at", "2015-12-17 13:36:45.255709"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:36:45.257334"], ["updated_at", "2015-12-17 13:36:45.257334"]]  (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", "2015-12-17 13:36:45.259307"], ["updated_at", "2015-12-17 13:36:45.259307"]]  (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 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-17 13:36:45.261841"], ["updated_at", "2015-12-17 13:36:45.261841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT MAX("pulitzer_content_elements"."sort_order") FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? [["version_id", 2], ["kind", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "kind", "version_id", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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], ["kind", 1], ["version_id", 2], ["sort_order", 1], ["created_at", "2015-12-17 13:36:45.264548"], ["updated_at", "2015-12-17 13:36:45.264548"]]  (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", "2015-12-17 13:36:45.267037"], ["updated_at", "2015-12-17 13:36:45.267037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT MAX("pulitzer_content_elements"."sort_order") FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? [["version_id", 2], ["kind", 1]] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "kind", "version_id", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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], ["kind", 1], ["version_id", 2], ["sort_order", 2], ["created_at", "2015-12-17 13:36:45.269645"], ["updated_at", "2015-12-17 13:36:45.269645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-17 13:36:45.271954"], ["updated_at", "2015-12-17 13:36:45.271954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT MAX("pulitzer_content_elements"."sort_order") FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."kind" = ? [["version_id", 2], ["kind", 1]] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "kind", "version_id", "sort_order", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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], ["kind", 1], ["version_id", 2], ["sort_order", 3], ["created_at", "2015-12-17 13:36:45.274450"], ["updated_at", "2015-12-17 13:36:45.274450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:36:45.276555"], ["updated_at", "2015-12-17 13:36:45.276555"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-17 13:36:45.278318"], ["updated_at", "2015-12-17 13:36:45.278318"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 13:36:45.279606"], ["updated_at", "2015-12-17 13:36:45.279606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 13:36:45.280783"], ["updated_at", "2015-12-17 13:36:45.280783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "sort_order", "kind", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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], ["sort_order", 1], ["kind", 1], ["version_id", 4], ["created_at", "2015-12-17 13:36:45.283576"], ["updated_at", "2015-12-17 13:36:45.283576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "sort_order", "kind", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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], ["sort_order", 2], ["kind", 1], ["version_id", 4], ["created_at", "2015-12-17 13:36:45.285604"], ["updated_at", "2015-12-17 13:36:45.285604"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "sort_order", "kind", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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], ["sort_order", 3], ["kind", 1], ["version_id", 4], ["created_at", "2015-12-17 13:36:45.288918"], ["updated_at", "2015-12-17 13:36:45.288918"]]  (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]] 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", 4]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:36:45.299270"], ["updated_at", "2015-12-17 13:36:45.299270"]]  (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 7' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2015-12-17 13:36:45.306198"], ["updated_at", "2015-12-17 13:36:45.306198"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2015-12-17 13:36:45.309133"], ["updated_at", "2015-12-17 13:36:45.309133"]]  (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 8' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2015-12-17 13:36:45.311994"], ["updated_at", "2015-12-17 13:36:45.311994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-17 13:36:45.313503"], ["updated_at", "2015-12-17 13:36:45.313503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2015-12-17 13:36:45.316007"], ["updated_at", "2015-12-17 13:36:45.316007"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-17 13:36:45.317867"], ["updated_at", "2015-12-17 13:36:45.317867"]]  (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-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", "2015-12-17 13:36:45.322516"], ["updated_at", "2015-12-17 13:36:45.322516"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:36:45.323946"], ["updated_at", "2015-12-17 13:36:45.323946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SELECT COUNT(*) FROM "pulitzer_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.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-17 13:36:45.332665"], ["updated_at", "2015-12-17 13:36:45.332665"]]  (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.2ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-17 13:36:45.339104"], ["updated_at", "2015-12-17 13:36:45.339104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-17 13:36:45.344015"], ["updated_at", "2015-12-17 13:36:45.344015"]]  (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]]  (0.8ms) 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::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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2015-12-17 13:36:45.353031"], ["updated_at", "2015-12-17 13:36:45.353031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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 11' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2015-12-17 13:36:45.358063"], ["updated_at", "2015-12-17 13:36:45.358063"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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" = 'Text 12' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2015-12-17 13:36:45.367408"], ["updated_at", "2015-12-17 13:36:45.367408"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "a"], ["title", "Night's Watch"], ["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], ["created_at", "2015-12-17 13:36:45.374490"], ["updated_at", "2015-12-17 13:36:45.374490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.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.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2015-12-17 13:36:45.395348"], ["updated_at", "2015-12-17 13:36:45.395348"]]  (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" = 'Text 14' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2015-12-17 13:36:45.400816"], ["updated_at", "2015-12-17 13:36:45.400816"]]  (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 15' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2015-12-17 13:36:45.405178"], ["updated_at", "2015-12-17 13:36:45.405178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:36:45.409996"], ["updated_at", "2015-12-17 13:36:45.409996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:36:45.416834"], ["updated_at", "2015-12-17 13:36:45.416834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2015-12-17 13:36:45.423432"], ["updated_at", "2015-12-17 13:36:45.423432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2015-12-17 13:36:45.428843"], ["updated_at", "2015-12-17 13:36:45.428843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-17 13:36:45.434560"], ["updated_at", "2015-12-17 13:36:45.434560"]]  (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.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:36:45.502796"], ["updated_at", "2015-12-17 13:36:45.502796"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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", "2015-12-17 13:36:45.515551"], ["updated_at", "2015-12-17 13:36:45.515551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2015-12-17 13:36:45.518055"], ["updated_at", "2015-12-17 13:36:45.518055"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:36:45.519964"], ["updated_at", "2015-12-17 13:36:45.519964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:36:45.524064"], ["updated_at", "2015-12-17 13:36:45.524064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.2ms) 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", "2015-12-17 13:36:45.526508"], ["updated_at", "2015-12-17 13:36:45.526508"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:36:45.528859"], ["updated_at", "2015-12-17 13:36:45.528859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-17 13:36:45.532480"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-17 13:36:45.548122"], ["updated_at", "2015-12-17 13:36:45.548122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:36:45.551808"], ["updated_at", "2015-12-17 13:36:45.551808"]]  (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.1ms) 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", "2015-12-17 13:36:45.554193"], ["updated_at", "2015-12-17 13:36:45.554193"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:36:45.555639"], ["updated_at", "2015-12-17 13:36:45.555639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:36:45.556926"], ["updated_at", "2015-12-17 13:36:45.556926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:36:45.584627"], ["updated_at", "2015-12-17 13:36:45.584627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2015-12-17 13:36:45.587612"], ["updated_at", "2015-12-17 13:36:45.587612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.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 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) 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" 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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-17 13:36:45.626845"], ["updated_at", "2015-12-17 13:36:45.626845"]]  (0.0ms) 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  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) 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", "2015-12-17 13:36:45.638413"], ["updated_at", "2015-12-17 13:36:45.638413"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]] SQL (0.3ms) 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", "2015-12-17 13:36:45.641462"], ["updated_at", "2015-12-17 13:36:45.641462"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:36:45.643243"], ["updated_at", "2015-12-17 13:36:45.643243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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.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) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1653.4ms) 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';  (7.6ms) 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.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.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';  (0.7ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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';  (2.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';  (0.1ms) begin transaction  (0.0ms) 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 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-17 13:37:39.362645"], ["updated_at", "2015-12-17 13:37:39.362645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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 2' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2015-12-17 13:37:39.377205"], ["updated_at", "2015-12-17 13:37:39.377205"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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 3' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-17 13:37:39.391669"], ["updated_at", "2015-12-17 13:37:39.391669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "a"], ["title", "Night's Watch"], ["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], ["created_at", "2015-12-17 13:37:39.401200"], ["updated_at", "2015-12-17 13:37:39.401200"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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.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 4' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-17 13:37:39.420203"], ["updated_at", "2015-12-17 13:37:39.420203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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 5' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2015-12-17 13:37:39.425853"], ["updated_at", "2015-12-17 13:37:39.425853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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 6' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-17 13:37:39.433445"], ["updated_at", "2015-12-17 13:37:39.433445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:37:39.439354"], ["updated_at", "2015-12-17 13:37:39.439354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) 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", "2015-12-17 13:37:39.448115"], ["updated_at", "2015-12-17 13:37:39.448115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO 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.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2015-12-17 13:37:39.459061"], ["updated_at", "2015-12-17 13:37:39.459061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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" = 'Text 8' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2015-12-17 13:37:39.468328"], ["updated_at", "2015-12-17 13:37:39.468328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-17 13:37:39.474021"], ["updated_at", "2015-12-17 13:37:39.474021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (124.3ms) DELETE FROM "pulitzer_content_element_types";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (2.4ms) 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.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (2.1ms) 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';  (0.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.7ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.9ms) 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.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.2ms) 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 (1.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:38:20.172516"], ["updated_at", "2015-12-17 13:38:20.172516"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO 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" = 'Video' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (846.1ms) 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.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (1.0ms) 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.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.8ms) 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.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:39:13.349897"], ["updated_at", "2015-12-17 13:39:13.349897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:39:13.364286"], ["updated_at", "2015-12-17 13:39:13.364286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2231.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2242.3ms) 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.2ms) 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';  (1.1ms) 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';  (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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.1ms) begin transaction  (0.0ms) 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", "2015-12-17 13:39:30.818270"], ["updated_at", "2015-12-17 13:39:30.818270"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-17 13:39:30.923553"], ["updated_at", "2015-12-17 13:39:30.923553"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:39:30.930899"], ["updated_at", "2015-12-17 13:39:30.930899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:39:30.932905"], ["updated_at", "2015-12-17 13:39:30.932905"]]  (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 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-17 13:39:30.945372"], ["updated_at", "2015-12-17 13:39:30.945372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-17 13:39:30.948117"], ["updated_at", "2015-12-17 13:39:30.948117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.0ms) 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", "2015-12-17 13:39:30.950551"], ["updated_at", "2015-12-17 13:39:30.950551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-17 13:39:30.952206"], ["updated_at", "2015-12-17 13:39:30.952206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-17 13:39:30.954418"], ["updated_at", "2015-12-17 13:39:30.954418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-17 13:39:30.956050"], ["updated_at", "2015-12-17 13:39:30.956050"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:39:30.960479"], ["updated_at", "2015-12-17 13:39:30.960479"]]  (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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-17 13:39:30.962519"], ["updated_at", "2015-12-17 13:39:30.962519"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 13:39:30.963883"], ["updated_at", "2015-12-17 13:39:30.963883"]]  (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", 2], ["created_at", "2015-12-17 13:39:30.965087"], ["updated_at", "2015-12-17 13:39:30.965087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:39:30.969481"], ["updated_at", "2015-12-17 13:39:30.969481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:39:30.972134"], ["updated_at", "2015-12-17 13:39:30.972134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:39:30.975804"], ["updated_at", "2015-12-17 13:39:30.975804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.2ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (1246.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", "2015-12-17 13:39:32.234871"], ["updated_at", "2015-12-17 13:39:32.234871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-17 13:39:32.237404"], ["updated_at", "2015-12-17 13:39:32.237404"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:39:32.239140"], ["updated_at", "2015-12-17 13:39:32.239140"]]  (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", "2015-12-17 13:39:32.241098"], ["updated_at", "2015-12-17 13:39:32.241098"]]  (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 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-17 13:39:32.243619"], ["updated_at", "2015-12-17 13:39:32.243619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-17 13:39:32.245387"], ["updated_at", "2015-12-17 13:39:32.245387"]]  (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.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2015-12-17 13:39:32.247823"], ["updated_at", "2015-12-17 13:39:32.247823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-17 13:39:32.249575"], ["updated_at", "2015-12-17 13:39:32.249575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-17 13:39:32.251814"], ["updated_at", "2015-12-17 13:39:32.251814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-17 13:39:32.253460"], ["updated_at", "2015-12-17 13:39:32.253460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:39:32.255499"], ["updated_at", "2015-12-17 13:39:32.255499"]]  (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-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", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-17 13:39:32.258503"], ["updated_at", "2015-12-17 13:39:32.258503"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 13:39:32.261816"], ["updated_at", "2015-12-17 13:39:32.261816"]]  (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", 2], ["created_at", "2015-12-17 13:39:32.264252"], ["updated_at", "2015-12-17 13:39:32.264252"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:39:32.268931"], ["updated_at", "2015-12-17 13:39:32.268931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:39:32.272950"], ["updated_at", "2015-12-17 13:39:32.272950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:39:32.276147"], ["updated_at", "2015-12-17 13:39:32.276147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]] 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", 4]] 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]]  (1.0ms) 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", "2015-12-17 13:39:32.285944"], ["updated_at", "2015-12-17 13:39:32.285944"]]  (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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2015-12-17 13:39:32.293444"], ["updated_at", "2015-12-17 13:39:32.293444"]]  (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", "2015-12-17 13:39:32.295636"], ["updated_at", "2015-12-17 13:39:32.295636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2015-12-17 13:39:32.297820"], ["updated_at", "2015-12-17 13:39:32.297820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-17 13:39:32.298945"], ["updated_at", "2015-12-17 13:39:32.298945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2015-12-17 13:39:32.300833"], ["updated_at", "2015-12-17 13:39:32.300833"]]  (0.1ms) 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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-17 13:39:32.301913"], ["updated_at", "2015-12-17 13:39:32.301913"]]  (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.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", "2015-12-17 13:39:32.306256"], ["updated_at", "2015-12-17 13:39:32.306256"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:39:32.308636"], ["updated_at", "2015-12-17 13:39:32.308636"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) 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.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-17 13:39:32.317984"], ["updated_at", "2015-12-17 13:39:32.317984"]]  (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.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-17 13:39:32.323837"], ["updated_at", "2015-12-17 13:39:32.323837"]]  (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.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", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-17 13:39:32.330070"], ["updated_at", "2015-12-17 13:39:32.330070"]]  (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]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2015-12-17 13:39:32.340058"], ["updated_at", "2015-12-17 13:39:32.340058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 7' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2015-12-17 13:39:32.351544"], ["updated_at", "2015-12-17 13:39:32.351544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2015-12-17 13:39:32.355743"], ["updated_at", "2015-12-17 13:39:32.355743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2015-12-17 13:39:32.359894"], ["updated_at", "2015-12-17 13:39:32.359894"]]  (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) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:39:32.364826"], ["updated_at", "2015-12-17 13:39:32.364826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 11' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:39:32.366824"], ["updated_at", "2015-12-17 13:39:32.366824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:39:32.373277"], ["updated_at", "2015-12-17 13:39:32.373277"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 12' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:39:32.375762"], ["updated_at", "2015-12-17 13:39:32.375762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.2ms) 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", "2015-12-17 13:39:32.382875"], ["updated_at", "2015-12-17 13:39:32.382875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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 15' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2015-12-17 13:39:32.387225"], ["updated_at", "2015-12-17 13:39:32.387225"]]  (0.1ms) 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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-17 13:39:32.392602"], ["updated_at", "2015-12-17 13:39:32.392602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "2015-12-17 13:39:32.465097"], ["updated_at", "2015-12-17 13:39:32.465097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]]  (0.4ms) 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.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", "2015-12-17 13:39:32.477579"], ["updated_at", "2015-12-17 13:39:32.477579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] SQL (0.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", "2015-12-17 13:39:32.480083"], ["updated_at", "2015-12-17 13:39:32.480083"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:39:32.481917"], ["updated_at", "2015-12-17 13:39:32.481917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:39:32.486058"], ["updated_at", "2015-12-17 13:39:32.486058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.2ms) 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", "2015-12-17 13:39:32.488453"], ["updated_at", "2015-12-17 13:39:32.488453"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:39:32.490894"], ["updated_at", "2015-12-17 13:39:32.490894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.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", "2015-12-17 13:39:32.494233"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-17 13:39:32.506635"], ["updated_at", "2015-12-17 13:39:32.506635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-17 13:39:32.512312"], ["updated_at", "2015-12-17 13:39:32.512312"]]  (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.1ms) 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", "2015-12-17 13:39:32.515009"], ["updated_at", "2015-12-17 13:39:32.515009"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:39:32.516560"], ["updated_at", "2015-12-17 13:39:32.516560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:39:32.517879"], ["updated_at", "2015-12-17 13:39:32.517879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:39:32.539341"], ["updated_at", "2015-12-17 13:39:32.539341"]]  (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.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2015-12-17 13:39:32.542241"], ["updated_at", "2015-12-17 13:39:32.542241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (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" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.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", "2015-12-17 13:39:32.585182"], ["updated_at", "2015-12-17 13:39:32.585182"]]  (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  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:39:32.596965"], ["updated_at", "2015-12-17 13:39:32.596965"]]  (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-10"]] SQL (0.3ms) 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", "2015-12-17 13:39:32.599780"], ["updated_at", "2015-12-17 13:39:32.599780"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:39:32.601625"], ["updated_at", "2015-12-17 13:39:32.601625"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3562.6ms) 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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.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", "2015-12-17 13:40:17.543480"], ["updated_at", "2015-12-17 13:40:17.543480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-17 13:40:17.671354"], ["updated_at", "2015-12-17 13:40:17.671354"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:40:17.678785"], ["updated_at", "2015-12-17 13:40:17.678785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:40:17.680824"], ["updated_at", "2015-12-17 13:40:17.680824"]]  (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 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-17 13:40:17.693535"], ["updated_at", "2015-12-17 13:40:17.693535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-17 13:40:17.696309"], ["updated_at", "2015-12-17 13:40:17.696309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2015-12-17 13:40:17.698883"], ["updated_at", "2015-12-17 13:40:17.698883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-17 13:40:17.700590"], ["updated_at", "2015-12-17 13:40:17.700590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-17 13:40:17.702920"], ["updated_at", "2015-12-17 13:40:17.702920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-17 13:40:17.704647"], ["updated_at", "2015-12-17 13:40:17.704647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:40:17.709098"], ["updated_at", "2015-12-17 13:40:17.709098"]]  (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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-17 13:40:17.711220"], ["updated_at", "2015-12-17 13:40:17.711220"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 13:40:17.712643"], ["updated_at", "2015-12-17 13:40:17.712643"]]  (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", 2], ["created_at", "2015-12-17 13:40:17.713927"], ["updated_at", "2015-12-17 13:40:17.713927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:40:17.717749"], ["updated_at", "2015-12-17 13:40:17.717749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:40:17.720050"], ["updated_at", "2015-12-17 13:40:17.720050"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:40:17.722551"], ["updated_at", "2015-12-17 13:40:17.722551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (1677.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", "2015-12-17 13:40:19.409974"], ["updated_at", "2015-12-17 13:40:19.409974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2015-12-17 13:40:19.412852"], ["updated_at", "2015-12-17 13:40:19.412852"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:40:19.415214"], ["updated_at", "2015-12-17 13:40:19.415214"]]  (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", "2015-12-17 13:40:19.416952"], ["updated_at", "2015-12-17 13:40:19.416952"]]  (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 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-17 13:40:19.419633"], ["updated_at", "2015-12-17 13:40:19.419633"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-17 13:40:19.421438"], ["updated_at", "2015-12-17 13:40:19.421438"]]  (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", "2015-12-17 13:40:19.423720"], ["updated_at", "2015-12-17 13:40:19.423720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-17 13:40:19.425883"], ["updated_at", "2015-12-17 13:40:19.425883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-17 13:40:19.428708"], ["updated_at", "2015-12-17 13:40:19.428708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-17 13:40:19.430510"], ["updated_at", "2015-12-17 13:40:19.430510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:40:19.432651"], ["updated_at", "2015-12-17 13:40:19.432651"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-17 13:40:19.434508"], ["updated_at", "2015-12-17 13:40:19.434508"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 13:40:19.435851"], ["updated_at", "2015-12-17 13:40:19.435851"]]  (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", 2], ["created_at", "2015-12-17 13:40:19.437112"], ["updated_at", "2015-12-17 13:40:19.437112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:40:19.440345"], ["updated_at", "2015-12-17 13:40:19.440345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:40:19.442752"], ["updated_at", "2015-12-17 13:40:19.442752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:40:19.445742"], ["updated_at", "2015-12-17 13:40:19.445742"]]  (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]] 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", 4]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) 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", "2015-12-17 13:40:19.455922"], ["updated_at", "2015-12-17 13:40:19.455922"]]  (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 7' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2015-12-17 13:40:19.466620"], ["updated_at", "2015-12-17 13:40:19.466620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", "2015-12-17 13:40:19.469521"], ["updated_at", "2015-12-17 13:40:19.469521"]]  (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 8' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2015-12-17 13:40:19.473139"], ["updated_at", "2015-12-17 13:40:19.473139"]]  (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", "2015-12-17 13:40:19.474618"], ["updated_at", "2015-12-17 13:40:19.474618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2015-12-17 13:40:19.476972"], ["updated_at", "2015-12-17 13:40:19.476972"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-17 13:40:19.478260"], ["updated_at", "2015-12-17 13:40:19.478260"]]  (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.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-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", "2015-12-17 13:40:19.482849"], ["updated_at", "2015-12-17 13:40:19.482849"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:40:19.484385"], ["updated_at", "2015-12-17 13:40:19.484385"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SELECT COUNT(*) FROM "pulitzer_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.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) 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]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-17 13:40:19.494511"], ["updated_at", "2015-12-17 13:40:19.494511"]]  (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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-17 13:40:19.500446"], ["updated_at", "2015-12-17 13:40:19.500446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-17 13:40:19.505016"], ["updated_at", "2015-12-17 13:40:19.505016"]]  (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]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2015-12-17 13:40:19.514536"], ["updated_at", "2015-12-17 13:40:19.514536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 7' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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 11' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2015-12-17 13:40:19.520160"], ["updated_at", "2015-12-17 13:40:19.520160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2015-12-17 13:40:19.528565"], ["updated_at", "2015-12-17 13:40:19.528565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "a"], ["title", "Night's Watch"], ["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], ["created_at", "2015-12-17 13:40:19.536815"], ["updated_at", "2015-12-17 13:40:19.536815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.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.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2015-12-17 13:40:19.558560"], ["updated_at", "2015-12-17 13:40:19.558560"]]  (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.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2015-12-17 13:40:19.564378"], ["updated_at", "2015-12-17 13:40:19.564378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2015-12-17 13:40:19.569739"], ["updated_at", "2015-12-17 13:40:19.569739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:40:19.575008"], ["updated_at", "2015-12-17 13:40:19.575008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 13' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:40:19.577178"], ["updated_at", "2015-12-17 13:40:19.577178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:40:19.583373"], ["updated_at", "2015-12-17 13:40:19.583373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 14' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:40:19.585517"], ["updated_at", "2015-12-17 13:40:19.585517"]]  (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.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2015-12-17 13:40:19.590917"], ["updated_at", "2015-12-17 13:40:19.590917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2015-12-17 13:40:19.596597"], ["updated_at", "2015-12-17 13:40:19.596597"]]  (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::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-17 13:40:19.601460"], ["updated_at", "2015-12-17 13:40:19.601460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "2015-12-17 13:40:19.680278"], ["updated_at", "2015-12-17 13:40:19.680278"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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.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", "2015-12-17 13:40:19.693453"], ["updated_at", "2015-12-17 13:40:19.693453"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2015-12-17 13:40:19.696416"], ["updated_at", "2015-12-17 13:40:19.696416"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:40:19.698513"], ["updated_at", "2015-12-17 13:40:19.698513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", "2015-12-17 13:40:19.703575"], ["updated_at", "2015-12-17 13:40:19.703575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.3ms) 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", "2015-12-17 13:40:19.706736"], ["updated_at", "2015-12-17 13:40:19.706736"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:40:19.709097"], ["updated_at", "2015-12-17 13:40:19.709097"]]  (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" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-17 13:40:19.711665"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-17 13:40:19.725197"], ["updated_at", "2015-12-17 13:40:19.725197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", "2015-12-17 13:40:19.731792"], ["updated_at", "2015-12-17 13:40:19.731792"]]  (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-9"]] SQL (0.1ms) 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", "2015-12-17 13:40:19.735590"], ["updated_at", "2015-12-17 13:40:19.735590"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:40:19.738237"], ["updated_at", "2015-12-17 13:40:19.738237"]]  (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", "2015-12-17 13:40:19.740797"], ["updated_at", "2015-12-17 13:40:19.740797"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) 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", "2015-12-17 13:40:19.764958"], ["updated_at", "2015-12-17 13:40:19.764958"]]  (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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2015-12-17 13:40:19.768472"], ["updated_at", "2015-12-17 13:40:19.768472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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.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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) 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.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) 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 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' 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.0ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-17 13:40:19.808445"], ["updated_at", "2015-12-17 13:40:19.808445"]]  (0.0ms) 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  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) 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", "2015-12-17 13:40:19.822398"], ["updated_at", "2015-12-17 13:40:19.822398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]] SQL (0.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", "2015-12-17 13:40:19.824929"], ["updated_at", "2015-12-17 13:40:19.824929"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:40:19.826562"], ["updated_at", "2015-12-17 13:40:19.826562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (500.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.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.6ms) 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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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.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.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.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", "2015-12-17 13:40:25.099952"], ["updated_at", "2015-12-17 13:40:25.099952"]]  (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-1"]] SQL (0.6ms) 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", "2015-12-17 13:40:25.199662"], ["updated_at", "2015-12-17 13:40:25.199662"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:40:25.209655"], ["updated_at", "2015-12-17 13:40:25.209655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:40:25.212292"], ["updated_at", "2015-12-17 13:40:25.212292"]]  (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 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-17 13:40:25.224988"], ["updated_at", "2015-12-17 13:40:25.224988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-17 13:40:25.228832"], ["updated_at", "2015-12-17 13:40:25.228832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2015-12-17 13:40:25.232439"], ["updated_at", "2015-12-17 13:40:25.232439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-17 13:40:25.234641"], ["updated_at", "2015-12-17 13:40:25.234641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.6ms) 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", "2015-12-17 13:40:25.239717"], ["updated_at", "2015-12-17 13:40:25.239717"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-17 13:40:25.243774"], ["updated_at", "2015-12-17 13:40:25.243774"]]  (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.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", "2015-12-17 13:40:25.249911"], ["updated_at", "2015-12-17 13:40:25.249911"]]  (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-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", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-17 13:40:25.253014"], ["updated_at", "2015-12-17 13:40:25.253014"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 13:40:25.254607"], ["updated_at", "2015-12-17 13:40:25.254607"]]  (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", 2], ["created_at", "2015-12-17 13:40:25.255852"], ["updated_at", "2015-12-17 13:40:25.255852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 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]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:40:25.259760"], ["updated_at", "2015-12-17 13:40:25.259760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:40:25.262116"], ["updated_at", "2015-12-17 13:40:25.262116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:40:25.266421"], ["updated_at", "2015-12-17 13:40:25.266421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (3232.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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", "2015-12-17 13:40:28.511155"], ["updated_at", "2015-12-17 13:40:28.511155"]]  (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-3"]] SQL (0.6ms) 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", "2015-12-17 13:40:28.516605"], ["updated_at", "2015-12-17 13:40:28.516605"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:40:28.520313"], ["updated_at", "2015-12-17 13:40:28.520313"]]  (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", "2015-12-17 13:40:28.523312"], ["updated_at", "2015-12-17 13:40:28.523312"]]  (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 4' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-17 13:40:28.528634"], ["updated_at", "2015-12-17 13:40:28.528634"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-17 13:40:28.533119"], ["updated_at", "2015-12-17 13:40:28.533119"]]  (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 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2015-12-17 13:40:28.538118"], ["updated_at", "2015-12-17 13:40:28.538118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-17 13:40:28.540187"], ["updated_at", "2015-12-17 13:40:28.540187"]]  (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 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-17 13:40:28.543346"], ["updated_at", "2015-12-17 13:40:28.543346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-17 13:40:28.545498"], ["updated_at", "2015-12-17 13:40:28.545498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:40:28.547850"], ["updated_at", "2015-12-17 13:40:28.547850"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-17 13:40:28.549751"], ["updated_at", "2015-12-17 13:40:28.549751"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 13:40:28.551048"], ["updated_at", "2015-12-17 13:40:28.551048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 13:40:28.552359"], ["updated_at", "2015-12-17 13:40:28.552359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:40:28.559694"], ["updated_at", "2015-12-17 13:40:28.559694"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:40:28.564269"], ["updated_at", "2015-12-17 13:40:28.564269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:40:28.567857"], ["updated_at", "2015-12-17 13:40:28.567857"]]  (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]] 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", 4]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:40:28.577380"], ["updated_at", "2015-12-17 13:40:28.577380"]]  (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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2015-12-17 13:40:28.585277"], ["updated_at", "2015-12-17 13:40:28.585277"]]  (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", "2015-12-17 13:40:28.587488"], ["updated_at", "2015-12-17 13:40:28.587488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2015-12-17 13:40:28.589674"], ["updated_at", "2015-12-17 13:40:28.589674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-17 13:40:28.590790"], ["updated_at", "2015-12-17 13:40:28.590790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2015-12-17 13:40:28.592707"], ["updated_at", "2015-12-17 13:40:28.592707"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2015-12-17 13:40:28.593840"], ["updated_at", "2015-12-17 13:40:28.593840"]]  (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.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.2ms) 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", "2015-12-17 13:40:28.598176"], ["updated_at", "2015-12-17 13:40:28.598176"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:40:28.601297"], ["updated_at", "2015-12-17 13:40:28.601297"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 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.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) 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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-17 13:40:28.613249"], ["updated_at", "2015-12-17 13:40:28.613249"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-17 13:40:28.619495"], ["updated_at", "2015-12-17 13:40:28.619495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-17 13:40:28.623460"], ["updated_at", "2015-12-17 13:40:28.623460"]]  (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) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]  (0.9ms) 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 10' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2015-12-17 13:40:28.633296"], ["updated_at", "2015-12-17 13:40:28.633296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 7' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2015-12-17 13:40:28.638714"], ["updated_at", "2015-12-17 13:40:28.638714"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2015-12-17 13:40:28.646783"], ["updated_at", "2015-12-17 13:40:28.646783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "a"], ["title", "Night's Watch"], ["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], ["created_at", "2015-12-17 13:40:28.653469"], ["updated_at", "2015-12-17 13:40:28.653469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.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 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2015-12-17 13:40:28.669602"], ["updated_at", "2015-12-17 13:40:28.669602"]]  (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::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", "2015-12-17 13:40:28.673966"], ["updated_at", "2015-12-17 13:40:28.673966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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 15' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2015-12-17 13:40:28.678205"], ["updated_at", "2015-12-17 13:40:28.678205"]]  (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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:40:28.683248"], ["updated_at", "2015-12-17 13:40:28.683248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 13' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:40:28.685276"], ["updated_at", "2015-12-17 13:40:28.685276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:40:28.690416"], ["updated_at", "2015-12-17 13:40:28.690416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 14' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:40:28.692402"], ["updated_at", "2015-12-17 13:40:28.692402"]]  (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" = 'Text 16' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2015-12-17 13:40:28.697554"], ["updated_at", "2015-12-17 13:40:28.697554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2015-12-17 13:40:28.702052"], ["updated_at", "2015-12-17 13:40:28.702052"]]  (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::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-17 13:40:28.707475"], ["updated_at", "2015-12-17 13:40:28.707475"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "2015-12-17 13:40:28.780621"], ["updated_at", "2015-12-17 13:40:28.780621"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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", "2015-12-17 13:40:28.794872"], ["updated_at", "2015-12-17 13:40:28.794872"]]  (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-7"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2015-12-17 13:40:28.797822"], ["updated_at", "2015-12-17 13:40:28.797822"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:40:28.799792"], ["updated_at", "2015-12-17 13:40:28.799792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:40:28.804053"], ["updated_at", "2015-12-17 13:40:28.804053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.3ms) 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", "2015-12-17 13:40:28.806485"], ["updated_at", "2015-12-17 13:40:28.806485"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:40:28.808658"], ["updated_at", "2015-12-17 13:40:28.808658"]]  (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.3ms) 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", "2015-12-17 13:40:28.811032"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-17 13:40:28.823977"], ["updated_at", "2015-12-17 13:40:28.823977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:40:28.827647"], ["updated_at", "2015-12-17 13:40:28.827647"]]  (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-9"]] SQL (0.1ms) 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", "2015-12-17 13:40:28.830218"], ["updated_at", "2015-12-17 13:40:28.830218"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:40:28.831797"], ["updated_at", "2015-12-17 13:40:28.831797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:40:28.833123"], ["updated_at", "2015-12-17 13:40:28.833123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.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", "2015-12-17 13:40:28.855890"], ["updated_at", "2015-12-17 13:40:28.855890"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2015-12-17 13:40:28.858810"], ["updated_at", "2015-12-17 13:40:28.858810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.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) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-17 13:40:28.896297"], ["updated_at", "2015-12-17 13:40:28.896297"]]  (0.0ms) 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  (0.5ms) 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.1ms) 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", "2015-12-17 13:40:28.909014"], ["updated_at", "2015-12-17 13:40:28.909014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]] SQL (0.3ms) 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", "2015-12-17 13:40:28.911822"], ["updated_at", "2015-12-17 13:40:28.911822"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:40:28.913647"], ["updated_at", "2015-12-17 13:40:28.913647"]]  (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) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (361.2ms) 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.5ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (2.2ms) 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';  (0.8ms) 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.0ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.0ms) 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_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.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.6ms) 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.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", "2015-12-17 13:41:40.064600"], ["updated_at", "2015-12-17 13:41:40.064600"]]  (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-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2015-12-17 13:41:40.170586"], ["updated_at", "2015-12-17 13:41:40.170586"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:41:40.178337"], ["updated_at", "2015-12-17 13:41:40.178337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:41:40.180418"], ["updated_at", "2015-12-17 13:41:40.180418"]]  (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 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2015-12-17 13:41:40.195830"], ["updated_at", "2015-12-17 13:41:40.195830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", "2015-12-17 13:41:40.198725"], ["updated_at", "2015-12-17 13:41:40.198725"]]  (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", "2015-12-17 13:41:40.201224"], ["updated_at", "2015-12-17 13:41:40.201224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", "2015-12-17 13:41:40.202930"], ["updated_at", "2015-12-17 13:41:40.202930"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2015-12-17 13:41:40.205200"], ["updated_at", "2015-12-17 13:41:40.205200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", "2015-12-17 13:41:40.206908"], ["updated_at", "2015-12-17 13:41:40.206908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.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", "2015-12-17 13:41:40.211518"], ["updated_at", "2015-12-17 13:41:40.211518"]]  (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-2"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 2], ["slug", "winterfell-news-2"], ["created_at", "2015-12-17 13:41:40.215660"], ["updated_at", "2015-12-17 13:41:40.215660"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 13:41:40.218407"], ["updated_at", "2015-12-17 13:41:40.218407"]]  (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", 2], ["created_at", "2015-12-17 13:41:40.220227"], ["updated_at", "2015-12-17 13:41:40.220227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]] 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", 2]]  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:41:40.226445"], ["updated_at", "2015-12-17 13:41:40.226445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:41:40.229854"], ["updated_at", "2015-12-17 13:41:40.229854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:41:40.232215"], ["updated_at", "2015-12-17 13:41:40.232215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (1011.7ms) 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", "2015-12-17 13:41:41.253946"], ["updated_at", "2015-12-17 13:41:41.253946"]]  (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.6ms) 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", "2015-12-17 13:41:41.256983"], ["updated_at", "2015-12-17 13:41:41.256983"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:41:41.259555"], ["updated_at", "2015-12-17 13:41:41.259555"]]  (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", "2015-12-17 13:41:41.261362"], ["updated_at", "2015-12-17 13:41:41.261362"]]  (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 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2015-12-17 13:41:41.264330"], ["updated_at", "2015-12-17 13:41:41.264330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", "2015-12-17 13:41:41.266393"], ["updated_at", "2015-12-17 13:41:41.266393"]]  (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 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2015-12-17 13:41:41.269943"], ["updated_at", "2015-12-17 13:41:41.269943"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", "2015-12-17 13:41:41.274214"], ["updated_at", "2015-12-17 13:41:41.274214"]]  (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 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2015-12-17 13:41:41.278810"], ["updated_at", "2015-12-17 13:41:41.278810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 2) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", "2015-12-17 13:41:41.281616"], ["updated_at", "2015-12-17 13:41:41.281616"]]  (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", "2015-12-17 13:41:41.284623"], ["updated_at", "2015-12-17 13:41:41.284623"]]  (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-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 2], ["slug", "winterfell-news-4"], ["created_at", "2015-12-17 13:41:41.287785"], ["updated_at", "2015-12-17 13:41:41.287785"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2015-12-17 13:41:41.289494"], ["updated_at", "2015-12-17 13:41:41.289494"]]  (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", 2], ["created_at", "2015-12-17 13:41:41.291894"], ["updated_at", "2015-12-17 13:41:41.291894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 4' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:41:41.295406"], ["updated_at", "2015-12-17 13:41:41.295406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 5' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:41:41.297756"], ["updated_at", "2015-12-17 13:41:41.297756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 6' AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["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", 4], ["created_at", "2015-12-17 13:41:41.299944"], ["updated_at", "2015-12-17 13:41:41.299944"]]  (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]] 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", 4]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) 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", "2015-12-17 13:41:41.308147"], ["updated_at", "2015-12-17 13:41:41.308147"]]  (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 7' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2015-12-17 13:41:41.317157"], ["updated_at", "2015-12-17 13:41:41.317157"]]  (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", "2015-12-17 13:41:41.319361"], ["updated_at", "2015-12-17 13:41:41.319361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2015-12-17 13:41:41.321535"], ["updated_at", "2015-12-17 13:41:41.321535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2015-12-17 13:41:41.322705"], ["updated_at", "2015-12-17 13:41:41.322705"]]  (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 9' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2015-12-17 13:41:41.325395"], ["updated_at", "2015-12-17 13:41:41.325395"]]  (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", "2015-12-17 13:41:41.327229"], ["updated_at", "2015-12-17 13:41:41.327229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]] SQL (0.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", "2015-12-17 13:41:41.332828"], ["updated_at", "2015-12-17 13:41:41.332828"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:41:41.334695"], ["updated_at", "2015-12-17 13:41:41.334695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) 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.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) 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]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 1' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2015-12-17 13:41:41.343627"], ["updated_at", "2015-12-17 13:41:41.343627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 2' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2015-12-17 13:41:41.350107"], ["updated_at", "2015-12-17 13:41:41.350107"]]  (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", 3]] Pulitzer::ContentElement Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 3' AND "pulitzer_content_elements"."version_id" = 1) LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2015-12-17 13:41:41.356789"], ["updated_at", "2015-12-17 13:41:41.356789"]]  (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]]  (0.8ms) 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 10' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2015-12-17 13:41:41.365691"], ["updated_at", "2015-12-17 13:41:41.365691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 7' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.5ms) 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 11' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2015-12-17 13:41:41.371077"], ["updated_at", "2015-12-17 13:41:41.371077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2015-12-17 13:41:41.379755"], ["updated_at", "2015-12-17 13:41:41.379755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "a"], ["title", "Night's Watch"], ["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], ["created_at", "2015-12-17 13:41:41.386368"], ["updated_at", "2015-12-17 13:41:41.386368"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2015-12-17 13:41:41.403738"], ["updated_at", "2015-12-17 13:41:41.403738"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2015-12-17 13:41:41.409079"], ["updated_at", "2015-12-17 13:41:41.409079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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 15' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2015-12-17 13:41:41.413341"], ["updated_at", "2015-12-17 13:41:41.413341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:41:41.418152"], ["updated_at", "2015-12-17 13:41:41.418152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 13' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:41:41.420175"], ["updated_at", "2015-12-17 13:41:41.420175"]]  (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 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2015-12-17 13:41:41.425711"], ["updated_at", "2015-12-17 13:41:41.425711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 14' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2015-12-17 13:41:41.428589"], ["updated_at", "2015-12-17 13:41:41.428589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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 16' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2015-12-17 13:41:41.434136"], ["updated_at", "2015-12-17 13:41:41.434136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) 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" = 'Text 17' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2015-12-17 13:41:41.439018"], ["updated_at", "2015-12-17 13:41:41.439018"]]  (0.1ms) 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::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2015-12-17 13:41:41.445072"], ["updated_at", "2015-12-17 13:41:41.445072"]]  (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) 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", "2015-12-17 13:41:41.519768"], ["updated_at", "2015-12-17 13:41:41.519768"]]  (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-6"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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", "2015-12-17 13:41:41.532037"], ["updated_at", "2015-12-17 13:41:41.532037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2015-12-17 13:41:41.534529"], ["updated_at", "2015-12-17 13:41:41.534529"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:41:41.536431"], ["updated_at", "2015-12-17 13:41:41.536431"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:41:41.540595"], ["updated_at", "2015-12-17 13:41:41.540595"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.4ms) 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", "2015-12-17 13:41:41.543074"], ["updated_at", "2015-12-17 13:41:41.543074"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:41:41.545372"], ["updated_at", "2015-12-17 13:41:41.545372"]]  (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.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2015-12-17 13:41:41.547722"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2015-12-17 13:41:41.560498"], ["updated_at", "2015-12-17 13:41:41.560498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:41:41.563958"], ["updated_at", "2015-12-17 13:41:41.563958"]]  (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.1ms) 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", "2015-12-17 13:41:41.566343"], ["updated_at", "2015-12-17 13:41:41.566343"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:41:41.567760"], ["updated_at", "2015-12-17 13:41:41.567760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:41:41.569004"], ["updated_at", "2015-12-17 13:41:41.569004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2015-12-17 13:41:41.593008"], ["updated_at", "2015-12-17 13:41:41.593008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2015-12-17 13:41:41.595846"], ["updated_at", "2015-12-17 13:41:41.595846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.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.1ms) 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.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) 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 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.1ms) 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.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2015-12-17 13:41:41.642470"], ["updated_at", "2015-12-17 13:41:41.642470"]]  (0.0ms) 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.0ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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", "2015-12-17 13:41:41.653259"], ["updated_at", "2015-12-17 13:41:41.653259"]]  (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-10"]] SQL (0.3ms) 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", "2015-12-17 13:41:41.656237"], ["updated_at", "2015-12-17 13:41:41.656237"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2015-12-17 13:41:41.658010"], ["updated_at", "2015-12-17 13:41:41.658010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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)   (0.8ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0)  (0.7ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar)  (0.8ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)   (0.8ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)  (0.1ms) select sqlite_version(*)  (1.1ms) 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)   (0.8ms) CREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160122204201')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150901153531') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (535.5ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.2ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0)  (0.9ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar)  (0.9ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)   (0.9ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")  (1.0ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20160122204201')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150901153531') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (184.6ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (7.3ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0)  (1.6ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar)  (0.8ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)   (0.9ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)  (0.1ms) select sqlite_version(*)  (1.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")  (0.7ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) CREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160122204201')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150901153531') 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  (475.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) 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.4ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.8ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (0.6ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]  (1.2ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.6ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.6ms) 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2016-03-02 17:02:13.797265"], ["updated_at", "2016-03-02 17:02:13.797265"]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-03-02 17:02:13.799224"], ["updated_at", "2016-03-02 17:02:13.799224"]] Pulitzer::ContentElementType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-03-02 17:02:13.800367"], ["updated_at", "2016-03-02 17:02:13.800367"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (1.0ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.3ms) 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 CreateSearchLocations (20150901153531)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "search_locations" ("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", "20150901153531"]]  (0.7ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.0ms) begin transaction  (0.4ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "pulitzer_post_tags"  (0.3ms) DROP TABLE "pulitzer_post_tags"  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "apulitzer_post_tags"  (0.3ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (1.0ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."id" ASC) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (0.8ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.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.1ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "pulitzer_content_elements"  (0.2ms) DROP TABLE "pulitzer_content_elements"  (0.1ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) 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.0ms) SELECT * FROM "pulitzer_post_tags"  (0.3ms) DROP TABLE "pulitzer_post_tags"  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_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" 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"]]  (0.9ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer Scoped order and limit are ignored, it's forced to be batch order and batch size Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1000 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.8ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "template" boolean)   (0.0ms) SELECT * FROM "pulitzer_post_types"  (0.2ms) DROP TABLE "pulitzer_post_types"  (0.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean)  (0.0ms) SELECT * FROM "apulitzer_post_types"  (0.1ms) DROP TABLE "apulitzer_post_types"  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.7ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.6ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_posts_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_posts_on_slug' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) DELETE FROM "pulitzer_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (0.6ms) 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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.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", "2016-03-02 17:02:21.547962"], ["updated_at", "2016-03-02 17:02:21.547962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-03-02 17:02:21.698442"], ["updated_at", "2016-03-02 17:02:21.698442"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:02:21.706525"], ["updated_at", "2016-03-02 17:02:21.706525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:02:21.708685"], ["updated_at", "2016-03-02 17:02:21.708685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-03-02 17:02:21.721684"], ["updated_at", "2016-03-02 17:02:21.721684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-03-02 17:02:21.723919"], ["updated_at", "2016-03-02 17:02:21.723919"]]  (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", "2016-03-02 17:02:21.726547"], ["updated_at", "2016-03-02 17:02:21.726547"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-03-02 17:02:21.727833"], ["updated_at", "2016-03-02 17:02:21.727833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-03-02 17:02:21.730353"], ["updated_at", "2016-03-02 17:02:21.730353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-03-02 17:02:21.731704"], ["updated_at", "2016-03-02 17:02:21.731704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-03-02 17:02:23.624468"], ["updated_at", "2016-03-02 17:02:23.624468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] Pulitzer::ContentElement Load (0.2ms) 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.2ms) 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", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-03-02 17:02:21.723919"], ["updated_at", "2016-03-02 17:02:21.723919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:02:23.635577"], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-03-02 17:02:21.727833"], ["updated_at", "2016-03-02 17:02:21.727833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:02:23.640838"], ["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.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-03-02 17:02:21.731704"], ["updated_at", "2016-03-02 17:02:21.731704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:02:23.644754"], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-03-02 17:02:23.647717"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-02 17:02:23.656401"], ["updated_at", "2016-03-02 17:02:23.656401"]]  (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.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-03-02 17:02:23.658788"], ["updated_at", "2016-03-02 17:02:23.658788"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:02:23.660499"], ["updated_at", "2016-03-02 17:02:23.660499"]]  (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", "2016-03-02 17:02:23.662607"], ["updated_at", "2016-03-02 17:02:23.662607"]]  (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 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-03-02 17:02:23.665349"], ["updated_at", "2016-03-02 17:02:23.665349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-03-02 17:02:23.666866"], ["updated_at", "2016-03-02 17:02:23.666866"]]  (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", "2016-03-02 17:02:23.669244"], ["updated_at", "2016-03-02 17:02:23.669244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-03-02 17:02:23.670549"], ["updated_at", "2016-03-02 17:02:23.670549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-03-02 17:02:23.672863"], ["updated_at", "2016-03-02 17:02:23.672863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-03-02 17:02:23.674133"], ["updated_at", "2016-03-02 17:02:23.674133"]]  (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", "2016-03-02 17:02:23.675830"], ["updated_at", "2016-03-02 17:02:23.675830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/gomayonqui/.rbenv/versions/2.2.3/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", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-03-02 17:02:23.666866"], ["updated_at", "2016-03-02 17:02:23.666866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:02:23.683379"], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-03-02 17:02:23.670549"], ["updated_at", "2016-03-02 17:02:23.670549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:02:23.688254"], ["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", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-03-02 17:02:23.674133"], ["updated_at", "2016-03-02 17:02:23.674133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:02:23.694797"], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-03-02 17:02:23.696920"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-02 17:02:23.708885"], ["updated_at", "2016-03-02 17:02:23.708885"]]  (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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-03-02 17:02:23.716480"], ["updated_at", "2016-03-02 17:02:23.716480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-03-02 17:02:23.718783"], ["updated_at", "2016-03-02 17:02:23.718783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-03-02 17:02:23.721068"], ["updated_at", "2016-03-02 17:02:23.721068"]]  (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", "2016-03-02 17:02:23.722269"], ["updated_at", "2016-03-02 17:02:23.722269"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-03-02 17:02:23.724194"], ["updated_at", "2016-03-02 17:02:23.724194"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-03-02 17:02:23.725335"], ["updated_at", "2016-03-02 17:02:23.725335"]]  (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.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-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", "2016-03-02 17:02:23.729619"], ["updated_at", "2016-03-02 17:02:23.729619"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:02:23.731211"], ["updated_at", "2016-03-02 17:02:23.731211"]]  (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) 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.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] SQL (0.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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-03-02 17:02:23.738009"], ["updated_at", "2016-03-02 17:02:23.738009"]]  (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.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-03-02 17:02:23.742480"], ["updated_at", "2016-03-02 17:02:23.742480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-03-02 17:02:23.746960"], ["updated_at", "2016-03-02 17:02:23.746960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-02 17:02:23.756748"], ["updated_at", "2016-03-02 17:02:23.756748"]]  (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-4"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-03-02 17:02:23.759572"], ["updated_at", "2016-03-02 17:02:23.759572"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:02:23.761460"], ["updated_at", "2016-03-02 17:02:23.761460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:02:23.763287"], ["updated_at", "2016-03-02 17:02:23.763287"]]  (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", "2016-03-02 17:02:23.766094"], ["updated_at", "2016-03-02 17:02:23.766094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-03-02 17:02:23.767524"], ["updated_at", "2016-03-02 17:02:23.767524"]]  (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", "2016-03-02 17:02:23.769878"], ["updated_at", "2016-03-02 17:02:23.769878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-03-02 17:02:23.771328"], ["updated_at", "2016-03-02 17:02:23.771328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-03-02 17:02:23.773816"], ["updated_at", "2016-03-02 17:02:23.773816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-03-02 17:02:23.775185"], ["updated_at", "2016-03-02 17:02:23.775185"]]  (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", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-03-02 17:02:23.777247"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-03-02 17:02:23.778563"], ["updated_at", "2016-03-02 17:02:23.778563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 9a3ac2db-185a-4391-9fd9-05d3f63f6ccc) 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] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] Pulitzer::Version Load (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] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] 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] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] 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] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-03-02 17:02:23.767524"], ["updated_at", "2016-03-02 17:02:23.767524"]] [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:02:23.793211"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] 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] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-03-02 17:02:23.771328"], ["updated_at", "2016-03-02 17:02:23.771328"]] [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:02:23.797633"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] 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] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-03-02 17:02:23.775185"], ["updated_at", "2016-03-02 17:02:23.775185"]] [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:02:23.802950"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] 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] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-03-02 17:02:23.804796"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [9a3ac2db-185a-4391-9fd9-05d3f63f6ccc] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.43ms Pulitzer::Version Load (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", 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.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-02 17:02:23.818702"], ["updated_at", "2016-03-02 17:02:23.818702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-03-02 17:02:23.821579"], ["updated_at", "2016-03-02 17:02:23.821579"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:02:23.823386"], ["updated_at", "2016-03-02 17:02:23.823386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:02:23.825198"], ["updated_at", "2016-03-02 17:02:23.825198"]]  (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", "2016-03-02 17:02:23.827882"], ["updated_at", "2016-03-02 17:02:23.827882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-03-02 17:02:23.829289"], ["updated_at", "2016-03-02 17:02:23.829289"]]  (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 14' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-03-02 17:02:23.831714"], ["updated_at", "2016-03-02 17:02:23.831714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-03-02 17:02:23.833255"], ["updated_at", "2016-03-02 17:02:23.833255"]]  (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 15' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-03-02 17:02:23.835833"], ["updated_at", "2016-03-02 17:02:23.835833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-03-02 17:02:23.837117"], ["updated_at", "2016-03-02 17:02:23.837117"]]  (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", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-03-02 17:02:23.839075"], ["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", "2016-03-02 17:02:23.840358"], ["updated_at", "2016-03-02 17:02:23.840358"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: dca3a419-b3a4-4a83-bfdb-14b1187c3281) 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] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] Pulitzer::Version Load (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] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] 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] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] 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] [dca3a419-b3a4-4a83-bfdb-14b1187c3281]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-03-02 17:02:23.829289"], ["updated_at", "2016-03-02 17:02:23.829289"]] [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:02:23.847490"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] 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] [dca3a419-b3a4-4a83-bfdb-14b1187c3281]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-03-02 17:02:23.833255"], ["updated_at", "2016-03-02 17:02:23.833255"]] [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:02:23.852017"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] 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] [dca3a419-b3a4-4a83-bfdb-14b1187c3281]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-03-02 17:02:23.837117"], ["updated_at", "2016-03-02 17:02:23.837117"]] [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:02:23.861449"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] 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] [dca3a419-b3a4-4a83-bfdb-14b1187c3281]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-03-02 17:02:23.865151"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [dca3a419-b3a4-4a83-bfdb-14b1187c3281] Performed Pulitzer::CloneVersionJob from Inline(default) in 27.87ms 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.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::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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-03-02 17:02:23.875775"], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-03-02 17:02:23.878437"], ["updated_at", "2016-03-02 17:02:23.878437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 2632d66a-b41e-4d8c-bb4b-bd2637596645) 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] [2632d66a-b41e-4d8c-bb4b-bd2637596645] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645] /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645] Pulitzer::Version Load (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] [2632d66a-b41e-4d8c-bb4b-bd2637596645] 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] [2632d66a-b41e-4d8c-bb4b-bd2637596645] 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] [2632d66a-b41e-4d8c-bb4b-bd2637596645]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-03-02 17:02:23.829289"], ["updated_at", "2016-03-02 17:02:23.829289"]] [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-03-02 17:02:23.889555"], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645] 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] [2632d66a-b41e-4d8c-bb4b-bd2637596645]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-03-02 17:02:23.833255"], ["updated_at", "2016-03-02 17:02:23.833255"]] [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-03-02 17:02:23.894339"], ["id", 8]] [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645] 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] [2632d66a-b41e-4d8c-bb4b-bd2637596645]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-03-02 17:02:23.837117"], ["updated_at", "2016-03-02 17:02:23.837117"]] [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-03-02 17:02:23.898364"], ["id", 9]] [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645] 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] [2632d66a-b41e-4d8c-bb4b-bd2637596645]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-03-02 17:02:23.900041"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2632d66a-b41e-4d8c-bb4b-bd2637596645] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.83ms 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]]  (284.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-03-02 17:02:24.198776"], ["updated_at", "2016-03-02 17:02:24.198776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) 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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-03-02 17:02:24.209047"], ["updated_at", "2016-03-02 17:02:24.209047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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 18' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-03-02 17:02:24.214817"], ["updated_at", "2016-03-02 17:02:24.214817"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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 19' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-03-02 17:02:24.222458"], ["updated_at", "2016-03-02 17:02:24.222458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-03-02 17:02:24.230736"], ["updated_at", "2016-03-02 17:02:24.230736"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-03-02 17:02:24.233450"], ["updated_at", "2016-03-02 17:02:24.233450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-03-02 17:02:24.238946"], ["updated_at", "2016-03-02 17:02:24.238946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-03-02 17:02:24.240602"], ["updated_at", "2016-03-02 17:02:24.240602"]]  (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 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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-03-02 17:02:24.245991"], ["updated_at", "2016-03-02 17:02:24.245991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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 21' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-03-02 17:02:24.250648"], ["updated_at", "2016-03-02 17:02:24.250648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-03-02 17:02:24.255999"], ["updated_at", "2016-03-02 17:02:24.255999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-02 17:02:24.403317"], ["updated_at", "2016-03-02 17:02:24.403317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]]  (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.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-02 17:02:24.416277"], ["updated_at", "2016-03-02 17:02:24.416277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-03-02 17:02:24.418907"], ["updated_at", "2016-03-02 17:02:24.418907"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:02:24.420943"], ["updated_at", "2016-03-02 17:02:24.420943"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-02 17:02:24.425125"], ["updated_at", "2016-03-02 17:02:24.425125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-03-02 17:02:24.427529"], ["updated_at", "2016-03-02 17:02:24.427529"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:02:24.429704"], ["updated_at", "2016-03-02 17:02:24.429704"]]  (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", "2016-03-02 17:02:24.432202"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-03-02 17:02:24.445298"], ["updated_at", "2016-03-02 17:02:24.445298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", "2016-03-02 17:02:24.449633"], ["updated_at", "2016-03-02 17:02:24.449633"]]  (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.1ms) 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", "2016-03-02 17:02:24.452399"], ["updated_at", "2016-03-02 17:02:24.452399"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:02:24.453942"], ["updated_at", "2016-03-02 17:02:24.453942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:02:24.455296"], ["updated_at", "2016-03-02 17:02:24.455296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-02 17:02:24.481234"], ["updated_at", "2016-03-02 17:02:24.481234"]]  (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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-03-02 17:02:24.484155"], ["updated_at", "2016-03-02 17:02:24.484155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (14.3ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1  (0.0ms) 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" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) 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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-03-02 17:02:24.538013"], ["updated_at", "2016-03-02 17:02:24.538013"]]  (0.0ms) 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  (0.6ms) 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.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-02 17:02:24.551514"], ["updated_at", "2016-03-02 17:02:24.551514"]]  (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-10"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-03-02 17:02:24.554301"], ["updated_at", "2016-03-02 17:02:24.554301"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:02:24.556915"], ["updated_at", "2016-03-02 17:02:24.556915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1608.0ms) 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';  (1.0ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) 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.0ms) 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.3ms) DELETE FROM "search_locations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.3ms) DELETE FROM "pulitzer_versions";  (0.3ms) 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_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (0.9ms) 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';  (2.7ms) DELETE FROM "pulitzer_post_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_types';  (0.1ms) begin transaction  (0.1ms) 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", "2016-03-02 17:05:24.292598"], ["updated_at", "2016-03-02 17:05:24.292598"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-03-02 17:05:24.461209"], ["updated_at", "2016-03-02 17:05:24.461209"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:05:24.469002"], ["updated_at", "2016-03-02 17:05:24.469002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:05:24.471173"], ["updated_at", "2016-03-02 17:05:24.471173"]]  (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 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-03-02 17:05:24.483926"], ["updated_at", "2016-03-02 17:05:24.483926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-03-02 17:05:24.486243"], ["updated_at", "2016-03-02 17:05:24.486243"]]  (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", "2016-03-02 17:05:24.488826"], ["updated_at", "2016-03-02 17:05:24.488826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-03-02 17:05:24.490214"], ["updated_at", "2016-03-02 17:05:24.490214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-03-02 17:05:24.492499"], ["updated_at", "2016-03-02 17:05:24.492499"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-03-02 17:05:24.493813"], ["updated_at", "2016-03-02 17:05:24.493813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (83.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (33.9ms) 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.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.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.7ms) 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.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", "2016-03-02 17:06:06.922969"], ["updated_at", "2016-03-02 17:06:06.922969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-03-02 17:06:07.078072"], ["updated_at", "2016-03-02 17:06:07.078072"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:06:07.086161"], ["updated_at", "2016-03-02 17:06:07.086161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:06:07.088478"], ["updated_at", "2016-03-02 17:06:07.088478"]]  (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 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-03-02 17:06:07.101391"], ["updated_at", "2016-03-02 17:06:07.101391"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-03-02 17:06:07.103582"], ["updated_at", "2016-03-02 17:06:07.103582"]]  (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", "2016-03-02 17:06:07.106124"], ["updated_at", "2016-03-02 17:06:07.106124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-03-02 17:06:07.107439"], ["updated_at", "2016-03-02 17:06:07.107439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-03-02 17:06:07.109701"], ["updated_at", "2016-03-02 17:06:07.109701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-03-02 17:06:07.111014"], ["updated_at", "2016-03-02 17:06:07.111014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-03-02 17:06:07.113904"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-03-02 17:06:07.115994"], ["updated_at", "2016-03-02 17:06:07.115994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: ea9a58ab-5b04-4c61-8da1-fcab32493932) 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] [ea9a58ab-5b04-4c61-8da1-fcab32493932] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932] /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932] Pulitzer::Version Load (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] [ea9a58ab-5b04-4c61-8da1-fcab32493932] 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] [ea9a58ab-5b04-4c61-8da1-fcab32493932] 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] [ea9a58ab-5b04-4c61-8da1-fcab32493932]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-03-02 17:06:07.103582"], ["updated_at", "2016-03-02 17:06:07.103582"]] [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:06:07.130528"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932] 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] [ea9a58ab-5b04-4c61-8da1-fcab32493932]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-03-02 17:06:07.107439"], ["updated_at", "2016-03-02 17:06:07.107439"]] [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:06:07.134591"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932] 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] [ea9a58ab-5b04-4c61-8da1-fcab32493932]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932] SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-03-02 17:06:07.111014"], ["updated_at", "2016-03-02 17:06:07.111014"]] [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:06:07.138424"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932] 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] [ea9a58ab-5b04-4c61-8da1-fcab32493932]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-03-02 17:06:07.141443"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ea9a58ab-5b04-4c61-8da1-fcab32493932] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.35ms Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]  (1045.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (934.9ms) 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.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.8ms) DELETE FROM "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.9ms) DELETE FROM "pulitzer_versions";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.6ms) 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';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-02 17:10:34.555903"], ["updated_at", "2016-03-02 17:10:34.555903"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-03-02 17:10:34.713765"], ["updated_at", "2016-03-02 17:10:34.713765"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:10:34.721628"], ["updated_at", "2016-03-02 17:10:34.721628"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:10:34.723751"], ["updated_at", "2016-03-02 17:10:34.723751"]]  (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", "2016-03-02 17:10:34.740712"], ["updated_at", "2016-03-02 17:10:34.740712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-03-02 17:10:34.743854"], ["updated_at", "2016-03-02 17:10:34.743854"]]  (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 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-03-02 17:10:34.747603"], ["updated_at", "2016-03-02 17:10:34.747603"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-03-02 17:10:34.749740"], ["updated_at", "2016-03-02 17:10:34.749740"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-03-02 17:10:34.752587"], ["updated_at", "2016-03-02 17:10:34.752587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-03-02 17:10:34.754300"], ["updated_at", "2016-03-02 17:10:34.754300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-03-02 17:10:34.757760"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-03-02 17:10:34.760077"], ["updated_at", "2016-03-02 17:10:34.760077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: a736c954-8d5a-48b8-bc2c-739580c013da) 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] [a736c954-8d5a-48b8-bc2c-739580c013da] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da] /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da] Pulitzer::Version Load (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] [a736c954-8d5a-48b8-bc2c-739580c013da] 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] [a736c954-8d5a-48b8-bc2c-739580c013da] 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] [a736c954-8d5a-48b8-bc2c-739580c013da]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-03-02 17:10:34.743854"], ["updated_at", "2016-03-02 17:10:34.743854"]] [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:10:34.775531"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da] 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] [a736c954-8d5a-48b8-bc2c-739580c013da]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-03-02 17:10:34.749740"], ["updated_at", "2016-03-02 17:10:34.749740"]] [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:10:34.779624"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da] 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] [a736c954-8d5a-48b8-bc2c-739580c013da]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-03-02 17:10:34.754300"], ["updated_at", "2016-03-02 17:10:34.754300"]] [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:10:34.783594"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da] 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] [a736c954-8d5a-48b8-bc2c-739580c013da]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-03-02 17:10:34.786595"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a736c954-8d5a-48b8-bc2c-739580c013da] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.18ms 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", 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", "2016-03-02 17:10:34.791301"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]  (304.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (284.7ms) DELETE FROM "pulitzer_content_element_types";  (0.3ms) 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.6ms) 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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (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_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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-02 17:12:58.083480"], ["updated_at", "2016-03-02 17:12:58.083480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-03-02 17:12:58.223121"], ["updated_at", "2016-03-02 17:12:58.223121"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:12:58.230765"], ["updated_at", "2016-03-02 17:12:58.230765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:12:58.232967"], ["updated_at", "2016-03-02 17:12:58.232967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-03-02 17:12:58.249426"], ["updated_at", "2016-03-02 17:12:58.249426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-03-02 17:12:58.252038"], ["updated_at", "2016-03-02 17:12:58.252038"]]  (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 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-03-02 17:12:58.255335"], ["updated_at", "2016-03-02 17:12:58.255335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-03-02 17:12:58.257043"], ["updated_at", "2016-03-02 17:12:58.257043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-03-02 17:12:58.259995"], ["updated_at", "2016-03-02 17:12:58.259995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-03-02 17:12:58.261636"], ["updated_at", "2016-03-02 17:12:58.261636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-03-02 17:12:58.265119"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-03-02 17:12:58.267730"], ["updated_at", "2016-03-02 17:12:58.267730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 8316f156-4ec1-48a6-a6da-0854635d545c) 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] [8316f156-4ec1-48a6-a6da-0854635d545c] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c] /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c] Pulitzer::Version Load (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] [8316f156-4ec1-48a6-a6da-0854635d545c] 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] [8316f156-4ec1-48a6-a6da-0854635d545c] 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] [8316f156-4ec1-48a6-a6da-0854635d545c]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-03-02 17:12:58.252038"], ["updated_at", "2016-03-02 17:12:58.252038"]] [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:12:58.283488"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c] 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] [8316f156-4ec1-48a6-a6da-0854635d545c]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-03-02 17:12:58.257043"], ["updated_at", "2016-03-02 17:12:58.257043"]] [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:12:58.287560"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c] 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] [8316f156-4ec1-48a6-a6da-0854635d545c]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-03-02 17:12:58.261636"], ["updated_at", "2016-03-02 17:12:58.261636"]] [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:12:58.291458"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c] 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] [8316f156-4ec1-48a6-a6da-0854635d545c]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-03-02 17:12:58.294448"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8316f156-4ec1-48a6-a6da-0854635d545c] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.61ms 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", 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", "2016-03-02 17:12:58.299245"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (194.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1206.9ms) 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';  (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.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 "search_locations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (0.8ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (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.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.7ms) 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.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-02 17:13:07.516438"], ["updated_at", "2016-03-02 17:13:07.516438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-03-02 17:13:07.678946"], ["updated_at", "2016-03-02 17:13:07.678946"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:13:07.687445"], ["updated_at", "2016-03-02 17:13:07.687445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-02 17:13:07.690140"], ["updated_at", "2016-03-02 17:13:07.690140"]]  (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 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-03-02 17:13:07.703107"], ["updated_at", "2016-03-02 17:13:07.703107"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-03-02 17:13:07.705346"], ["updated_at", "2016-03-02 17:13:07.705346"]]  (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 2' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-03-02 17:13:07.707937"], ["updated_at", "2016-03-02 17:13:07.707937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-03-02 17:13:07.709301"], ["updated_at", "2016-03-02 17:13:07.709301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-03-02 17:13:07.711634"], ["updated_at", "2016-03-02 17:13:07.711634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-03-02 17:13:07.712912"], ["updated_at", "2016-03-02 17:13:07.712912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-03-02 17:13:07.715916"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-03-02 17:13:07.718667"], ["updated_at", "2016-03-02 17:13:07.718667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 25c5b3bd-f301-4a99-8d79-7ea79555661f) 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] [25c5b3bd-f301-4a99-8d79-7ea79555661f] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f] /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f] Pulitzer::Version Load (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] [25c5b3bd-f301-4a99-8d79-7ea79555661f] 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] [25c5b3bd-f301-4a99-8d79-7ea79555661f] 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] [25c5b3bd-f301-4a99-8d79-7ea79555661f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-03-02 17:13:07.705346"], ["updated_at", "2016-03-02 17:13:07.705346"]] [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:13:07.735571"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f] 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] [25c5b3bd-f301-4a99-8d79-7ea79555661f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-03-02 17:13:07.709301"], ["updated_at", "2016-03-02 17:13:07.709301"]] [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:13:07.739698"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f] 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] [25c5b3bd-f301-4a99-8d79-7ea79555661f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-03-02 17:13:07.712912"], ["updated_at", "2016-03-02 17:13:07.712912"]] [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-02 17:13:07.743647"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f] 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] [25c5b3bd-f301-4a99-8d79-7ea79555661f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-03-02 17:13:07.748075"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [25c5b3bd-f301-4a99-8d79-7ea79555661f] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.67ms 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" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-03-02 17:13:07.754199"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (23.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (2.1ms) 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';  (1.2ms) 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.1ms) 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.3ms) DELETE FROM "search_locations";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'search_locations';  (1.6ms) DELETE FROM "pulitzer_versions";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';  (1.3ms) DELETE FROM "pulitzer_content_elements";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (1.4ms) 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.4ms) DELETE FROM "pulitzer_post_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_types';  (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", "2016-03-03 16:10:14.909689"], ["updated_at", "2016-03-03 16:10:14.909689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-03-03 16:10:17.735371"], ["updated_at", "2016-03-03 16:10:17.735371"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-03 16:10:17.743598"], ["updated_at", "2016-03-03 16:10:17.743598"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-03 16:10:17.745851"], ["updated_at", "2016-03-03 16:10:17.745851"]]  (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 1' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-03-03 16:10:17.759967"], ["updated_at", "2016-03-03 16:10:17.759967"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-03-03 16:10:17.763317"], ["updated_at", "2016-03-03 16:10:17.763317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-03-03 16:10:17.766839"], ["updated_at", "2016-03-03 16:10:17.766839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-03-03 16:10:17.768632"], ["updated_at", "2016-03-03 16:10:17.768632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-03-03 16:10:17.771509"], ["updated_at", "2016-03-03 16:10:17.771509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-03-03 16:10:17.773128"], ["updated_at", "2016-03-03 16:10:17.773128"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-03-03 16:10:17.778550"], ["updated_at", "2016-03-03 16:10:17.778550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-03-03 16:10:17.763317"], ["updated_at", "2016-03-03 16:10:17.763317"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-03 16:10:17.788778"], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-03-03 16:10:17.768632"], ["updated_at", "2016-03-03 16:10:17.768632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-03 16:10:17.794258"], ["id", 5]]  (0.9ms) 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", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-03-03 16:10:17.773128"], ["updated_at", "2016-03-03 16:10:17.773128"]]  (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", "2016-03-03 16:10:17.803056"], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-03-03 16:10:17.807109"], ["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.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", "2016-03-03 16:10:17.818795"], ["updated_at", "2016-03-03 16:10:17.818795"]]  (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.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-03-03 16:10:17.821832"], ["updated_at", "2016-03-03 16:10:17.821832"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-03 16:10:17.823828"], ["updated_at", "2016-03-03 16:10:17.823828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-03 16:10:17.825350"], ["updated_at", "2016-03-03 16:10:17.825350"]]  (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 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-03-03 16:10:17.828227"], ["updated_at", "2016-03-03 16:10:17.828227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-03-03 16:10:17.830072"], ["updated_at", "2016-03-03 16:10:17.830072"]]  (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.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-03-03 16:10:17.833497"], ["updated_at", "2016-03-03 16:10:17.833497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-03-03 16:10:17.835238"], ["updated_at", "2016-03-03 16:10:17.835238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-03-03 16:10:17.837968"], ["updated_at", "2016-03-03 16:10:17.837968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-03-03 16:10:17.839333"], ["updated_at", "2016-03-03 16:10:17.839333"]]  (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", "2016-03-03 16:10:17.841118"], ["updated_at", "2016-03-03 16:10:17.841118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-03-03 16:10:17.830072"], ["updated_at", "2016-03-03 16:10:17.830072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-03 16:10:17.847032"], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-03-03 16:10:17.835238"], ["updated_at", "2016-03-03 16:10:17.835238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-03 16:10:17.851117"], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-03-03 16:10:17.839333"], ["updated_at", "2016-03-03 16:10:17.839333"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-03 16:10:17.857185"], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-03-03 16:10:17.859556"], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-03 16:10:17.872428"], ["updated_at", "2016-03-03 16:10:17.872428"]]  (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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-03-03 16:10:17.880309"], ["updated_at", "2016-03-03 16:10:17.880309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-03-03 16:10:17.882774"], ["updated_at", "2016-03-03 16:10:17.882774"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-03-03 16:10:17.885657"], ["updated_at", "2016-03-03 16:10:17.885657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-03-03 16:10:17.887140"], ["updated_at", "2016-03-03 16:10:17.887140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-03-03 16:10:17.889351"], ["updated_at", "2016-03-03 16:10:17.889351"]]  (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 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-03-03 16:10:17.890615"], ["updated_at", "2016-03-03 16:10:17.890615"]]  (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.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-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", "2016-03-03 16:10:17.896513"], ["updated_at", "2016-03-03 16:10:17.896513"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-03 16:10:17.899010"], ["updated_at", "2016-03-03 16:10:17.899010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) 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.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", 1]] 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 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-03-03 16:10:17.908585"], ["updated_at", "2016-03-03 16:10:17.908585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-03-03 16:10:17.913932"], ["updated_at", "2016-03-03 16:10:17.913932"]]  (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.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-03-03 16:10:17.917920"], ["updated_at", "2016-03-03 16:10:17.917920"]]  (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]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-03 16:10:17.925578"], ["updated_at", "2016-03-03 16:10:17.925578"]]  (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-4"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-03-03 16:10:17.928454"], ["updated_at", "2016-03-03 16:10:17.928454"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-03 16:10:17.930273"], ["updated_at", "2016-03-03 16:10:17.930273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-03 16:10:17.931994"], ["updated_at", "2016-03-03 16:10:17.931994"]]  (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", "2016-03-03 16:10:17.934708"], ["updated_at", "2016-03-03 16:10:17.934708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-03-03 16:10:17.936164"], ["updated_at", "2016-03-03 16:10:17.936164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-03-03 16:10:17.938637"], ["updated_at", "2016-03-03 16:10:17.938637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-03-03 16:10:17.939982"], ["updated_at", "2016-03-03 16:10:17.939982"]]  (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.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-03-03 16:10:17.942456"], ["updated_at", "2016-03-03 16:10:17.942456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-03-03 16:10:17.943809"], ["updated_at", "2016-03-03 16:10:17.943809"]]  (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", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-03-03 16:10:17.945882"], ["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", "2016-03-03 16:10:17.947187"], ["updated_at", "2016-03-03 16:10:17.947187"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 503b8e4d-3ee5-4788-9ccf-dd6562d17c02) 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] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] Pulitzer::Version Load (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] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] 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] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] 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] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-03-03 16:10:17.936164"], ["updated_at", "2016-03-03 16:10:17.936164"]] [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-03 16:10:17.960065"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] 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] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-03-03 16:10:17.939982"], ["updated_at", "2016-03-03 16:10:17.939982"]] [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-03 16:10:17.969497"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] 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] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-03-03 16:10:17.943809"], ["updated_at", "2016-03-03 16:10:17.943809"]] [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-03 16:10:17.977655"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02]  (0.3ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] 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] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] SQL (0.2ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-03-03 16:10:17.982696"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [503b8e4d-3ee5-4788-9ccf-dd6562d17c02] Performed Pulitzer::CloneVersionJob from Inline(default) in 36.52ms Pulitzer::Version Load (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", 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.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-03 16:10:17.999966"], ["updated_at", "2016-03-03 16:10:17.999966"]]  (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-5"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-03-03 16:10:18.003014"], ["updated_at", "2016-03-03 16:10:18.003014"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-03 16:10:18.006110"], ["updated_at", "2016-03-03 16:10:18.006110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-03 16:10:18.007758"], ["updated_at", "2016-03-03 16:10:18.007758"]]  (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 13' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-03-03 16:10:18.010502"], ["updated_at", "2016-03-03 16:10:18.010502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-03-03 16:10:18.012366"], ["updated_at", "2016-03-03 16:10:18.012366"]]  (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 14' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-03-03 16:10:18.016001"], ["updated_at", "2016-03-03 16:10:18.016001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-03-03 16:10:18.017415"], ["updated_at", "2016-03-03 16:10:18.017415"]]  (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 15' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-03-03 16:10:18.020663"], ["updated_at", "2016-03-03 16:10:18.020663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-03-03 16:10:18.022140"], ["updated_at", "2016-03-03 16:10:18.022140"]]  (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", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-03-03 16:10:18.024301"], ["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", "2016-03-03 16:10:18.025731"], ["updated_at", "2016-03-03 16:10:18.025731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 8ab5c2f8-508b-4835-81a6-f9b6b34028c8) 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] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] Pulitzer::Version Load (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] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] 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] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] 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] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-03-03 16:10:18.012366"], ["updated_at", "2016-03-03 16:10:18.012366"]] [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-03 16:10:18.034994"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] 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] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-03-03 16:10:18.017415"], ["updated_at", "2016-03-03 16:10:18.017415"]] [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-03 16:10:18.041169"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] 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] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-03-03 16:10:18.022140"], ["updated_at", "2016-03-03 16:10:18.022140"]] [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-03-03 16:10:18.047550"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] 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] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-03-03 16:10:18.049601"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [8ab5c2f8-508b-4835-81a6-f9b6b34028c8] Performed Pulitzer::CloneVersionJob from Inline(default) in 25.32ms 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::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", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-03-03 16:10:18.056032"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-03-03 16:10:18.057497"], ["updated_at", "2016-03-03 16:10:18.057497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: d4dbce41-af65-40d2-8d1c-0a5bf4858bcd) 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] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] Pulitzer::Version Load (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] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] 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] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] 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] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-03-03 16:10:18.012366"], ["updated_at", "2016-03-03 16:10:18.012366"]] [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-03-03 16:10:18.064755"], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] 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] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-03-03 16:10:18.017415"], ["updated_at", "2016-03-03 16:10:18.017415"]] [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-03-03 16:10:18.068942"], ["id", 8]] [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] 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] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-03-03 16:10:18.022140"], ["updated_at", "2016-03-03 16:10:18.022140"]] [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-03-03 16:10:18.073731"], ["id", 9]] [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] 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] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-03-03 16:10:18.075830"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [d4dbce41-af65-40d2-8d1c-0a5bf4858bcd] Performed Pulitzer::CloneVersionJob from Inline(default) in 20.64ms 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]]  (393.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-03-03 16:10:18.483817"], ["updated_at", "2016-03-03 16:10:18.483817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-03-03 16:10:18.493569"], ["updated_at", "2016-03-03 16:10:18.493569"]]  (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 18' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-03-03 16:10:18.497954"], ["updated_at", "2016-03-03 16:10:18.497954"]]  (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 19' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-03-03 16:10:18.502504"], ["updated_at", "2016-03-03 16:10:18.502504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-03-03 16:10:18.507779"], ["updated_at", "2016-03-03 16:10:18.507779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-03-03 16:10:18.509483"], ["updated_at", "2016-03-03 16:10:18.509483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-03-03 16:10:18.515174"], ["updated_at", "2016-03-03 16:10:18.515174"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-03-03 16:10:18.517074"], ["updated_at", "2016-03-03 16:10:18.517074"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-03-03 16:10:18.522759"], ["updated_at", "2016-03-03 16:10:18.522759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-03-03 16:10:18.528028"], ["updated_at", "2016-03-03 16:10:18.528028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-03-03 16:10:18.533307"], ["updated_at", "2016-03-03 16:10:18.533307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-03 16:10:18.689051"], ["updated_at", "2016-03-03 16:10:18.689051"]]  (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-6"]]  (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.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-03 16:10:18.701728"], ["updated_at", "2016-03-03 16:10:18.701728"]]  (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-7"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-03-03 16:10:18.704477"], ["updated_at", "2016-03-03 16:10:18.704477"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-03 16:10:18.707395"], ["updated_at", "2016-03-03 16:10:18.707395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-03 16:10:18.713134"], ["updated_at", "2016-03-03 16:10:18.713134"]]  (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-8"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-03-03 16:10:18.716525"], ["updated_at", "2016-03-03 16:10:18.716525"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-03 16:10:18.718663"], ["updated_at", "2016-03-03 16:10:18.718663"]]  (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" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-03-03 16:10:18.721195"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-03-03 16:10:18.736377"], ["updated_at", "2016-03-03 16:10:18.736377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-03 16:10:18.740359"], ["updated_at", "2016-03-03 16:10:18.740359"]]  (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.1ms) 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", "2016-03-03 16:10:18.742901"], ["updated_at", "2016-03-03 16:10:18.742901"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-03 16:10:18.744478"], ["updated_at", "2016-03-03 16:10:18.744478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-03 16:10:18.745883"], ["updated_at", "2016-03-03 16:10:18.745883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-03-03 16:10:18.768927"], ["updated_at", "2016-03-03 16:10:18.768927"]]  (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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-03-03 16:10:18.771929"], ["updated_at", "2016-03-03 16:10:18.771929"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' 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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-03-03 16:10:18.828192"], ["updated_at", "2016-03-03 16:10:18.828192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1  (1136.4ms) 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.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", "2016-03-03 16:10:19.979845"], ["updated_at", "2016-03-03 16:10:19.979845"]]  (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.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-03-03 16:10:19.983128"], ["updated_at", "2016-03-03 16:10:19.983128"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-03 16:10:19.986873"], ["updated_at", "2016-03-03 16:10:19.986873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.3ms) 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.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.2ms) 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.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) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 3' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2016-03-03 16:10:20.024677"], ["updated_at", "2016-03-03 16:10:20.024677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", "2016-03-03 16:10:20.027758"], ["updated_at", "2016-03-03 16:10:20.027758"]]  (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", "2016-03-03 16:10:20.031602"], ["updated_at", "2016-03-03 16:10:20.031602"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-03 16:10:20.034278"], ["updated_at", "2016-03-03 16:10:20.034278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-03-03 16:10:20.036316"], ["updated_at", "2016-03-03 16:10:20.036316"]]  (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", "2016-03-03 16:10:20.041767"], ["updated_at", "2016-03-03 16:10:20.041767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_post_tags"."label_id" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"], ["label_id", 1]] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) rollback transaction  (1.0ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)  (0.7ms) 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.8ms) 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)  (0.8ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar)  (0.7ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)   (0.8ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")  (0.8ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "parent_id" integer, "hierarchical" boolean DEFAULT 'f' NOT NULL)   (0.9ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")  (0.8ms) CREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160517182500') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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, "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)  (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.8ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar)  (0.6ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)   (0.8ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)  (0.1ms) select sqlite_version(*)  (0.8ms) 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.8ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")  (0.7ms) CREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) 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.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160511202351') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (245.0ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)  (0.7ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)   (0.9ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)  (0.8ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)   (0.8ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer)  (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.7ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar)  (0.7ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)   (0.7ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")  (0.8ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "parent_id" integer, "hierarchical" boolean DEFAULT 'f' NOT NULL)   (0.7ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160517182500') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (665.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.2ms) 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.6ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (0.8ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (0.6ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (0.6ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]  (0.7ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.7ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.6ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.6ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.1ms) begin transaction Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2016-05-19 19:46:45.194611"], ["updated_at", "2016-05-19 19:46:45.194611"]] 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.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-05-19 19:46:45.196854"], ["updated_at", "2016-05-19 19:46:45.196854"]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-05-19 19:46:45.198152"], ["updated_at", "2016-05-19 19:46:45.198152"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.7ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.0ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.4ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.8ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.1ms) begin transaction  (0.5ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "pulitzer_post_tags"  (0.4ms) DROP TABLE "pulitzer_post_tags"  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "apulitzer_post_tags"  (0.3ms) DROP TABLE "apulitzer_post_tags" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (1.0ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar SQL (0.2ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."id" ASC) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (0.8ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.8ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "pulitzer_content_elements"  (0.2ms) DROP TABLE "pulitzer_content_elements"  (0.2ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) 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.7ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (1.0ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.0ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer Scoped order and limit are ignored, it's forced to be batch order and batch size Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1000 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (1.1ms) 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.4ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean)  (0.0ms) SELECT * FROM "apulitzer_post_types"  (0.2ms) DROP TABLE "apulitzer_post_types"  (0.3ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.9ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.7ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.9ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]  (1.0ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.2ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL  (0.2ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]  (0.8ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]  (0.9ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]  (0.8ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction  (1.2ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]  (0.7ms) commit transaction Migrating to FixPostTypeKinds (20160516150237)  (0.1ms) begin transaction Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]  (0.9ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (0.9ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_posts_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_posts_on_slug' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) DELETE FROM "pulitzer_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (0.6ms) 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.5ms) 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.9ms) 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_content_elements";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';  (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';  (0.6ms) 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.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.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", "2016-05-19 19:46:51.859629"], ["updated_at", "2016-05-19 19:46:51.859629"]]  (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/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (8.0ms) Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_new.html.erb (29.7ms) Completed 200 OK in 68ms (Views: 42.2ms | ActiveRecord: 0.5ms)  (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", "free as a bird"], ["plural", "t"], ["created_at", "2016-05-19 19:46:51.943824"], ["updated_at", "2016-05-19 19:46:51.943824"]]  (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.5ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name") VALUES (?, ?) [["post_type_id", 1], ["name", "test sidebar"]]  (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::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (5.6ms) Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show_wrapper.html.erb (8.7ms) Completed 200 OK in 18ms (Views: 11.1ms | ActiveRecord: 0.9ms) 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.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "free as a bird"], ["plural", "t"], ["created_at", "2016-05-19 19:46:51.970910"], ["updated_at", "2016-05-19 19:46:51.970910"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::FreeFormSectionTypesController#edit as HTML Parameters: {"id"=>"1"} Pulitzer::FreeFormSectionType Load (0.3ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.8ms) Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form_fields.html.erb (0.6ms) Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_form.html.erb (12.4ms) Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.3ms)  (0.8ms) 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", "free as a bird"], ["plural", "t"], ["created_at", "2016-05-19 19:46:51.999898"], ["updated_at", "2016-05-19 19:46:51.999898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]]  (0.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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_free_form_section_types" SET "name" = ? WHERE "pulitzer_free_form_section_types"."id" = ? [["name", "edited name"], ["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]] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]] Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/free_form_section_types/_show.html.erb (5.0ms) Completed 200 OK in 11ms (Views: 5.5ms | ActiveRecord: 0.5ms) 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.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", "free as a bird"], ["plural", "t"], ["created_at", "2016-05-19 19:46:52.024461"], ["updated_at", "2016-05-19 19:46:52.024461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "main content"], ["post_type_id", 1]]  (0.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.2ms) DELETE FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."id" = ? [["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]] 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 10ms (Views: 4.7ms | ActiveRecord: 0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-05-19 19:46:52.046758"], ["updated_at", "2016-05-19 19:46:52.046758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::PartialsController#new as HTML Parameters: {"partial"=>{"free_form_section_id"=>"1"}} Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/shared/_error_messages.erb (0.1ms) Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] Pulitzer::PostType Load (0.0ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 1]] Pulitzer::Layout Load (0.1ms) SELECT "pulitzer_layouts".* FROM "pulitzer_layouts" WHERE "pulitzer_layouts"."post_type_id" = ? [["post_type_id", 1]] Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/partials/_new.html.erb (14.1ms) Completed 200 OK in 29ms (Views: 19.1ms | ActiveRecord: 0.7ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-05-19 19:46:52.093337"], ["updated_at", "2016-05-19 19:46:52.093337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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.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::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/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (5.2ms) Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/partials/_show.html.erb (12.4ms) Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/partials/_show_wrapper.html.erb (15.1ms) Completed 200 OK in 29ms (Views: 17.2ms | ActiveRecord: 1.6ms) Pulitzer::Partial Load (0.1ms) 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.0ms) 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.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", "2016-05-19 19:46:52.136841"], ["updated_at", "2016-05-19 19:46:52.136841"]]  (0.0ms) 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.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 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/gomayonqui/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/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/partials/_form.html.erb (18.1ms) Completed 200 OK in 23ms (Views: 20.9ms | ActiveRecord: 0.4ms)  (1.0ms) 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", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Left Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-05-19 19:46:52.173628"], ["updated_at", "2016-05-19 19:46:52.173628"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "free as a bird"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "kind", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Centered Text White BG"], ["plural", "t"], ["kind", 1], ["created_at", "2016-05-19 19:46:52.180723"], ["updated_at", "2016-05-19 19:46:52.180723"]]  (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.1ms) 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]] 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/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/content_elements/_partial_index.html.erb (1.8ms) Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/partials/_show.html.erb (6.5ms) Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 0.6ms) Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]]  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-05-19 19:46:52.222123"], ["updated_at", "2016-05-19 19:46:52.222123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 2"], ["hierarchical", "t"], ["created_at", "2016-05-19 19:46:52.225035"], ["updated_at", "2016-05-19 19:46:52.225035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#index as HTML Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/tags/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) 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" = 'The north 3' LIMIT 1 SQL (0.6ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 3"], ["created_at", "2016-05-19 19:46:52.242082"], ["updated_at", "2016-05-19 19:46:52.242082"]]  (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 4' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 4"], ["hierarchical", "t"], ["created_at", "2016-05-19 19:46:52.245449"], ["updated_at", "2016-05-19 19:46:52.245449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#index as HTML Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/tags/index.html.erb within layouts/application (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.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 5' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 5"], ["created_at", "2016-05-19 19:46:52.257196"], ["updated_at", "2016-05-19 19:46:52.257196"]]  (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.4ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 6"], ["hierarchical", "t"], ["created_at", "2016-05-19 19:46:52.259510"], ["updated_at", "2016-05-19 19:46:52.259510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#index as HTML Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/tags/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms) Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 't' AND "pulitzer_tags"."parent_id" IS NULL  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 7' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 7"], ["created_at", "2016-05-19 19:46:52.270897"], ["updated_at", "2016-05-19 19:46:52.270897"]]  (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/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.4ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 8' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 8"], ["created_at", "2016-05-19 19:46:52.283496"], ["updated_at", "2016-05-19 19:46:52.283496"]]  (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/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction Processing by Pulitzer::TagsController#new as HTML Parameters: {"tag"=>{"hierarchical"=>true}} Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.2ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction Processing by Pulitzer::TagsController#new as HTML Parameters: {"tag"=>{"hierarchical"=>true}} Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/tags/_new_hierarchical.html.erb (0.3ms) Completed 200 OK in 1ms (Views: 0.7ms | 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/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "pulitzer_tags" Processing by Pulitzer::TagsController#create as HTML Parameters: {"tag"=>{"name"=>"The north 9"}}  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 9' LIMIT 1 SQL (0.8ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 9"], ["created_at", "2016-05-19 19:46:52.327667"], ["updated_at", "2016-05-19 19:46:52.327667"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.5ms) Completed 200 OK in 11ms (Views: 5.8ms | ActiveRecord: 1.2ms)  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags"  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Processing by Pulitzer::TagsController#create as HTML Parameters: {"tag"=>{"name"=>"The north 10"}}  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 10' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 10"], ["created_at", "2016-05-19 19:46:52.345526"], ["updated_at", "2016-05-19 19:46:52.345526"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/tags/_show_wrapper.html.erb (0.2ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) 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", "2016-05-19 19:46:52.352476"], ["updated_at", "2016-05-19 19:46:52.352476"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags" Processing by Pulitzer::TagsController#create as HTML Parameters: {"tag"=>{"name"=>"awesomesauce"}}  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'awesomesauce' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.3ms) Completed 409 Conflict in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "pulitzer_tags"  (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" = 'awesomesauce' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "awesomesauce"], ["created_at", "2016-05-19 19:46:52.370929"], ["updated_at", "2016-05-19 19:46:52.370929"]]  (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/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/tags/_new_flat.html.erb (0.2ms) Completed 409 Conflict in 4ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) 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", "2016-05-19 19:46:52.384815"], ["updated_at", "2016-05-19 19:46:52.384815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#edit as HTML Parameters: {"id"=>"1"} Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.3ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms)  (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 14' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 14"], ["created_at", "2016-05-19 19:46:52.397570"], ["updated_at", "2016-05-19 19:46:52.397570"]]  (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/gomayonqui/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.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 15"], ["created_at", "2016-05-19 19:46:52.420073"], ["updated_at", "2016-05-19 19:46:52.420073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#update as HTML Parameters: {"tag"=>{"name"=>"The north 16"}, "id"=>"1"} Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.3ms) Completed 409 Conflict in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 17"], ["created_at", "2016-05-19 19:46:52.431999"], ["updated_at", "2016-05-19 19:46:52.431999"]]  (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.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'The north 18' AND "pulitzer_tags"."id" != 1) LIMIT 1 SQL (0.5ms) UPDATE "pulitzer_tags" SET "name" = ?, "updated_at" = ? WHERE "pulitzer_tags"."id" = ? [["name", "The north 18"], ["updated_at", "2016-05-19 19:46:52.443387"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/tags/_show.html.erb (0.2ms) Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.8ms)  (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" = 'sadpanda' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-05-19 19:46:52.450121"], ["updated_at", "2016-05-19 19:46:52.450121"]]  (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 20' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 20"], ["created_at", "2016-05-19 19:46:52.453612"], ["updated_at", "2016-05-19 19:46:52.453612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#update as HTML Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"}  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.3ms) Completed 409 Conflict in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (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" = 'sadpanda' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "sadpanda"], ["created_at", "2016-05-19 19:46:52.467921"], ["updated_at", "2016-05-19 19:46:52.467921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 22' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 22"], ["created_at", "2016-05-19 19:46:52.471750"], ["updated_at", "2016-05-19 19:46:52.471750"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#update as HTML Parameters: {"tag"=>{"name"=>"sadpanda"}, "id"=>"2"}  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE ("pulitzer_tags"."name" = 'sadpanda' AND "pulitzer_tags"."id" != 2) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /Users/gomayonqui/Sites/work/pulitzer/app/views/pulitzer/tags/_form.html.erb (0.2ms) Completed 409 Conflict in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.7ms) 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 23' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 23"], ["created_at", "2016-05-19 19:46:52.486033"], ["updated_at", "2016-05-19 19:46:52.486033"]]  (0.1ms) 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.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.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 24' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 24"], ["created_at", "2016-05-19 19:46:52.496457"], ["updated_at", "2016-05-19 19:46:52.496457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pulitzer::TagsController#destroy as HTML Parameters: {"id"=>"1"}  (0.1ms) SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"]] Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? [["parent_id", 1]] SQL (0.4ms) DELETE FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.8ms)  (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_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 19:46:52.520728"], ["updated_at", "2016-05-19 19:46:52.520728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-05-19 19:46:52.634922"], ["updated_at", "2016-05-19 19:46:52.634922"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:52.638011"], ["updated_at", "2016-05-19 19:46:52.638011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:52.640497"], ["updated_at", "2016-05-19 19:46:52.640497"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-05-19 19:46:52.661129"], ["updated_at", "2016-05-19 19:46:52.661129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-05-19 19:46:52.666587"], ["updated_at", "2016-05-19 19:46:52.666587"]]  (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 2' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-05-19 19:46:52.672881"], ["updated_at", "2016-05-19 19:46:52.672881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-05-19 19:46:52.676253"], ["updated_at", "2016-05-19 19:46:52.676253"]]  (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", "2016-05-19 19:46:52.682193"], ["updated_at", "2016-05-19 19:46:52.682193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-05-19 19:46:52.685029"], ["updated_at", "2016-05-19 19:46:52.685029"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-19 19:46:52.690070"], ["updated_at", "2016-05-19 19:46:52.690070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]] Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-05-19 19:46:52.666587"], ["updated_at", "2016-05-19 19:46:52.666587"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 19:46:52.699607"], ["id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-05-19 19:46:52.676253"], ["updated_at", "2016-05-19 19:46:52.676253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 19:46:52.707430"], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-05-19 19:46:52.685029"], ["updated_at", "2016-05-19 19:46:52.685029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 19:46:52.713204"], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::FreeFormSection Load (0.2ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-19 19:46:52.720753"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1064.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", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 19:46:53.794340"], ["updated_at", "2016-05-19 19:46:53.794340"]]  (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-2"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-05-19 19:46:53.797551"], ["updated_at", "2016-05-19 19:46:53.797551"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:53.799939"], ["updated_at", "2016-05-19 19:46:53.799939"]]  (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", "2016-05-19 19:46:53.802355"], ["updated_at", "2016-05-19 19:46:53.802355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section A"], ["version_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "section B"], ["version_id", 2]]  (0.0ms) 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.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-19 19:46:53.809940"], ["updated_at", "2016-05-19 19:46:53.809940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/gomayonqui/.rbenv/versions/2.2.3/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.4ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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" = ? [["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.0ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "section B"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 5]]  (0.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.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."free_form_section_id" = ? [["free_form_section_id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_free_form_sections" SET "version_id" = ? WHERE "pulitzer_free_form_sections"."id" = ? [["version_id", 3], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-19 19:46:53.822363"], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 3]]  (1.1ms) 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", "2016-05-19 19:46:53.834784"], ["updated_at", "2016-05-19 19:46:53.834784"]]  (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-3"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-05-19 19:46:53.838111"], ["updated_at", "2016-05-19 19:46:53.838111"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:53.841507"], ["updated_at", "2016-05-19 19:46:53.841507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:53.843750"], ["updated_at", "2016-05-19 19:46:53.843750"]]  (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 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-05-19 19:46:53.847903"], ["updated_at", "2016-05-19 19:46:53.847903"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-05-19 19:46:53.850580"], ["updated_at", "2016-05-19 19:46:53.850580"]]  (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 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-05-19 19:46:53.869686"], ["updated_at", "2016-05-19 19:46:53.869686"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-05-19 19:46:53.873233"], ["updated_at", "2016-05-19 19:46:53.873233"]]  (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 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-05-19 19:46:53.876881"], ["updated_at", "2016-05-19 19:46:53.876881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-05-19 19:46:53.878922"], ["updated_at", "2016-05-19 19:46:53.878922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-19 19:46:53.882388"], ["updated_at", "2016-05-19 19:46:53.882388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::CloneVersion !!! /Users/gomayonqui/.rbenv/versions/2.2.3/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.1ms) 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", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-05-19 19:46:53.850580"], ["updated_at", "2016-05-19 19:46:53.850580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 19:46:53.891193"], ["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", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-05-19 19:46:53.873233"], ["updated_at", "2016-05-19 19:46:53.873233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 19:46:53.897214"], ["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-05-19 19:46:53.878922"], ["updated_at", "2016-05-19 19:46:53.878922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 19:46:53.902722"], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 2]] Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-19 19:46:53.905178"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.4ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC 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]]  (1617.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 19:46:55.535006"], ["updated_at", "2016-05-19 19:46:55.535006"]]  (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 7' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-05-19 19:46:55.549563"], ["updated_at", "2016-05-19 19:46:55.549563"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-05-19 19:46:55.553909"], ["updated_at", "2016-05-19 19:46:55.553909"]]  (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 8' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-05-19 19:46:55.557783"], ["updated_at", "2016-05-19 19:46:55.557783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-05-19 19:46:55.559912"], ["updated_at", "2016-05-19 19:46:55.559912"]]  (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 9' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-05-19 19:46:55.564054"], ["updated_at", "2016-05-19 19:46:55.564054"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "2016-05-19 19:46:55.566958"], ["updated_at", "2016-05-19 19:46:55.566958"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "pulitzer_post_types" SET "kind" = 1 WHERE "pulitzer_post_types"."id" = ? [["id", 1]]  (0.2ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name") VALUES (?) [["name", "test"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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.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.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]]  (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.2ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-05-19 19:46:55.589968"], ["updated_at", "2016-05-19 19:46:55.589968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] 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 2"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-05-19 19:46:55.596455"], ["updated_at", "2016-05-19 19:46:55.596455"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("partial_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["partial_id", 1], ["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-05-19 19:46:55.603364"], ["updated_at", "2016-05-19 19:46:55.603364"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 19:46:55.610557"], ["updated_at", "2016-05-19 19:46:55.610557"]]  (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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-05-19 19:46:55.614356"], ["updated_at", "2016-05-19 19:46:55.614356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-05-19 19:46:55.616440"], ["updated_at", "2016-05-19 19:46:55.616440"]]  (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 11' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-05-19 19:46:55.620264"], ["updated_at", "2016-05-19 19:46:55.620264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-05-19 19:46:55.622157"], ["updated_at", "2016-05-19 19:46:55.622157"]]  (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.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-05-19 19:46:55.625870"], ["updated_at", "2016-05-19 19:46:55.625870"]]  (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 6"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-05-19 19:46:55.627378"], ["updated_at", "2016-05-19 19:46:55.627378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-05-19 19:46:55.632344"], ["updated_at", "2016-05-19 19:46:55.632344"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:55.634300"], ["updated_at", "2016-05-19 19:46:55.634300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]] Pulitzer::PostTypeContentElementType Load (0.0ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.1ms) 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" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 4"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-05-19 19:46:55.642329"], ["updated_at", "2016-05-19 19:46:55.642329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 5"], ["content_element_type_id", 2], ["post_type_content_element_type_id", 2], ["created_at", "2016-05-19 19:46:55.647731"], ["updated_at", "2016-05-19 19:46:55.647731"]]  (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) SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 6"], ["content_element_type_id", 3], ["post_type_content_element_type_id", 3], ["created_at", "2016-05-19 19:46:55.653013"], ["updated_at", "2016-05-19 19:46:55.653013"]]  (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]]  (1.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", "2016-05-19 19:46:55.665002"], ["updated_at", "2016-05-19 19:46:55.665002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) 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.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "pulitzer_free_form_section_types" ("name", "post_type_id") VALUES (?, ?) [["name", "Side Bar"], ["post_type_id", 1]]  (0.1ms) 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", "Footer List"], ["post_type_id", 1]]  (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", "test"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "test"], ["post_type_id", 1], ["slug", "test"], ["created_at", "2016-05-19 19:46:55.685378"], ["updated_at", "2016-05-19 19:46:55.685378"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:55.688088"], ["updated_at", "2016-05-19 19:46:55.688088"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]] Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]] Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Main Body"], ["version_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Side Bar"], ["version_id", 1]]  (0.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.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_free_form_sections" ("name", "version_id") VALUES (?, ?) [["name", "Footer List"], ["version_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SELECT COUNT(*) FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 19:46:55.711580"], ["updated_at", "2016-05-19 19:46:55.711580"]]  (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.6ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-05-19 19:46:55.715710"], ["updated_at", "2016-05-19 19:46:55.715710"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:55.719095"], ["updated_at", "2016-05-19 19:46:55.719095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:55.721683"], ["updated_at", "2016-05-19 19:46:55.721683"]]  (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 13' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-05-19 19:46:55.726853"], ["updated_at", "2016-05-19 19:46:55.726853"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-05-19 19:46:55.729510"], ["updated_at", "2016-05-19 19:46:55.729510"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-05-19 19:46:55.733690"], ["updated_at", "2016-05-19 19:46:55.733690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-05-19 19:46:55.735536"], ["updated_at", "2016-05-19 19:46:55.735536"]]  (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 15' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-05-19 19:46:55.739151"], ["updated_at", "2016-05-19 19:46:55.739151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-05-19 19:46:55.740887"], ["updated_at", "2016-05-19 19:46:55.740887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-05-19 19:46:55.750387"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-19 19:46:55.752116"], ["updated_at", "2016-05-19 19:46:55.752116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: b616844c-3bbe-4f27-bddc-d9db6885004f) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f] /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f] Pulitzer::Version Load (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] [b616844c-3bbe-4f27-bddc-d9db6885004f] 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] [b616844c-3bbe-4f27-bddc-d9db6885004f] 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] [b616844c-3bbe-4f27-bddc-d9db6885004f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 7"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-05-19 19:46:55.729510"], ["updated_at", "2016-05-19 19:46:55.729510"]] [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 19:46:55.770015"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f] 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] [b616844c-3bbe-4f27-bddc-d9db6885004f]  (0.2ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 8"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-05-19 19:46:55.735536"], ["updated_at", "2016-05-19 19:46:55.735536"]] [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 19:46:55.778178"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f] 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] [b616844c-3bbe-4f27-bddc-d9db6885004f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 9"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-05-19 19:46:55.740887"], ["updated_at", "2016-05-19 19:46:55.740887"]] [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 19:46:55.785214"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f] 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] [b616844c-3bbe-4f27-bddc-d9db6885004f] 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] [b616844c-3bbe-4f27-bddc-d9db6885004f]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-19 19:46:55.788762"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b616844c-3bbe-4f27-bddc-d9db6885004f] Performed Pulitzer::CloneVersionJob from Inline(default) in 34.78ms 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]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 19:46:55.805312"], ["updated_at", "2016-05-19 19:46:55.805312"]]  (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.6ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-05-19 19:46:55.808424"], ["updated_at", "2016-05-19 19:46:55.808424"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:55.811976"], ["updated_at", "2016-05-19 19:46:55.811976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:55.814213"], ["updated_at", "2016-05-19 19:46:55.814213"]]  (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", "2016-05-19 19:46:55.817655"], ["updated_at", "2016-05-19 19:46:55.817655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-05-19 19:46:55.820788"], ["updated_at", "2016-05-19 19:46:55.820788"]]  (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 17' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-05-19 19:46:55.825120"], ["updated_at", "2016-05-19 19:46:55.825120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-05-19 19:46:55.827176"], ["updated_at", "2016-05-19 19:46:55.827176"]]  (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", "2016-05-19 19:46:55.832039"], ["updated_at", "2016-05-19 19:46:55.832039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-05-19 19:46:55.834599"], ["updated_at", "2016-05-19 19:46:55.834599"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-05-19 19:46:55.839220"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-19 19:46:55.841747"], ["updated_at", "2016-05-19 19:46:55.841747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: b708cca2-97af-4eb8-b604-0e217cb6bee1) 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] [b708cca2-97af-4eb8-b604-0e217cb6bee1] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1] /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1] Pulitzer::Version Load (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] [b708cca2-97af-4eb8-b604-0e217cb6bee1] 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] [b708cca2-97af-4eb8-b604-0e217cb6bee1] 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] [b708cca2-97af-4eb8-b604-0e217cb6bee1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-05-19 19:46:55.820788"], ["updated_at", "2016-05-19 19:46:55.820788"]] [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1]  (0.2ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 19:46:55.854277"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1] 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] [b708cca2-97af-4eb8-b604-0e217cb6bee1]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-05-19 19:46:55.827176"], ["updated_at", "2016-05-19 19:46:55.827176"]] [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 19:46:55.860937"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1] 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] [b708cca2-97af-4eb8-b604-0e217cb6bee1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-05-19 19:46:55.834599"], ["updated_at", "2016-05-19 19:46:55.834599"]] [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 19:46:55.867214"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1] 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] [b708cca2-97af-4eb8-b604-0e217cb6bee1] 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] [b708cca2-97af-4eb8-b604-0e217cb6bee1]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-19 19:46:55.870538"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [b708cca2-97af-4eb8-b604-0e217cb6bee1] Performed Pulitzer::CloneVersionJob from Inline(default) in 29.28ms 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" = ? 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.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-05-19 19:46:55.878786"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-05-19 19:46:55.881273"], ["updated_at", "2016-05-19 19:46:55.881273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 51f2998c-638f-4d87-a4ed-2423bc9294eb) 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] [51f2998c-638f-4d87-a4ed-2423bc9294eb] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb] /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb] Pulitzer::Version Load (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] [51f2998c-638f-4d87-a4ed-2423bc9294eb] 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] [51f2998c-638f-4d87-a4ed-2423bc9294eb] 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] [51f2998c-638f-4d87-a4ed-2423bc9294eb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 10"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-05-19 19:46:55.820788"], ["updated_at", "2016-05-19 19:46:55.820788"]] [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-05-19 19:46:55.892206"], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb] 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] [51f2998c-638f-4d87-a4ed-2423bc9294eb]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 11"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-05-19 19:46:55.827176"], ["updated_at", "2016-05-19 19:46:55.827176"]] [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-05-19 19:46:55.897679"], ["id", 8]] [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb] 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] [51f2998c-638f-4d87-a4ed-2423bc9294eb]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 12"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-05-19 19:46:55.834599"], ["updated_at", "2016-05-19 19:46:55.834599"]] [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-05-19 19:46:55.903398"], ["id", 9]] [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb] 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] [51f2998c-638f-4d87-a4ed-2423bc9294eb] 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] [51f2998c-638f-4d87-a4ed-2423bc9294eb]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-19 19:46:55.906570"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [51f2998c-638f-4d87-a4ed-2423bc9294eb] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.73ms Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::Version Load (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]] Pulitzer::Version Load (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]]  (1717.5ms) 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", "2016-05-19 19:46:57.638440"], ["updated_at", "2016-05-19 19:46:57.638440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] SQL (0.5ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-05-19 19:46:57.641929"], ["updated_at", "2016-05-19 19:46:57.641929"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:57.644980"], ["updated_at", "2016-05-19 19:46:57.644980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:57.647110"], ["updated_at", "2016-05-19 19:46:57.647110"]]  (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 19' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-05-19 19:46:57.650920"], ["updated_at", "2016-05-19 19:46:57.650920"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 1], ["version_id", 2], ["created_at", "2016-05-19 19:46:57.652981"], ["updated_at", "2016-05-19 19:46:57.652981"]]  (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 20' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-05-19 19:46:57.656991"], ["updated_at", "2016-05-19 19:46:57.656991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 2], ["version_id", 2], ["created_at", "2016-05-19 19:46:57.660446"], ["updated_at", "2016-05-19 19:46:57.660446"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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" = 'Text 21' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-05-19 19:46:57.665807"], ["updated_at", "2016-05-19 19:46:57.665807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["content_element_type_id", 3], ["version_id", 2], ["created_at", "2016-05-19 19:46:57.668372"], ["updated_at", "2016-05-19 19:46:57.668372"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-05-19 19:46:57.673095"], ["id", 2]]  (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", 4], ["post_id", 1], ["created_at", "2016-05-19 19:46:57.678911"], ["updated_at", "2016-05-19 19:46:57.678911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 785e8e05-ed4d-4704-bfb2-2630487d52b6) 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] [785e8e05-ed4d-4704-bfb2-2630487d52b6] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6] Pulitzer::CloneVersion !!! [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6] /Users/gomayonqui/.rbenv/versions/2.2.3/bin/rspec [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6] Pulitzer::Version Load (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] [785e8e05-ed4d-4704-bfb2-2630487d52b6] 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] [785e8e05-ed4d-4704-bfb2-2630487d52b6] 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] [785e8e05-ed4d-4704-bfb2-2630487d52b6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 13"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 1], ["created_at", "2016-05-19 19:46:57.652981"], ["updated_at", "2016-05-19 19:46:57.652981"]] [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 19:46:57.692854"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6] 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] [785e8e05-ed4d-4704-bfb2-2630487d52b6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 14"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 2], ["created_at", "2016-05-19 19:46:57.660446"], ["updated_at", "2016-05-19 19:46:57.660446"]] [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 19:46:57.701949"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6] 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] [785e8e05-ed4d-4704-bfb2-2630487d52b6]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 15"], ["title", "Night's Watch"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["image", nil], ["content_element_type_id", 3], ["created_at", "2016-05-19 19:46:57.668372"], ["updated_at", "2016-05-19 19:46:57.668372"]] [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-05-19 19:46:57.711176"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6] 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] [785e8e05-ed4d-4704-bfb2-2630487d52b6] 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] [785e8e05-ed4d-4704-bfb2-2630487d52b6]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-05-19 19:46:57.715156"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [785e8e05-ed4d-4704-bfb2-2630487d52b6] Performed Pulitzer::CloneVersionJob from Inline(default) in 36.13ms 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.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-05-19 19:46:57.722478"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] 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.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.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]]  (544.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.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" = 'Text 22' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-05-19 19:46:58.283192"], ["updated_at", "2016-05-19 19:46:58.283192"]]  (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) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.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.1ms) begin transaction  (0.2ms) 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-05-19 19:46:58.299994"], ["updated_at", "2016-05-19 19:46:58.299994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) 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" = 'Text 24' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-05-19 19:46:58.306045"], ["updated_at", "2016-05-19 19:46:58.306045"]]  (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) 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 25"], ["created_at", "2016-05-19 19:46:58.314327"], ["updated_at", "2016-05-19 19:46:58.314327"]]  (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) 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-05-19 19:46:58.324340"], ["updated_at", "2016-05-19 19:46:58.324340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 20"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-05-19 19:46:58.329399"], ["updated_at", "2016-05-19 19:46:58.329399"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.2ms) rollback transaction  (0.1ms) 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-05-19 19:46:58.342996"], ["updated_at", "2016-05-19 19:46:58.342996"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 21"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-05-19 19:46:58.346094"], ["updated_at", "2016-05-19 19:46:58.346094"]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) 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" = 'Text 26' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 26"], ["created_at", "2016-05-19 19:46:58.357297"], ["updated_at", "2016-05-19 19:46:58.357297"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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 27' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 27"], ["created_at", "2016-05-19 19:46:58.364789"], ["updated_at", "2016-05-19 19:46:58.364789"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.5ms) commit transaction  (0.1ms) 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" = 'Image' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-05-19 19:46:58.373487"], ["updated_at", "2016-05-19 19:46:58.373487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.4ms) 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", "2016-05-19 19:46:58.575266"], ["updated_at", "2016-05-19 19:46:58.575266"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 19:46:58.595682"], ["updated_at", "2016-05-19 19:46:58.595682"]]  (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-9"]] SQL (0.4ms) 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", "2016-05-19 19:46:58.599701"], ["updated_at", "2016-05-19 19:46:58.599701"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:58.602912"], ["updated_at", "2016-05-19 19:46:58.602912"]]  (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", "2016-05-19 19:46:58.606432"], ["updated_at", "2016-05-19 19:46:58.606432"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 1], ["post_id", 1], ["created_at", "2016-05-19 19:46:58.609249"], ["updated_at", "2016-05-19 19:46:58.609249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT 1 [["post_id", 1], ["status", 1]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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", "2016-05-19 19:46:58.616325"], ["updated_at", "2016-05-19 19:46:58.616325"]]  (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-10"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-05-19 19:46:58.621195"], ["updated_at", "2016-05-19 19:46:58.621195"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:58.624306"], ["updated_at", "2016-05-19 19:46:58.624306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 19:46:58.630007"], ["updated_at", "2016-05-19 19:46:58.630007"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-11"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 11"], ["post_type_id", 1], ["slug", "winterfell-news-11"], ["created_at", "2016-05-19 19:46:58.633389"], ["updated_at", "2016-05-19 19:46:58.633389"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:58.636017"], ["updated_at", "2016-05-19 19:46:58.636017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.3ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-05-19 19:46:58.641927"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 25' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 25"], ["created_at", "2016-05-19 19:46:58.656458"], ["updated_at", "2016-05-19 19:46:58.656458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", "2016-05-19 19:46:58.665624"], ["updated_at", "2016-05-19 19:46:58.665624"]]  (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-12"]] SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 12"], ["post_type_id", 1], ["slug", "winterfell-news-12"], ["created_at", "2016-05-19 19:46:58.673790"], ["updated_at", "2016-05-19 19:46:58.673790"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:58.678702"], ["updated_at", "2016-05-19 19:46:58.678702"]]  (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", "2016-05-19 19:46:58.683645"], ["updated_at", "2016-05-19 19:46:58.683645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.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", "2016-05-19 19:46:58.724280"], ["updated_at", "2016-05-19 19:46:58.724280"]]  (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 28' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 28"], ["created_at", "2016-05-19 19:46:58.728089"], ["updated_at", "2016-05-19 19:46:58.728089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.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.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction 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.1ms) 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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-05-19 19:46:58.776279"], ["updated_at", "2016-05-19 19:46:58.776279"]]  (0.0ms) 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  (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.0ms) rollback transaction  (0.0ms) 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 27' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 27"], ["hierarchical", "t"], ["created_at", "2016-05-19 19:46:58.790491"], ["updated_at", "2016-05-19 19:46:58.790491"]]  (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 28' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 28"], ["created_at", "2016-05-19 19:46:58.792954"], ["updated_at", "2016-05-19 19:46:58.792954"]]  (0.0ms) 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.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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", "2016-05-19 19:46:58.801179"], ["updated_at", "2016-05-19 19:46:58.801179"]]  (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-13"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 13"], ["post_type_id", 1], ["slug", "winterfell-news-13"], ["created_at", "2016-05-19 19:46:58.804969"], ["updated_at", "2016-05-19 19:46:58.804969"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:58.807240"], ["updated_at", "2016-05-19 19:46:58.807240"]]  (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", "2016-05-19 19:46:58.808990"], ["updated_at", "2016-05-19 19:46:58.808990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 29' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 29"], ["created_at", "2016-05-19 19:46:58.812300"], ["updated_at", "2016-05-19 19:46:58.812300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_post_tags" ("label_id", "label_type", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-05-19 19:46:58.815018"], ["updated_at", "2016-05-19 19:46:58.815018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Exists (0.3ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" INNER JOIN "pulitzer_versions" ON "pulitzer_posts"."id" = "pulitzer_versions"."post_id" INNER JOIN "pulitzer_post_tags" ON "pulitzer_versions"."id" = "pulitzer_post_tags"."version_id" WHERE "pulitzer_post_tags"."label_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_posts"."id" = ? [["label_id", 1], ["label_type", "Pulitzer::Tag"], ["id", 1]]  (0.7ms) rollback transaction  (0.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 30' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 30"], ["hierarchical", "t"], ["created_at", "2016-05-19 19:46:58.829281"], ["updated_at", "2016-05-19 19:46:58.829281"]]  (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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 31"], ["created_at", "2016-05-19 19:46:58.832149"], ["updated_at", "2016-05-19 19:46:58.832149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f' Pulitzer::Tag Load (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."hierarchical" = 'f'  (0.8ms) 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 32' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 32"], ["created_at", "2016-05-19 19:46:58.839204"], ["updated_at", "2016-05-19 19:46:58.839204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 33' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 33"], ["parent_id", 1], ["created_at", "2016-05-19 19:46:58.844156"], ["updated_at", "2016-05-19 19:46:58.844156"]]  (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.1ms) INSERT INTO "pulitzer_tags" ("name", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 34"], ["parent_id", 1], ["created_at", "2016-05-19 19:46:58.846892"], ["updated_at", "2016-05-19 19:46:58.846892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 2]] Pulitzer::Tag Exists (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."parent_id" = ? AND "pulitzer_tags"."id" = ? [["parent_id", 1], ["id", 3]]  (0.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.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 35' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 35"], ["hierarchical", "t"], ["created_at", "2016-05-19 19:46:58.854228"], ["updated_at", "2016-05-19 19:46:58.854228"]]  (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 36' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 36"], ["created_at", "2016-05-19 19:46:58.857869"], ["updated_at", "2016-05-19 19:46:58.857869"]]  (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.3ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 37"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-05-19 19:46:58.860945"], ["updated_at", "2016-05-19 19:46:58.860945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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", "2016-05-19 19:46:58.867023"], ["updated_at", "2016-05-19 19:46:58.867023"]]  (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 39' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 39"], ["created_at", "2016-05-19 19:46:58.870616"], ["updated_at", "2016-05-19 19:46:58.870616"]]  (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.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 40"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-05-19 19:46:58.873542"], ["updated_at", "2016-05-19 19:46:58.873542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 41' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "The north 41"], ["hierarchical", "t"], ["created_at", "2016-05-19 19:46:58.879012"], ["updated_at", "2016-05-19 19:46:58.879012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 42' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 42"], ["created_at", "2016-05-19 19:46:58.881780"], ["updated_at", "2016-05-19 19:46:58.881780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 43' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_tags" ("name", "hierarchical", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "The north 43"], ["hierarchical", "t"], ["parent_id", 1], ["created_at", "2016-05-19 19:46:58.884447"], ["updated_at", "2016-05-19 19:46:58.884447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-05-19 19:46:58.890655"], ["updated_at", "2016-05-19 19:46:58.890655"]]  (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-14"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 14"], ["post_type_id", 1], ["slug", "winterfell-news-14"], ["created_at", "2016-05-19 19:46:58.894184"], ["updated_at", "2016-05-19 19:46:58.894184"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:58.896315"], ["updated_at", "2016-05-19 19:46:58.896315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 44' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 44"], ["created_at", "2016-05-19 19:46:58.916783"], ["updated_at", "2016-05-19 19:46:58.916783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", "2016-05-19 19:46:58.920711"], ["updated_at", "2016-05-19 19:46:58.920711"]]  (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.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 15"], ["post_type_id", 1], ["slug", "winterfell-news-15"], ["created_at", "2016-05-19 19:46:58.923808"], ["updated_at", "2016-05-19 19:46:58.923808"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:58.925586"], ["updated_at", "2016-05-19 19:46:58.925586"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-05-19 19:46:58.927117"], ["updated_at", "2016-05-19 19:46:58.927117"]]  (0.0ms) 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", 1], ["label_type", "Pulitzer::Tag"], ["version_id", 2], ["created_at", "2016-05-19 19:46:58.929783"], ["updated_at", "2016-05-19 19:46:58.929783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? AND "pulitzer_post_tags"."label_id" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"], ["label_id", 1]] Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 2], ["label_type", "Pulitzer::Tag"]] Pulitzer::Tag Load (0.0ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" WHERE "pulitzer_tags"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) rollback transaction