(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)   (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.5ms) 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.9ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (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)   (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.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151118031237')  (0.8ms) 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.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQLite3::SQLException: table "pulitzer_post_types" already exists: CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) rollback transaction  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.2ms) 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.1ms) 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.7ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]  (0.8ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (0.8ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (0.8ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.7ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.0ms) 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.8ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2016-01-14 22:36:36.810489"], ["updated_at", "2016-01-14 22:36:36.810489"]] Pulitzer::ContentElementType Exists (0.3ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-14 22:36:36.817072"], ["updated_at", "2016-01-14 22:36:36.817072"]] 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-01-14 22:36:36.820893"], ["updated_at", "2016-01-14 22:36:36.820893"]] 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.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.9ms) commit transaction Migrating to CreateSearchLocations (20150901153531)  (0.0ms) 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.8ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.0ms) begin transaction  (0.4ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) 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.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.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.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.0ms) 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.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, "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.2ms) DROP TABLE "apulitzer_post_tags" Pulitzer::Post Load (0.2ms) 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"]]  (0.9ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.4ms) 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.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.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.3ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.8ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (1.4ms) 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'  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.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.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.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.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", "2016-01-14 22:36:45.122856"], ["updated_at", "2016-01-14 22:36:45.122856"]]  (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.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", "2016-01-14 22:36:45.242588"], ["updated_at", "2016-01-14 22:36:45.242588"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-14 22:36:45.254093"], ["updated_at", "2016-01-14 22:36:45.254093"]]  (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-01-14 22:36:45.256653"], ["updated_at", "2016-01-14 22:36:45.256653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (9.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" = '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-01-14 22:36:45.278813"], ["updated_at", "2016-01-14 22:36:45.278813"]]  (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", "2016-01-14 22:36:45.282389"], ["updated_at", "2016-01-14 22:36:45.282389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-14 22:36:45.285557"], ["updated_at", "2016-01-14 22:36:45.285557"]]  (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", "2016-01-14 22:36:45.287633"], ["updated_at", "2016-01-14 22:36:45.287633"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-14 22:36:45.290638"], ["updated_at", "2016-01-14 22:36:45.290638"]]  (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", "2016-01-14 22:36:45.293042"], ["updated_at", "2016-01-14 22:36:45.293042"]]  (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", "2016-01-14 22:36:45.298457"], ["updated_at", "2016-01-14 22:36:45.298457"]]  (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", "2016-01-14 22:36:45.301170"], ["updated_at", "2016-01-14 22:36:45.301170"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2016-01-14 22:36:45.302988"], ["updated_at", "2016-01-14 22:36:45.302988"]]  (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", "2016-01-14 22:36:45.304534"], ["updated_at", "2016-01-14 22:36:45.304534"]]  (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.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", "2016-01-14 22:36:45.309549"], ["updated_at", "2016-01-14 22:36:45.309549"]]  (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", "2016-01-14 22:36:45.312337"], ["updated_at", "2016-01-14 22:36:45.312337"]]  (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", "2016-01-14 22:36:45.315162"], ["updated_at", "2016-01-14 22:36:45.315162"]]  (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]]  (1.3ms) 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", "2016-01-14 22:36:45.326330"], ["updated_at", "2016-01-14 22:36:45.326330"]]  (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", "2016-01-14 22:36:45.329511"], ["updated_at", "2016-01-14 22:36:45.329511"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-14 22:36:45.334602"], ["updated_at", "2016-01-14 22:36:45.334602"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-14 22:36:45.338676"], ["updated_at", "2016-01-14 22:36:45.338676"]]  (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", "2016-01-14 22:36:45.345146"], ["updated_at", "2016-01-14 22:36:45.345146"]]  (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", "2016-01-14 22:36:45.349184"], ["updated_at", "2016-01-14 22:36:45.349184"]]  (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-01-14 22:36:45.357103"], ["updated_at", "2016-01-14 22:36:45.357103"]]  (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", "2016-01-14 22:36:45.362951"], ["updated_at", "2016-01-14 22:36:45.362951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT 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-01-14 22:36:45.368706"], ["updated_at", "2016-01-14 22:36:45.368706"]]  (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", "2016-01-14 22:36:45.373641"], ["updated_at", "2016-01-14 22:36:45.373641"]]  (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", "2016-01-14 22:36:45.382209"], ["updated_at", "2016-01-14 22:36:45.382209"]]  (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", "2016-01-14 22:36:45.386069"], ["updated_at", "2016-01-14 22:36:45.386069"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2016-01-14 22:36:45.388492"], ["updated_at", "2016-01-14 22:36:45.388492"]]  (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", "2016-01-14 22:36:45.390806"], ["updated_at", "2016-01-14 22:36:45.390806"]]  (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", "2016-01-14 22:36:45.399828"], ["updated_at", "2016-01-14 22:36:45.399828"]]  (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", "2016-01-14 22:36:45.405560"], ["updated_at", "2016-01-14 22:36:45.405560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_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", "2016-01-14 22:36:45.409735"], ["updated_at", "2016-01-14 22:36:45.409735"]]  (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.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]]  (1.3ms) 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-01-14 22:36:45.423478"], ["updated_at", "2016-01-14 22:36:45.423478"]]  (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", "2016-01-14 22:36:45.439706"], ["updated_at", "2016-01-14 22:36:45.439706"]]  (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-01-14 22:36:45.442357"], ["updated_at", "2016-01-14 22:36:45.442357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-14 22:36:45.445124"], ["updated_at", "2016-01-14 22:36:45.445124"]]  (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-01-14 22:36:45.446434"], ["updated_at", "2016-01-14 22:36:45.446434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-14 22:36:45.449185"], ["updated_at", "2016-01-14 22:36:45.449185"]]  (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", "2016-01-14 22:36:45.450750"], ["updated_at", "2016-01-14 22:36:45.450750"]]  (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", "2016-01-14 22:36:45.455355"], ["updated_at", "2016-01-14 22:36:45.455355"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-14 22:36:45.457732"], ["updated_at", "2016-01-14 22:36:45.457732"]]  (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.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", "2016-01-14 22:36:45.466886"], ["updated_at", "2016-01-14 22:36:45.466886"]]  (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", "2016-01-14 22:36:45.471413"], ["updated_at", "2016-01-14 22:36:45.471413"]]  (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", "2016-01-14 22:36:45.475874"], ["updated_at", "2016-01-14 22:36:45.475874"]]  (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", "2016-01-14 22:36:45.485429"], ["updated_at", "2016-01-14 22:36:45.485429"]]  (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.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.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", "2016-01-14 22:36:45.499388"], ["updated_at", "2016-01-14 22:36:45.499388"]]  (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.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.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.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", "2016-01-14 22:36:45.516657"], ["updated_at", "2016-01-14 22:36:45.516657"]]  (0.1ms) 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-01-14 22:36:45.521347"], ["updated_at", "2016-01-14 22:36:45.521347"]]  (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 13' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-14 22:36:45.526203"], ["updated_at", "2016-01-14 22:36:45.526203"]]  (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", "2016-01-14 22:36:45.532365"], ["updated_at", "2016-01-14 22:36:45.532365"]]  (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 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", "2016-01-14 22:36:45.534658"], ["updated_at", "2016-01-14 22:36:45.534658"]]  (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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-14 22:36:45.541205"], ["updated_at", "2016-01-14 22:36:45.541205"]]  (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", "2016-01-14 22:36:45.543569"], ["updated_at", "2016-01-14 22:36:45.543569"]]  (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 14' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-01-14 22:36:45.549229"], ["updated_at", "2016-01-14 22:36:45.549229"]]  (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.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", "2016-01-14 22:36:45.554771"], ["updated_at", "2016-01-14 22:36:45.554771"]]  (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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-14 22:36:45.559966"], ["updated_at", "2016-01-14 22:36:45.559966"]]  (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 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-14 22:36:45.636908"], ["updated_at", "2016-01-14 22:36:45.636908"]]  (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.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.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-01-14 22:36:45.651093"], ["updated_at", "2016-01-14 22:36:45.651093"]]  (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.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-01-14 22:36:45.654174"], ["updated_at", "2016-01-14 22:36:45.654174"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-14 22:36:45.656432"], ["updated_at", "2016-01-14 22:36:45.656432"]]  (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", "2016-01-14 22:36:45.661487"], ["updated_at", "2016-01-14 22:36:45.661487"]]  (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", "2016-01-14 22:36:45.664197"], ["updated_at", "2016-01-14 22:36:45.664197"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-14 22:36:45.666851"], ["updated_at", "2016-01-14 22:36:45.666851"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-01-14 22:36:45.670635"], ["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", "2016-01-14 22:36:45.685509"], ["updated_at", "2016-01-14 22:36:45.685509"]]  (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-01-14 22:36:45.692278"], ["updated_at", "2016-01-14 22:36:45.692278"]]  (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", "2016-01-14 22:36:45.695293"], ["updated_at", "2016-01-14 22:36:45.695293"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-14 22:36:45.697491"], ["updated_at", "2016-01-14 22:36:45.697491"]]  (0.1ms) 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", "2016-01-14 22:36:45.702176"], ["updated_at", "2016-01-14 22:36:45.702176"]]  (0.3ms) 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.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", "2016-01-14 22:36:45.729638"], ["updated_at", "2016-01-14 22:36:45.729638"]]  (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", "2016-01-14 22:36:45.733252"], ["updated_at", "2016-01-14 22:36:45.733252"]]  (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.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.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.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.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.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.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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-14 22:36:45.775819"], ["updated_at", "2016-01-14 22:36:45.775819"]]  (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.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.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-01-14 22:36:45.788758"], ["updated_at", "2016-01-14 22:36:45.788758"]]  (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", "2016-01-14 22:36:45.791914"], ["updated_at", "2016-01-14 22:36:45.791914"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-14 22:36:45.793857"], ["updated_at", "2016-01-14 22:36:45.793857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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.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.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.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.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.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.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", "2016-01-14 22:39:33.257664"], ["updated_at", "2016-01-14 22:39:33.257664"]]  (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", "2016-01-14 22:39:33.391497"], ["updated_at", "2016-01-14 22:39:33.391497"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-14 22:39:33.401100"], ["updated_at", "2016-01-14 22:39:33.401100"]]  (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-01-14 22:39:33.403756"], ["updated_at", "2016-01-14 22:39:33.403756"]]  (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.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-01-14 22:39:33.417919"], ["updated_at", "2016-01-14 22:39:33.417919"]]  (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", "2016-01-14 22:39:33.421358"], ["updated_at", "2016-01-14 22:39:33.421358"]]  (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", "2016-01-14 22:39:33.434949"], ["updated_at", "2016-01-14 22:39:33.434949"]]  (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", "2016-01-14 22:39:33.437841"], ["updated_at", "2016-01-14 22:39:33.437841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-14 22:39:33.441328"], ["updated_at", "2016-01-14 22:39:33.441328"]]  (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", "2016-01-14 22:39:33.443780"], ["updated_at", "2016-01-14 22:39:33.443780"]]  (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", "2016-01-14 22:39:33.449015"], ["updated_at", "2016-01-14 22:39:33.449015"]]  (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", "2016-01-14 22:39:33.451452"], ["updated_at", "2016-01-14 22:39:33.451452"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2016-01-14 22:39:33.453250"], ["updated_at", "2016-01-14 22:39:33.453250"]]  (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", "2016-01-14 22:39:33.454872"], ["updated_at", "2016-01-14 22:39:33.454872"]]  (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", "2016-01-14 22:39:33.459948"], ["updated_at", "2016-01-14 22:39:33.459948"]]  (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", "2016-01-14 22:39:33.463228"], ["updated_at", "2016-01-14 22:39:33.463228"]]  (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", "2016-01-14 22:39:33.466026"], ["updated_at", "2016-01-14 22:39:33.466026"]]  (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]]  (1.4ms) 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", "2016-01-14 22:39:33.477284"], ["updated_at", "2016-01-14 22:39:33.477284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]] SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-01-14 22:39:33.480105"], ["updated_at", "2016-01-14 22:39:33.480105"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-14 22:39:33.482754"], ["updated_at", "2016-01-14 22:39:33.482754"]]  (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-01-14 22:39:33.484848"], ["updated_at", "2016-01-14 22:39:33.484848"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-01-14 22:39:33.492524"], ["updated_at", "2016-01-14 22:39:33.492524"]]  (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", "2016-01-14 22:39:33.496070"], ["updated_at", "2016-01-14 22:39:33.496070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-01-14 22:39:33.502797"], ["updated_at", "2016-01-14 22:39:33.502797"]]  (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", "2016-01-14 22:39:33.506857"], ["updated_at", "2016-01-14 22:39:33.506857"]]  (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", "2016-01-14 22:39:33.513471"], ["updated_at", "2016-01-14 22:39:33.513471"]]  (1.5ms) 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.1ms) 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-01-14 22:39:33.519406"], ["updated_at", "2016-01-14 22:39:33.519406"]]  (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", "2016-01-14 22:39:33.526252"], ["updated_at", "2016-01-14 22:39:33.526252"]]  (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", "2016-01-14 22:39:33.531727"], ["updated_at", "2016-01-14 22:39:33.531727"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2016-01-14 22:39:33.536351"], ["updated_at", "2016-01-14 22:39:33.536351"]]  (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", "2016-01-14 22:39:33.538824"], ["updated_at", "2016-01-14 22:39:33.538824"]]  (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.0ms) SAVEPOINT active_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", "2016-01-14 22:39:33.545335"], ["updated_at", "2016-01-14 22:39:33.545335"]]  (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", "2016-01-14 22:39:33.551058"], ["updated_at", "2016-01-14 22:39:33.551058"]]  (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", "2016-01-14 22:39:33.557530"], ["updated_at", "2016-01-14 22:39:33.557530"]]  (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.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-01-14 22:39:33.569855"], ["updated_at", "2016-01-14 22:39:33.569855"]]  (0.4ms) 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", "2016-01-14 22:39:33.588109"], ["updated_at", "2016-01-14 22:39:33.588109"]]  (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", "2016-01-14 22:39:33.590573"], ["updated_at", "2016-01-14 22:39:33.590573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-14 22:39:33.593171"], ["updated_at", "2016-01-14 22:39:33.593171"]]  (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-01-14 22:39:33.594561"], ["updated_at", "2016-01-14 22:39:33.594561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-01-14 22:39:33.596965"], ["updated_at", "2016-01-14 22:39:33.596965"]]  (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", "2016-01-14 22:39:33.598536"], ["updated_at", "2016-01-14 22:39:33.598536"]]  (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-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", "2016-01-14 22:39:33.604160"], ["updated_at", "2016-01-14 22:39:33.604160"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-14 22:39:33.606014"], ["updated_at", "2016-01-14 22:39:33.606014"]]  (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.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", "2016-01-14 22:39:33.614067"], ["updated_at", "2016-01-14 22:39:33.614067"]]  (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.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", "2016-01-14 22:39:33.619926"], ["updated_at", "2016-01-14 22:39:33.619926"]]  (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", "2016-01-14 22:39:33.625157"], ["updated_at", "2016-01-14 22:39:33.625157"]]  (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.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) SAVEPOINT 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", "2016-01-14 22:39:33.635840"], ["updated_at", "2016-01-14 22:39:33.635840"]]  (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", "2016-01-14 22:39:33.641932"], ["updated_at", "2016-01-14 22:39:33.641932"]]  (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 12' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-01-14 22:39:33.650221"], ["updated_at", "2016-01-14 22:39:33.650221"]]  (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", "2016-01-14 22:39:33.658977"], ["updated_at", "2016-01-14 22:39:33.658977"]]  (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.3ms) 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.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.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 13' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-14 22:39:33.678023"], ["updated_at", "2016-01-14 22:39:33.678023"]]  (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 14' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-01-14 22:39:33.684080"], ["updated_at", "2016-01-14 22:39:33.684080"]]  (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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-14 22:39:33.689005"], ["updated_at", "2016-01-14 22:39:33.689005"]]  (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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-14 22:39:33.694369"], ["updated_at", "2016-01-14 22:39:33.694369"]]  (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.4ms) 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", "2016-01-14 22:39:33.696653"], ["updated_at", "2016-01-14 22:39:33.696653"]]  (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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-14 22:39:33.702763"], ["updated_at", "2016-01-14 22:39:33.702763"]]  (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", "2016-01-14 22:39:33.705762"], ["updated_at", "2016-01-14 22:39:33.705762"]]  (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 16' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-14 22:39:33.711614"], ["updated_at", "2016-01-14 22:39:33.711614"]]  (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 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-01-14 22:39:33.717838"], ["updated_at", "2016-01-14 22:39:33.717838"]]  (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.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", "2016-01-14 22:39:33.723891"], ["updated_at", "2016-01-14 22:39:33.723891"]]  (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", "2016-01-14 22:39:33.800767"], ["updated_at", "2016-01-14 22:39:33.800767"]]  (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.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.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-01-14 22:39:33.813783"], ["updated_at", "2016-01-14 22:39:33.813783"]]  (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", "2016-01-14 22:39:33.816766"], ["updated_at", "2016-01-14 22:39:33.816766"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-14 22:39:33.819104"], ["updated_at", "2016-01-14 22:39:33.819104"]]  (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", "2016-01-14 22:39:33.824113"], ["updated_at", "2016-01-14 22:39:33.824113"]]  (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-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-01-14 22:39:33.827607"], ["updated_at", "2016-01-14 22:39:33.827607"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-14 22:39:33.829832"], ["updated_at", "2016-01-14 22:39:33.829832"]]  (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", "2016-01-14 22:39:33.833331"], ["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.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.6ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-14 22:39:33.847091"], ["updated_at", "2016-01-14 22:39:33.847091"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-14 22:39:33.852693"], ["updated_at", "2016-01-14 22:39:33.852693"]]  (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", "2016-01-14 22:39:33.859244"], ["updated_at", "2016-01-14 22:39:33.859244"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-14 22:39:33.861052"], ["updated_at", "2016-01-14 22:39:33.861052"]]  (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-01-14 22:39:33.862654"], ["updated_at", "2016-01-14 22:39:33.862654"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) commit transaction  (0.4ms) 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.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.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-01-14 22:39:33.891726"], ["updated_at", "2016-01-14 22:39:33.891726"]]  (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.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-14 22:39:33.895260"], ["updated_at", "2016-01-14 22:39:33.895260"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.5ms) begin transaction  (0.2ms) 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.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.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.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.1ms) 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", "2016-01-14 22:39:33.940034"], ["updated_at", "2016-01-14 22:39:33.940034"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1  (0.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.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-14 22:39:33.954128"], ["updated_at", "2016-01-14 22:39:33.954128"]]  (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-01-14 22:39:33.957381"], ["updated_at", "2016-01-14 22:39:33.957381"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-14 22:39:33.959512"], ["updated_at", "2016-01-14 22:39:33.959512"]]  (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.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.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.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';  (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';  (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';  (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';  (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.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.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 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:05:22.159318"], ["updated_at", "2016-01-20 22:05:22.159318"]]  (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", "2016-01-20 22:05:22.291334"], ["updated_at", "2016-01-20 22:05:22.291334"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:05:22.300158"], ["updated_at", "2016-01-20 22:05:22.300158"]]  (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-01-20 22:05:22.302497"], ["updated_at", "2016-01-20 22:05:22.302497"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-01-20 22:05:22.325813"], ["updated_at", "2016-01-20 22:05:22.325813"]]  (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-01-20 22:05:22.328507"], ["updated_at", "2016-01-20 22:05:22.328507"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:05:22.332165"], ["updated_at", "2016-01-20 22:05:22.332165"]]  (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-01-20 22:05:22.333894"], ["updated_at", "2016-01-20 22:05:22.333894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:05:22.336870"], ["updated_at", "2016-01-20 22:05:22.336870"]]  (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 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-01-20 22:05:22.338401"], ["updated_at", "2016-01-20 22:05:22.338401"]]  (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", "2016-01-20 22:05:22.344747"], ["updated_at", "2016-01-20 22:05:22.344747"]]  (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", "2016-01-20 22:05:22.349077"], ["updated_at", "2016-01-20 22:05:22.349077"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2016-01-20 22:05:22.351179"], ["updated_at", "2016-01-20 22:05:22.351179"]]  (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", "2016-01-20 22:05:22.353121"], ["updated_at", "2016-01-20 22:05:22.353121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.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-01-20 22:05:22.360831"], ["updated_at", "2016-01-20 22:05:22.360831"]]  (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", "2016-01-20 22:05:22.363618"], ["updated_at", "2016-01-20 22:05:22.363618"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:05:22.365566"], ["updated_at", "2016-01-20 22:05:22.365566"]]  (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-01-20 22:05:22.367672"], ["updated_at", "2016-01-20 22:05:22.367672"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-01-20 22:05:22.370944"], ["updated_at", "2016-01-20 22:05:22.370944"]]  (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 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-01-20 22:05:22.375065"], ["updated_at", "2016-01-20 22:05:22.375065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:05:22.381095"], ["updated_at", "2016-01-20 22:05:22.381095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) 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-01-20 22:05:22.383653"], ["updated_at", "2016-01-20 22:05:22.383653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:05:22.389399"], ["updated_at", "2016-01-20 22:05:22.389399"]]  (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-01-20 22:05:22.392483"], ["updated_at", "2016-01-20 22:05:22.392483"]]  (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", "2016-01-20 22:05:22.400111"], ["updated_at", "2016-01-20 22:05:22.400111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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-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", "2016-01-20 22:05:22.405487"], ["updated_at", "2016-01-20 22:05:22.405487"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", "2016-01-20 22:05:22.408998"], ["updated_at", "2016-01-20 22:05:22.408998"]]  (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", "2016-01-20 22:05:22.412776"], ["updated_at", "2016-01-20 22:05:22.412776"]]  (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", "2016-01-20 22:05:22.423542"], ["updated_at", "2016-01-20 22:05:22.423542"]]  (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", "2016-01-20 22:05:22.437167"], ["updated_at", "2016-01-20 22:05:22.437167"]]  (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", "2016-01-20 22:05:22.442153"], ["updated_at", "2016-01-20 22:05:22.442153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:05:22.446165"], ["updated_at", "2016-01-20 22:05:22.446165"]]  (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-01-20 22:05:22.448318"], ["updated_at", "2016-01-20 22:05:22.448318"]]  (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", "2016-01-20 22:05:22.452896"], ["updated_at", "2016-01-20 22:05:22.452896"]]  (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", "2016-01-20 22:05:22.454743"], ["updated_at", "2016-01-20 22:05:22.454743"]]  (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", "2016-01-20 22:05:22.470376"], ["updated_at", "2016-01-20 22:05:22.470376"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:05:22.472180"], ["updated_at", "2016-01-20 22:05:22.472180"]]  (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.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["version_id", 1], ["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_content_element_type_id", 1], ["created_at", "2016-01-20 22:05:22.480997"], ["updated_at", "2016-01-20 22:05:22.480997"]]  (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-01-20 22:05:22.485360"], ["updated_at", "2016-01-20 22:05:22.485360"]]  (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-01-20 22:05:22.489470"], ["updated_at", "2016-01-20 22:05:22.489470"]]  (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.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT 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", "2016-01-20 22:05:22.500266"], ["updated_at", "2016-01-20 22:05:22.500266"]]  (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 11' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-20 22:05:22.505790"], ["updated_at", "2016-01-20 22:05:22.505790"]]  (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 12' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-01-20 22:05:22.537512"], ["updated_at", "2016-01-20 22:05:22.537512"]]  (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.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.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 13' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-20 22:05:22.549555"], ["updated_at", "2016-01-20 22:05:22.549555"]]  (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 14' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-01-20 22:05:22.554183"], ["updated_at", "2016-01-20 22:05:22.554183"]]  (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", "2016-01-20 22:05:22.560346"], ["updated_at", "2016-01-20 22:05:22.560346"]]  (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-01-20 22:05:22.565862"], ["updated_at", "2016-01-20 22:05:22.565862"]]  (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 13"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:05:22.567725"], ["updated_at", "2016-01-20 22:05:22.567725"]]  (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", "2016-01-20 22:05:22.574610"], ["updated_at", "2016-01-20 22:05:22.574610"]]  (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 14"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:05:22.576475"], ["updated_at", "2016-01-20 22:05:22.576475"]]  (0.0ms) 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 16' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-20 22:05:22.583124"], ["updated_at", "2016-01-20 22:05:22.583124"]]  (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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-20 22:05:22.588082"], ["updated_at", "2016-01-20 22:05:22.588082"]]  (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-01-20 22:05:22.593269"], ["updated_at", "2016-01-20 22:05:22.593269"]]  (0.0ms) 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 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:05:22.761315"], ["updated_at", "2016-01-20 22:05:22.761315"]]  (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.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", "2016-01-20 22:05:22.777873"], ["updated_at", "2016-01-20 22:05:22.777873"]]  (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", "2016-01-20 22:05:22.781905"], ["updated_at", "2016-01-20 22:05:22.781905"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:05:22.784198"], ["updated_at", "2016-01-20 22:05:22.784198"]]  (1.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 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:05:22.790840"], ["updated_at", "2016-01-20 22:05:22.790840"]]  (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-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", "2016-01-20 22:05:22.794378"], ["updated_at", "2016-01-20 22:05:22.794378"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:05:22.799883"], ["updated_at", "2016-01-20 22:05:22.799883"]]  (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" != 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-01-20 22:05:22.803189"], ["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.2ms) 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.6ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-20 22:05:22.820006"], ["updated_at", "2016-01-20 22:05:22.820006"]]  (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", "2016-01-20 22:05:22.826479"], ["updated_at", "2016-01-20 22:05:22.826479"]]  (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", "2016-01-20 22:05:22.830653"], ["updated_at", "2016-01-20 22:05:22.830653"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:05:22.832976"], ["updated_at", "2016-01-20 22:05:22.832976"]]  (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-01-20 22:05:22.835241"], ["updated_at", "2016-01-20 22:05:22.835241"]]  (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.1ms) 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.1ms) rollback transaction  (0.3ms) 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 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:05:22.852068"], ["updated_at", "2016-01-20 22:05:22.852068"]]  (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 18' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-20 22:05:22.855702"], ["updated_at", "2016-01-20 22:05:22.855702"]]  (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.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.2ms) 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.2ms) 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 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.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-20 22:05:22.899432"], ["updated_at", "2016-01-20 22:05:22.899432"]]  (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.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", "2016-01-20 22:05:22.915653"], ["updated_at", "2016-01-20 22:05:22.915653"]]  (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-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", "2016-01-20 22:05:22.919811"], ["updated_at", "2016-01-20 22:05:22.919811"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:05:22.921975"], ["updated_at", "2016-01-20 22:05:22.921975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.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.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) 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.1ms) 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.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.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", "2016-01-20 22:10:46.464379"], ["updated_at", "2016-01-20 22:10:46.464379"]]  (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-01-20 22:10:46.580679"], ["updated_at", "2016-01-20 22:10:46.580679"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:10:46.590149"], ["updated_at", "2016-01-20 22:10:46.590149"]]  (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-01-20 22:10:46.593135"], ["updated_at", "2016-01-20 22:10:46.593135"]]  (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.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-01-20 22:10:46.608271"], ["updated_at", "2016-01-20 22:10:46.608271"]]  (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 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-01-20 22:10:46.611100"], ["updated_at", "2016-01-20 22:10:46.611100"]]  (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", "2016-01-20 22:10:46.614400"], ["updated_at", "2016-01-20 22:10:46.614400"]]  (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-01-20 22:10:46.616118"], ["updated_at", "2016-01-20 22:10:46.616118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:10:46.619214"], ["updated_at", "2016-01-20 22:10:46.619214"]]  (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-01-20 22:10:46.620697"], ["updated_at", "2016-01-20 22:10:46.620697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-20 22:10:46.624923"], ["updated_at", "2016-01-20 22:10:46.624923"]]  (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]] 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-01-20 22:10:46.611100"], ["updated_at", "2016-01-20 22:10:46.611100"]]  (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-01-20 22:10:46.632161"], ["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-01-20 22:10:46.616118"], ["updated_at", "2016-01-20 22:10:46.616118"]]  (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-01-20 22:10:46.637363"], ["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.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-01-20 22:10:46.620697"], ["updated_at", "2016-01-20 22:10:46.620697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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-01-20 22:10:46.641460"], ["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-01-20 22:10:46.644393"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.3ms) 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-01-20 22:10:46.651919"], ["updated_at", "2016-01-20 22:10:46.651919"]]  (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-01-20 22:10:46.654375"], ["updated_at", "2016-01-20 22:10:46.654375"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:10:46.656512"], ["updated_at", "2016-01-20 22:10:46.656512"]]  (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-01-20 22:10:46.658765"], ["updated_at", "2016-01-20 22:10:46.658765"]]  (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-01-20 22:10:46.661828"], ["updated_at", "2016-01-20 22:10:46.661828"]]  (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-01-20 22:10:46.663360"], ["updated_at", "2016-01-20 22:10:46.663360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:10:46.666002"], ["updated_at", "2016-01-20 22:10:46.666002"]]  (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-01-20 22:10:46.667460"], ["updated_at", "2016-01-20 22:10:46.667460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:10:46.669975"], ["updated_at", "2016-01-20 22:10:46.669975"]]  (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-01-20 22:10:46.671330"], ["updated_at", "2016-01-20 22:10:46.671330"]]  (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-01-20 22:10:46.673155"], ["updated_at", "2016-01-20 22:10:46.673155"]]  (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]] 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-01-20 22:10:46.663360"], ["updated_at", "2016-01-20 22:10:46.663360"]]  (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-01-20 22:10:46.678970"], ["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-01-20 22:10:46.667460"], ["updated_at", "2016-01-20 22:10:46.667460"]]  (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-01-20 22:10:46.683596"], ["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-01-20 22:10:46.671330"], ["updated_at", "2016-01-20 22:10:46.671330"]]  (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-01-20 22:10:46.691177"], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-20 22:10:46.692964"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.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.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:10:46.705971"], ["updated_at", "2016-01-20 22:10:46.705971"]]  (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-01-20 22:10:46.715278"], ["updated_at", "2016-01-20 22:10:46.715278"]]  (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", "2016-01-20 22:10:46.717512"], ["updated_at", "2016-01-20 22:10:46.717512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:10:46.720007"], ["updated_at", "2016-01-20 22:10:46.720007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-01-20 22:10:46.721285"], ["updated_at", "2016-01-20 22:10:46.721285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-01-20 22:10:46.723355"], ["updated_at", "2016-01-20 22:10:46.723355"]]  (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", "2016-01-20 22:10:46.724552"], ["updated_at", "2016-01-20 22:10:46.724552"]]  (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-01-20 22:10:46.729079"], ["updated_at", "2016-01-20 22:10:46.729079"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:10:46.730676"], ["updated_at", "2016-01-20 22:10:46.730676"]]  (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]] 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", "2016-01-20 22:10:46.737703"], ["updated_at", "2016-01-20 22:10:46.737703"]]  (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.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-01-20 22:10:46.742591"], ["updated_at", "2016-01-20 22:10:46.742591"]]  (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.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" ("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-01-20 22:10:46.749353"], ["updated_at", "2016-01-20 22:10:46.749353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) 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", "2016-01-20 22:10:46.758423"], ["updated_at", "2016-01-20 22:10:46.758423"]]  (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 11' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-20 22:10:46.763475"], ["updated_at", "2016-01-20 22:10:46.763475"]]  (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 12' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-01-20 22:10:46.784865"], ["updated_at", "2016-01-20 22:10:46.784865"]]  (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) 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.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 13' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-20 22:10:46.797995"], ["updated_at", "2016-01-20 22:10:46.797995"]]  (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 14' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-01-20 22:10:46.803077"], ["updated_at", "2016-01-20 22:10:46.803077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-20 22:10:46.808041"], ["updated_at", "2016-01-20 22:10:46.808041"]]  (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-01-20 22:10:46.813652"], ["updated_at", "2016-01-20 22:10:46.813652"]]  (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 13"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:10:46.815356"], ["updated_at", "2016-01-20 22:10:46.815356"]]  (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", "2016-01-20 22:10:46.821475"], ["updated_at", "2016-01-20 22:10:46.821475"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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 14"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:10:46.823426"], ["updated_at", "2016-01-20 22:10:46.823426"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) commit transaction  (0.2ms) 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-01-20 22:10:46.831393"], ["updated_at", "2016-01-20 22:10:46.831393"]]  (0.1ms) 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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-20 22:10:46.836267"], ["updated_at", "2016-01-20 22:10:46.836267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-20 22:10:46.841624"], ["updated_at", "2016-01-20 22:10:46.841624"]]  (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", "2016-01-20 22:10:46.968250"], ["updated_at", "2016-01-20 22:10:46.968250"]]  (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-4"]]  (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.1ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) commit transaction  (0.2ms) 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-01-20 22:10:46.987791"], ["updated_at", "2016-01-20 22:10:46.987791"]]  (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-01-20 22:10:46.990946"], ["updated_at", "2016-01-20 22:10:46.990946"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:10:46.993407"], ["updated_at", "2016-01-20 22:10:46.993407"]]  (0.3ms) 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 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:10:46.999784"], ["updated_at", "2016-01-20 22:10:46.999784"]]  (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-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", "2016-01-20 22:10:47.003751"], ["updated_at", "2016-01-20 22:10:47.003751"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:10:47.005638"], ["updated_at", "2016-01-20 22:10:47.005638"]]  (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" != 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-01-20 22:10:47.009006"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-20 22:10:47.024435"], ["updated_at", "2016-01-20 22:10:47.024435"]]  (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", "2016-01-20 22:10:47.029407"], ["updated_at", "2016-01-20 22:10:47.029407"]]  (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", "2016-01-20 22:10:47.032673"], ["updated_at", "2016-01-20 22:10:47.032673"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:10:47.034571"], ["updated_at", "2016-01-20 22:10:47.034571"]]  (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-01-20 22:10:47.036242"], ["updated_at", "2016-01-20 22:10:47.036242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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.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.3ms) 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-01-20 22:10:47.051005"], ["updated_at", "2016-01-20 22:10:47.051005"]]  (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", "2016-01-20 22:10:47.055093"], ["updated_at", "2016-01-20 22:10:47.055093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.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.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.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (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" = '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.2ms) 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", "2016-01-20 22:10:47.098526"], ["updated_at", "2016-01-20 22:10:47.098526"]]  (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.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) 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-01-20 22:10:47.110948"], ["updated_at", "2016-01-20 22:10:47.110948"]]  (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-01-20 22:10:47.115340"], ["updated_at", "2016-01-20 22:10:47.115340"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:10:47.117248"], ["updated_at", "2016-01-20 22:10:47.117248"]]  (0.0ms) 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.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 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) DELETE FROM "pulitzer_content_element_types";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (1.0ms) DELETE FROM "pulitzer_posts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.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.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.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.2ms) 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", "2016-01-20 22:11:31.331991"], ["updated_at", "2016-01-20 22:11:31.331991"]]  (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.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", "2016-01-20 22:11:31.452369"], ["updated_at", "2016-01-20 22:11:31.452369"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:11:31.460499"], ["updated_at", "2016-01-20 22:11:31.460499"]]  (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-01-20 22:11:31.462901"], ["updated_at", "2016-01-20 22:11:31.462901"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:11:31.476513"], ["updated_at", "2016-01-20 22:11:31.476513"]]  (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", "2016-01-20 22:11:31.479965"], ["updated_at", "2016-01-20 22:11:31.479965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:11:31.482957"], ["updated_at", "2016-01-20 22:11:31.482957"]]  (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", "2016-01-20 22:11:31.485487"], ["updated_at", "2016-01-20 22:11:31.485487"]]  (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 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-01-20 22:11:31.488779"], ["updated_at", "2016-01-20 22:11:31.488779"]]  (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", "2016-01-20 22:11:31.491077"], ["updated_at", "2016-01-20 22:11:31.491077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-20 22:11:31.495850"], ["updated_at", "2016-01-20 22:11:31.495850"]]  (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]] 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 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.2ms) 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-01-20 22:11:31.479965"], ["updated_at", "2016-01-20 22:11:31.479965"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:11:31.505209"], ["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 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" IS NULL) LIMIT 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-01-20 22:11:31.485487"], ["updated_at", "2016-01-20 22:11:31.485487"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:11:31.511639"], ["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 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" IS NULL) LIMIT 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-01-20 22:11:31.491077"], ["updated_at", "2016-01-20 22:11:31.491077"]]  (0.0ms) 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 3' AND "pulitzer_content_elements"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:11:31.517263"], ["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-01-20 22:11:31.520578"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.3ms) 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-01-20 22:11:31.528704"], ["updated_at", "2016-01-20 22:11:31.528704"]]  (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.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-01-20 22:11:31.531632"], ["updated_at", "2016-01-20 22:11:31.531632"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:11:31.534095"], ["updated_at", "2016-01-20 22:11:31.534095"]]  (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-01-20 22:11:31.535922"], ["updated_at", "2016-01-20 22:11:31.535922"]]  (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", "2016-01-20 22:11:31.538912"], ["updated_at", "2016-01-20 22:11:31.538912"]]  (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 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", "2016-01-20 22:11:31.541152"], ["updated_at", "2016-01-20 22:11:31.541152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:11:31.543803"], ["updated_at", "2016-01-20 22:11:31.543803"]]  (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", "2016-01-20 22:11:31.545877"], ["updated_at", "2016-01-20 22:11:31.545877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:11:31.548467"], ["updated_at", "2016-01-20 22:11:31.548467"]]  (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", "2016-01-20 22:11:31.550633"], ["updated_at", "2016-01-20 22:11:31.550633"]]  (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-01-20 22:11:31.552537"], ["updated_at", "2016-01-20 22:11:31.552537"]]  (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]] 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 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 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-01-20 22:11:31.541152"], ["updated_at", "2016-01-20 22:11:31.541152"]]  (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 4' AND "pulitzer_content_elements"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:11:31.559084"], ["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 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.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-01-20 22:11:31.545877"], ["updated_at", "2016-01-20 22:11:31.545877"]]  (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 5' AND "pulitzer_content_elements"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:11:31.569235"], ["id", 5]]  (0.3ms) 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"."id" = ? LIMIT 1 [["id", 3]]  (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" IS NULL) LIMIT 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-01-20 22:11:31.550633"], ["updated_at", "2016-01-20 22:11:31.550633"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:11:31.579675"], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-20 22:11:31.581440"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:11:31.590576"], ["updated_at", "2016-01-20 22:11:31.590576"]]  (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-01-20 22:11:31.598369"], ["updated_at", "2016-01-20 22:11:31.598369"]]  (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", "2016-01-20 22:11:31.602219"], ["updated_at", "2016-01-20 22:11:31.602219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:11:31.605006"], ["updated_at", "2016-01-20 22:11:31.605006"]]  (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-01-20 22:11:31.606475"], ["updated_at", "2016-01-20 22:11:31.606475"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-01-20 22:11:31.608796"], ["updated_at", "2016-01-20 22:11:31.608796"]]  (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", "2016-01-20 22:11:31.610022"], ["updated_at", "2016-01-20 22:11:31.610022"]]  (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", "2016-01-20 22:11:31.615221"], ["updated_at", "2016-01-20 22:11:31.615221"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:11:31.617151"], ["updated_at", "2016-01-20 22:11:31.617151"]]  (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.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", "2016-01-20 22:11:31.626513"], ["updated_at", "2016-01-20 22:11:31.626513"]]  (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", "2016-01-20 22:11:31.631560"], ["updated_at", "2016-01-20 22:11:31.631560"]]  (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", "2016-01-20 22:11:31.638910"], ["updated_at", "2016-01-20 22:11:31.638910"]]  (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.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", "2016-01-20 22:11:31.649549"], ["updated_at", "2016-01-20 22:11:31.649549"]]  (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.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 11' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-20 22:11:31.655367"], ["updated_at", "2016-01-20 22:11:31.655367"]]  (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 12' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-01-20 22:11:31.663962"], ["updated_at", "2016-01-20 22:11:31.663962"]]  (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.3ms) 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", "2016-01-20 22:11:31.670436"], ["updated_at", "2016-01-20 22:11:31.670436"]]  (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.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.2ms) 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 13' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-20 22:11:31.688611"], ["updated_at", "2016-01-20 22:11:31.688611"]]  (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 14' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-01-20 22:11:31.693799"], ["updated_at", "2016-01-20 22:11:31.693799"]]  (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 15' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-20 22:11:31.698457"], ["updated_at", "2016-01-20 22:11:31.698457"]]  (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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-20 22:11:31.704138"], ["updated_at", "2016-01-20 22:11:31.704138"]]  (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", "2016-01-20 22:11:31.706403"], ["updated_at", "2016-01-20 22:11:31.706403"]]  (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", "2016-01-20 22:11:31.711914"], ["updated_at", "2016-01-20 22:11:31.711914"]]  (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 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", "2016-01-20 22:11:31.714156"], ["updated_at", "2016-01-20 22:11:31.714156"]]  (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 16' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-20 22:11:31.720085"], ["updated_at", "2016-01-20 22:11:31.720085"]]  (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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-20 22:11:31.725419"], ["updated_at", "2016-01-20 22:11:31.725419"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-20 22:11:31.730332"], ["updated_at", "2016-01-20 22:11:31.730332"]]  (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", "2016-01-20 22:11:31.858097"], ["updated_at", "2016-01-20 22:11:31.858097"]]  (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.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.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-01-20 22:11:31.873458"], ["updated_at", "2016-01-20 22:11:31.873458"]]  (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.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", "2016-01-20 22:11:31.877290"], ["updated_at", "2016-01-20 22:11:31.877290"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:11:31.879951"], ["updated_at", "2016-01-20 22:11:31.879951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:11:31.885454"], ["updated_at", "2016-01-20 22:11:31.885454"]]  (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.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-01-20 22:11:31.889168"], ["updated_at", "2016-01-20 22:11:31.889168"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:11:31.891766"], ["updated_at", "2016-01-20 22:11:31.891766"]]  (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", "2016-01-20 22:11:31.896364"], ["id", 1]]  (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::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", "2016-01-20 22:11:31.909348"], ["updated_at", "2016-01-20 22:11:31.909348"]]  (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", "2016-01-20 22:11:31.914062"], ["updated_at", "2016-01-20 22:11:31.914062"]]  (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.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", "2016-01-20 22:11:31.917825"], ["updated_at", "2016-01-20 22:11:31.917825"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:11:31.924339"], ["updated_at", "2016-01-20 22:11:31.924339"]]  (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-01-20 22:11:31.926190"], ["updated_at", "2016-01-20 22:11:31.926190"]]  (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.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) 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-01-20 22:11:31.966572"], ["updated_at", "2016-01-20 22:11:31.966572"]]  (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 18' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-20 22:11:31.970542"], ["updated_at", "2016-01-20 22:11:31.970542"]]  (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) 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.1ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) 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.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.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.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.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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-20 22:11:32.013960"], ["updated_at", "2016-01-20 22:11:32.013960"]]  (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.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", "2016-01-20 22:11:32.028470"], ["updated_at", "2016-01-20 22:11:32.028470"]]  (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-01-20 22:11:32.031706"], ["updated_at", "2016-01-20 22:11:32.031706"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:11:32.034248"], ["updated_at", "2016-01-20 22:11:32.034248"]]  (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.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.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"  (1.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.9ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.9ms) DELETE FROM "pulitzer_tags";  (0.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.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.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.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-01-20 22:11:48.118526"], ["updated_at", "2016-01-20 22:11:48.118526"]]  (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-01-20 22:11:48.234831"], ["updated_at", "2016-01-20 22:11:48.234831"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:11:48.243244"], ["updated_at", "2016-01-20 22:11:48.243244"]]  (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-01-20 22:11:48.245660"], ["updated_at", "2016-01-20 22:11:48.245660"]]  (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.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-01-20 22:11:48.261085"], ["updated_at", "2016-01-20 22:11:48.261085"]]  (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", "2016-01-20 22:11:48.264983"], ["updated_at", "2016-01-20 22:11:48.264983"]]  (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", "2016-01-20 22:11:48.268860"], ["updated_at", "2016-01-20 22:11:48.268860"]]  (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", "2016-01-20 22:11:48.271268"], ["updated_at", "2016-01-20 22:11:48.271268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:11:48.274025"], ["updated_at", "2016-01-20 22:11:48.274025"]]  (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", "2016-01-20 22:11:48.276424"], ["updated_at", "2016-01-20 22:11:48.276424"]]  (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.2ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-20 22:11:48.281296"], ["updated_at", "2016-01-20 22:11:48.281296"]]  (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 [["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 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", "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-01-20 22:11:48.264983"], ["updated_at", "2016-01-20 22:11:48.264983"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:11:48.291001"], ["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 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" IS NULL) LIMIT 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-01-20 22:11:48.271268"], ["updated_at", "2016-01-20 22:11:48.271268"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:11:48.297431"], ["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 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" IS NULL) LIMIT 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-01-20 22:11:48.276424"], ["updated_at", "2016-01-20 22:11:48.276424"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:11:48.303361"], ["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-01-20 22:11:48.306564"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.3ms) 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-01-20 22:11:48.315223"], ["updated_at", "2016-01-20 22:11:48.315223"]]  (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.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-01-20 22:11:48.318161"], ["updated_at", "2016-01-20 22:11:48.318161"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:11:48.320403"], ["updated_at", "2016-01-20 22:11:48.320403"]]  (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-01-20 22:11:48.322013"], ["updated_at", "2016-01-20 22:11:48.322013"]]  (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-01-20 22:11:48.325248"], ["updated_at", "2016-01-20 22:11:48.325248"]]  (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", "2016-01-20 22:11:48.328203"], ["updated_at", "2016-01-20 22:11:48.328203"]]  (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-01-20 22:11:48.331441"], ["updated_at", "2016-01-20 22:11:48.331441"]]  (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", "2016-01-20 22:11:48.333758"], ["updated_at", "2016-01-20 22:11:48.333758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:11:48.336469"], ["updated_at", "2016-01-20 22:11:48.336469"]]  (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" = 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", "2016-01-20 22:11:48.338801"], ["updated_at", "2016-01-20 22:11:48.338801"]]  (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-01-20 22:11:48.340674"], ["updated_at", "2016-01-20 22:11:48.340674"]]  (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]] 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 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 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-01-20 22:11:48.328203"], ["updated_at", "2016-01-20 22:11:48.328203"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:11:48.347383"], ["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 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.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-01-20 22:11:48.333758"], ["updated_at", "2016-01-20 22:11:48.333758"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:11:48.355833"], ["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.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.3ms) 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.4ms) 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-01-20 22:11:48.338801"], ["updated_at", "2016-01-20 22:11:48.338801"]]  (0.2ms) 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 6' AND "pulitzer_content_elements"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:11:48.368434"], ["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-01-20 22:11:48.370473"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (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-01-20 22:11:48.379211"], ["updated_at", "2016-01-20 22:11:48.379211"]]  (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.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-01-20 22:11:48.386258"], ["updated_at", "2016-01-20 22:11:48.386258"]]  (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", "2016-01-20 22:11:48.388870"], ["updated_at", "2016-01-20 22:11:48.388870"]]  (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", "2016-01-20 22:11:48.391662"], ["updated_at", "2016-01-20 22:11:48.391662"]]  (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-01-20 22:11:48.393186"], ["updated_at", "2016-01-20 22:11:48.393186"]]  (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", "2016-01-20 22:11:48.395528"], ["updated_at", "2016-01-20 22:11:48.395528"]]  (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-01-20 22:11:48.396842"], ["updated_at", "2016-01-20 22:11:48.396842"]]  (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", "2016-01-20 22:11:48.401438"], ["updated_at", "2016-01-20 22:11:48.401438"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:11:48.403112"], ["updated_at", "2016-01-20 22:11:48.403112"]]  (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.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", "2016-01-20 22:11:48.413031"], ["updated_at", "2016-01-20 22:11:48.413031"]]  (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", "2016-01-20 22:11:48.418353"], ["updated_at", "2016-01-20 22:11:48.418353"]]  (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", "2016-01-20 22:11:48.423877"], ["updated_at", "2016-01-20 22:11:48.423877"]]  (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]]  (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) SAVEPOINT 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", "2016-01-20 22:11:48.436148"], ["updated_at", "2016-01-20 22:11:48.436148"]]  (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.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 11' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-20 22:11:48.442655"], ["updated_at", "2016-01-20 22:11:48.442655"]]  (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.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", "2016-01-20 22:11:48.452403"], ["updated_at", "2016-01-20 22:11:48.452403"]]  (0.1ms) 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", "2016-01-20 22:11:48.461085"], ["updated_at", "2016-01-20 22:11:48.461085"]]  (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.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) 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.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", "2016-01-20 22:11:48.481505"], ["updated_at", "2016-01-20 22:11:48.481505"]]  (0.1ms) 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 14' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-01-20 22:11:48.486274"], ["updated_at", "2016-01-20 22:11:48.486274"]]  (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.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", "2016-01-20 22:11:48.491552"], ["updated_at", "2016-01-20 22:11:48.491552"]]  (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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-20 22:11:48.497081"], ["updated_at", "2016-01-20 22:11:48.497081"]]  (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 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", "2016-01-20 22:11:48.499662"], ["updated_at", "2016-01-20 22:11:48.499662"]]  (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.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-01-20 22:11:48.505850"], ["updated_at", "2016-01-20 22:11:48.505850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.4ms) 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.4ms) 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", "2016-01-20 22:11:48.510592"], ["updated_at", "2016-01-20 22:11:48.510592"]]  (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 16' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-20 22:11:48.517107"], ["updated_at", "2016-01-20 22:11:48.517107"]]  (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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-20 22:11:48.522242"], ["updated_at", "2016-01-20 22:11:48.522242"]]  (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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-20 22:11:48.527571"], ["updated_at", "2016-01-20 22:11:48.527571"]]  (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 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:11:48.654022"], ["updated_at", "2016-01-20 22:11:48.654022"]]  (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-4"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.2ms) 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.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:11:48.674046"], ["updated_at", "2016-01-20 22:11:48.674046"]]  (0.2ms) 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.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-01-20 22:11:48.678769"], ["updated_at", "2016-01-20 22:11:48.678769"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:11:48.681110"], ["updated_at", "2016-01-20 22:11:48.681110"]]  (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", "2016-01-20 22:11:48.685719"], ["updated_at", "2016-01-20 22:11:48.685719"]]  (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-6"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-01-20 22:11:48.689393"], ["updated_at", "2016-01-20 22:11:48.689393"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:11:48.693313"], ["updated_at", "2016-01-20 22:11:48.693313"]]  (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.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-01-20 22:11:48.698476"], ["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.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", "2016-01-20 22:11:48.710852"], ["updated_at", "2016-01-20 22:11:48.710852"]]  (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-01-20 22:11:48.715459"], ["updated_at", "2016-01-20 22:11:48.715459"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] SQL (0.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", "2016-01-20 22:11:48.718306"], ["updated_at", "2016-01-20 22:11:48.718306"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:11:48.719958"], ["updated_at", "2016-01-20 22:11:48.719958"]]  (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-01-20 22:11:48.721436"], ["updated_at", "2016-01-20 22:11:48.721436"]]  (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.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.1ms) commit transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:11:48.745494"], ["updated_at", "2016-01-20 22:11:48.745494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:11:48.748494"], ["updated_at", "2016-01-20 22:11:48.748494"]]  (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) 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.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) 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.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.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.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", "2016-01-20 22:11:48.788210"], ["updated_at", "2016-01-20 22:11:48.788210"]]  (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.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 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:11:48.802056"], ["updated_at", "2016-01-20 22:11:48.802056"]]  (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-01-20 22:11:48.804595"], ["updated_at", "2016-01-20 22:11:48.804595"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:11:48.806426"], ["updated_at", "2016-01-20 22:11:48.806426"]]  (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.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.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.7ms) 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.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.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.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.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:12:22.466183"], ["updated_at", "2016-01-20 22:12:22.466183"]]  (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", "2016-01-20 22:12:22.589765"], ["updated_at", "2016-01-20 22:12:22.589765"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:12:22.598199"], ["updated_at", "2016-01-20 22:12:22.598199"]]  (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-01-20 22:12:22.600845"], ["updated_at", "2016-01-20 22:12:22.600845"]]  (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.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-01-20 22:12:22.615032"], ["updated_at", "2016-01-20 22:12:22.615032"]]  (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", "2016-01-20 22:12:22.618379"], ["updated_at", "2016-01-20 22:12:22.618379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:12:22.621400"], ["updated_at", "2016-01-20 22:12:22.621400"]]  (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", "2016-01-20 22:12:22.623448"], ["updated_at", "2016-01-20 22:12:22.623448"]]  (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.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-01-20 22:12:22.626238"], ["updated_at", "2016-01-20 22:12:22.626238"]]  (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", "2016-01-20 22:12:22.628162"], ["updated_at", "2016-01-20 22:12:22.628162"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-20 22:12:22.632562"], ["updated_at", "2016-01-20 22:12:22.632562"]]  (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]] 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 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", "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-01-20 22:12:22.618379"], ["updated_at", "2016-01-20 22:12:22.618379"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:12:22.641356"], ["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 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" IS NULL) LIMIT 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-01-20 22:12:22.623448"], ["updated_at", "2016-01-20 22:12:22.623448"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:12:22.648157"], ["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 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" IS NULL) LIMIT 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-01-20 22:12:22.628162"], ["updated_at", "2016-01-20 22:12:22.628162"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:12:22.653566"], ["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-01-20 22:12:22.656642"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.3ms) 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-01-20 22:12:22.664879"], ["updated_at", "2016-01-20 22:12:22.664879"]]  (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-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-01-20 22:12:22.667673"], ["updated_at", "2016-01-20 22:12:22.667673"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:12:22.669692"], ["updated_at", "2016-01-20 22:12:22.669692"]]  (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-01-20 22:12:22.671266"], ["updated_at", "2016-01-20 22:12:22.671266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:12:22.673759"], ["updated_at", "2016-01-20 22:12:22.673759"]]  (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", "2016-01-20 22:12:22.675808"], ["updated_at", "2016-01-20 22:12:22.675808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:12:22.678418"], ["updated_at", "2016-01-20 22:12:22.678418"]]  (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", "2016-01-20 22:12:22.680321"], ["updated_at", "2016-01-20 22:12:22.680321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:12:22.682822"], ["updated_at", "2016-01-20 22:12:22.682822"]]  (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", "2016-01-20 22:12:22.685114"], ["updated_at", "2016-01-20 22:12:22.685114"]]  (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-01-20 22:12:22.687109"], ["updated_at", "2016-01-20 22:12:22.687109"]]  (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]] 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 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 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-01-20 22:12:22.675808"], ["updated_at", "2016-01-20 22:12:22.675808"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:12:22.694037"], ["id", 4]]  (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", 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 5' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 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-01-20 22:12:22.680321"], ["updated_at", "2016-01-20 22:12:22.680321"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:12:22.700419"], ["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 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.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-01-20 22:12:22.685114"], ["updated_at", "2016-01-20 22:12:22.685114"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:12:22.705708"], ["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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-20 22:12:22.707409"], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 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]]  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:12:22.718463"], ["updated_at", "2016-01-20 22:12:22.718463"]]  (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", "2016-01-20 22:12:22.726832"], ["updated_at", "2016-01-20 22:12:22.726832"]]  (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-01-20 22:12:22.729544"], ["updated_at", "2016-01-20 22:12:22.729544"]]  (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", "2016-01-20 22:12:22.732854"], ["updated_at", "2016-01-20 22:12:22.732854"]]  (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-01-20 22:12:22.734648"], ["updated_at", "2016-01-20 22:12:22.734648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-01-20 22:12:22.736965"], ["updated_at", "2016-01-20 22:12:22.736965"]]  (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-01-20 22:12:22.738188"], ["updated_at", "2016-01-20 22:12:22.738188"]]  (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", "2016-01-20 22:12:22.742737"], ["updated_at", "2016-01-20 22:12:22.742737"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:12:22.744695"], ["updated_at", "2016-01-20 22:12:22.744695"]]  (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]]  (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]] 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", "2016-01-20 22:12:22.754357"], ["updated_at", "2016-01-20 22:12:22.754357"]]  (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.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", "2016-01-20 22:12:22.761372"], ["updated_at", "2016-01-20 22:12:22.761372"]]  (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]] 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", "2016-01-20 22:12:22.766858"], ["updated_at", "2016-01-20 22:12:22.766858"]]  (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.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) SAVEPOINT 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", "2016-01-20 22:12:22.776577"], ["updated_at", "2016-01-20 22:12:22.776577"]]  (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.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 11' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-20 22:12:22.782251"], ["updated_at", "2016-01-20 22:12:22.782251"]]  (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", "2016-01-20 22:12:22.790834"], ["updated_at", "2016-01-20 22:12:22.790834"]]  (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", "2016-01-20 22:12:22.797898"], ["updated_at", "2016-01-20 22:12:22.797898"]]  (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.2ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) 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.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", "2016-01-20 22:12:22.816375"], ["updated_at", "2016-01-20 22:12:22.816375"]]  (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 14' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-01-20 22:12:22.821476"], ["updated_at", "2016-01-20 22:12:22.821476"]]  (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", "2016-01-20 22:12:22.827117"], ["updated_at", "2016-01-20 22:12:22.827117"]]  (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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-20 22:12:22.833007"], ["updated_at", "2016-01-20 22:12:22.833007"]]  (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", "2016-01-20 22:12:22.835351"], ["updated_at", "2016-01-20 22:12:22.835351"]]  (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) SAVEPOINT active_record_1 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", "2016-01-20 22:12:22.842604"], ["updated_at", "2016-01-20 22:12:22.842604"]]  (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 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", "2016-01-20 22:12:22.845276"], ["updated_at", "2016-01-20 22:12:22.845276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::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-01-20 22:12:22.851599"], ["updated_at", "2016-01-20 22:12:22.851599"]]  (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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-20 22:12:22.856845"], ["updated_at", "2016-01-20 22:12:22.856845"]]  (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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-20 22:12:22.863930"], ["updated_at", "2016-01-20 22:12:22.863930"]]  (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", "2016-01-20 22:12:22.989172"], ["updated_at", "2016-01-20 22:12:22.989172"]]  (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-4"]]  (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.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-01-20 22:12:23.004826"], ["updated_at", "2016-01-20 22:12:23.004826"]]  (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", "2016-01-20 22:12:23.007461"], ["updated_at", "2016-01-20 22:12:23.007461"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:12:23.009960"], ["updated_at", "2016-01-20 22:12:23.009960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:12:23.017864"], ["updated_at", "2016-01-20 22:12:23.017864"]]  (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.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-01-20 22:12:23.020608"], ["updated_at", "2016-01-20 22:12:23.020608"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:12:23.023039"], ["updated_at", "2016-01-20 22:12:23.023039"]]  (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.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", "2016-01-20 22:12:23.025861"], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.2ms) 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-01-20 22:12:23.046008"], ["updated_at", "2016-01-20 22:12:23.046008"]]  (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-01-20 22:12:23.050073"], ["updated_at", "2016-01-20 22:12:23.050073"]]  (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.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", "2016-01-20 22:12:23.052779"], ["updated_at", "2016-01-20 22:12:23.052779"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:12:23.054353"], ["updated_at", "2016-01-20 22:12:23.054353"]]  (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-01-20 22:12:23.055774"], ["updated_at", "2016-01-20 22:12:23.055774"]]  (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.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  (0.0ms) 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", "2016-01-20 22:12:23.079683"], ["updated_at", "2016-01-20 22:12:23.079683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:12:23.082827"], ["updated_at", "2016-01-20 22:12:23.082827"]]  (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.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.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.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.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.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.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-20 22:12:23.122528"], ["updated_at", "2016-01-20 22:12:23.122528"]]  (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.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  (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-01-20 22:12:23.139915"], ["updated_at", "2016-01-20 22:12:23.139915"]]  (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-8"]] SQL (0.9ms) 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-01-20 22:12:23.144665"], ["updated_at", "2016-01-20 22:12:23.144665"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:12:23.151417"], ["updated_at", "2016-01-20 22:12:23.151417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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) 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"  (1.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.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.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.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.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", "2016-01-20 22:23:04.297704"], ["updated_at", "2016-01-20 22:23:04.297704"]]  (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", "2016-01-20 22:23:04.416044"], ["updated_at", "2016-01-20 22:23:04.416044"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:04.424498"], ["updated_at", "2016-01-20 22:23:04.424498"]]  (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-01-20 22:23:04.426748"], ["updated_at", "2016-01-20 22:23:04.426748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:23:04.450886"], ["updated_at", "2016-01-20 22:23:04.450886"]]  (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", "2016-01-20 22:23:04.454569"], ["updated_at", "2016-01-20 22:23:04.454569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:23:04.457787"], ["updated_at", "2016-01-20 22:23:04.457787"]]  (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", "2016-01-20 22:23:04.459820"], ["updated_at", "2016-01-20 22:23:04.459820"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:23:04.462579"], ["updated_at", "2016-01-20 22:23:04.462579"]]  (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", "2016-01-20 22:23:04.464760"], ["updated_at", "2016-01-20 22:23:04.464760"]]  (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.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-01-20 22:23:04.469661"], ["updated_at", "2016-01-20 22:23:04.469661"]]  (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]] 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 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", "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-01-20 22:23:04.454569"], ["updated_at", "2016-01-20 22:23:04.454569"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:04.479502"], ["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 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" IS NULL) LIMIT 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-01-20 22:23:04.459820"], ["updated_at", "2016-01-20 22:23:04.459820"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:04.487106"], ["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.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" IS NULL) LIMIT 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-01-20 22:23:04.464760"], ["updated_at", "2016-01-20 22:23:04.464760"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:04.499784"], ["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-01-20 22:23:04.505137"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.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", "2016-01-20 22:23:04.518763"], ["updated_at", "2016-01-20 22:23:04.518763"]]  (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.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-01-20 22:23:04.524455"], ["updated_at", "2016-01-20 22:23:04.524455"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:04.528252"], ["updated_at", "2016-01-20 22:23:04.528252"]]  (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-01-20 22:23:04.532107"], ["updated_at", "2016-01-20 22:23:04.532107"]]  (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", "2016-01-20 22:23:04.539579"], ["updated_at", "2016-01-20 22:23:04.539579"]]  (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", "2016-01-20 22:23:04.542664"], ["updated_at", "2016-01-20 22:23:04.542664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:23:04.546735"], ["updated_at", "2016-01-20 22:23:04.546735"]]  (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 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", "2016-01-20 22:23:04.550566"], ["updated_at", "2016-01-20 22:23:04.550566"]]  (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", "2016-01-20 22:23:04.556833"], ["updated_at", "2016-01-20 22:23:04.556833"]]  (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", "2016-01-20 22:23:04.561641"], ["updated_at", "2016-01-20 22:23:04.561641"]]  (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-01-20 22:23:04.565551"], ["updated_at", "2016-01-20 22:23:04.565551"]]  (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]] 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 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 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-01-20 22:23:04.542664"], ["updated_at", "2016-01-20 22:23:04.542664"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:04.576155"], ["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 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.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-01-20 22:23:04.550566"], ["updated_at", "2016-01-20 22:23:04.550566"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:04.592047"], ["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 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.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-01-20 22:23:04.561641"], ["updated_at", "2016-01-20 22:23:04.561641"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:04.598164"], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-20 22:23:04.599975"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (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-01-20 22:23:04.607522"], ["updated_at", "2016-01-20 22:23:04.607522"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:23:04.615179"], ["updated_at", "2016-01-20 22:23:04.615179"]]  (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", "2016-01-20 22:23:04.617797"], ["updated_at", "2016-01-20 22:23:04.617797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:23:04.620275"], ["updated_at", "2016-01-20 22:23:04.620275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-01-20 22:23:04.621604"], ["updated_at", "2016-01-20 22:23:04.621604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-01-20 22:23:04.623703"], ["updated_at", "2016-01-20 22:23:04.623703"]]  (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-01-20 22:23:04.624990"], ["updated_at", "2016-01-20 22:23:04.624990"]]  (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", "2016-01-20 22:23:04.629799"], ["updated_at", "2016-01-20 22:23:04.629799"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:04.631484"], ["updated_at", "2016-01-20 22:23:04.631484"]]  (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.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.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", "2016-01-20 22:23:04.641156"], ["updated_at", "2016-01-20 22:23:04.641156"]]  (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", "2016-01-20 22:23:04.646053"], ["updated_at", "2016-01-20 22:23:04.646053"]]  (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", "2016-01-20 22:23:04.650785"], ["updated_at", "2016-01-20 22:23:04.650785"]]  (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]]  (0.8ms) 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-01-20 22:23:04.658158"], ["updated_at", "2016-01-20 22:23:04.658158"]]  (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-01-20 22:23:04.660723"], ["updated_at", "2016-01-20 22:23:04.660723"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:04.662519"], ["updated_at", "2016-01-20 22:23:04.662519"]]  (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-01-20 22:23:04.664141"], ["updated_at", "2016-01-20 22:23:04.664141"]]  (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 10' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-01-20 22:23:04.667092"], ["updated_at", "2016-01-20 22:23:04.667092"]]  (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" = 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 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-01-20 22:23:04.669343"], ["updated_at", "2016-01-20 22:23:04.669343"]]  (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 11' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-20 22:23:04.673109"], ["updated_at", "2016-01-20 22:23:04.673109"]]  (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" = 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 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-01-20 22:23:04.675362"], ["updated_at", "2016-01-20 22:23:04.675362"]]  (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 12' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-01-20 22:23:04.678384"], ["updated_at", "2016-01-20 22:23:04.678384"]]  (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 9' 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 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-01-20 22:23:04.680664"], ["updated_at", "2016-01-20 22:23:04.680664"]]  (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) 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 13' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-20 22:23:04.704398"], ["updated_at", "2016-01-20 22:23:04.704398"]]  (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 10' 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  (0.0ms) SAVEPOINT 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", "2016-01-20 22:23:04.710001"], ["updated_at", "2016-01-20 22:23:04.710001"]]  (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.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 15' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-20 22:23:04.717886"], ["updated_at", "2016-01-20 22:23:04.717886"]]  (0.1ms) 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.3ms) 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", "2016-01-20 22:23:04.725510"], ["updated_at", "2016-01-20 22:23:04.725510"]]  (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.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.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 16' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-20 22:23:04.743234"], ["updated_at", "2016-01-20 22:23:04.743234"]]  (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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-20 22:23:04.748076"], ["updated_at", "2016-01-20 22:23:04.748076"]]  (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 18' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-20 22:23:04.753531"], ["updated_at", "2016-01-20 22:23:04.753531"]]  (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.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-01-20 22:23:04.759278"], ["updated_at", "2016-01-20 22:23:04.759278"]]  (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 16' 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 16"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:23:04.761544"], ["updated_at", "2016-01-20 22:23:04.761544"]]  (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.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-01-20 22:23:04.767679"], ["updated_at", "2016-01-20 22:23:04.767679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 17' 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 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:23:04.771361"], ["updated_at", "2016-01-20 22:23:04.771361"]]  (0.1ms) 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 19' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-20 22:23:04.777440"], ["updated_at", "2016-01-20 22:23:04.777440"]]  (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 20' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-20 22:23:04.782446"], ["updated_at", "2016-01-20 22:23:04.782446"]]  (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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-20 22:23:04.788820"], ["updated_at", "2016-01-20 22:23:04.788820"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:23:04.906881"], ["updated_at", "2016-01-20 22:23:04.906881"]]  (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-5"]]  (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.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-01-20 22:23:04.922378"], ["updated_at", "2016-01-20 22:23:04.922378"]]  (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-6"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-01-20 22:23:04.926755"], ["updated_at", "2016-01-20 22:23:04.926755"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:04.929775"], ["updated_at", "2016-01-20 22:23:04.929775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.4ms) 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-01-20 22:23:04.935453"], ["updated_at", "2016-01-20 22:23:04.935453"]]  (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.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-01-20 22:23:04.938827"], ["updated_at", "2016-01-20 22:23:04.938827"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:04.942787"], ["updated_at", "2016-01-20 22:23:04.942787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2016-01-20 22:23:04.948688"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-20 22:23:04.964001"], ["updated_at", "2016-01-20 22:23:04.964001"]]  (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", "2016-01-20 22:23:04.968274"], ["updated_at", "2016-01-20 22:23:04.968274"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-20 22:23:04.973623"], ["updated_at", "2016-01-20 22:23:04.973623"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:04.975617"], ["updated_at", "2016-01-20 22:23:04.975617"]]  (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-01-20 22:23:04.977337"], ["updated_at", "2016-01-20 22:23:04.977337"]]  (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.2ms) 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.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 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:23:05.004399"], ["updated_at", "2016-01-20 22:23:05.004399"]]  (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 21' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-20 22:23:05.008069"], ["updated_at", "2016-01-20 22:23:05.008069"]]  (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.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.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.1ms) 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.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.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", "2016-01-20 22:23:05.048881"], ["updated_at", "2016-01-20 22:23:05.048881"]]  (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.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", "2016-01-20 22:23:05.060885"], ["updated_at", "2016-01-20 22:23:05.060885"]]  (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.3ms) 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-01-20 22:23:05.064089"], ["updated_at", "2016-01-20 22:23:05.064089"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:05.066107"], ["updated_at", "2016-01-20 22:23:05.066107"]]  (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.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.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 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.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.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.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.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", "2016-01-20 22:23:20.360759"], ["updated_at", "2016-01-20 22:23:20.360759"]]  (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", "2016-01-20 22:23:20.482136"], ["updated_at", "2016-01-20 22:23:20.482136"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:20.490071"], ["updated_at", "2016-01-20 22:23:20.490071"]]  (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-01-20 22:23:20.492655"], ["updated_at", "2016-01-20 22:23:20.492655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:23:20.515144"], ["updated_at", "2016-01-20 22:23:20.515144"]]  (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", "2016-01-20 22:23:20.518496"], ["updated_at", "2016-01-20 22:23:20.518496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:23:20.521690"], ["updated_at", "2016-01-20 22:23:20.521690"]]  (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", "2016-01-20 22:23:20.524705"], ["updated_at", "2016-01-20 22:23:20.524705"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:23:20.527962"], ["updated_at", "2016-01-20 22:23:20.527962"]]  (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", "2016-01-20 22:23:20.530029"], ["updated_at", "2016-01-20 22:23:20.530029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-20 22:23:20.535321"], ["updated_at", "2016-01-20 22:23:20.535321"]]  (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]] 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 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", "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-01-20 22:23:20.518496"], ["updated_at", "2016-01-20 22:23:20.518496"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:20.545872"], ["id", 4]]  (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", 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 2' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 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-01-20 22:23:20.524705"], ["updated_at", "2016-01-20 22:23:20.524705"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:20.554024"], ["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 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" IS NULL) LIMIT 1 SQL (0.9ms) 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-01-20 22:23:20.530029"], ["updated_at", "2016-01-20 22:23:20.530029"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:20.567373"], ["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-01-20 22:23:20.572654"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.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-01-20 22:23:20.586870"], ["updated_at", "2016-01-20 22:23:20.586870"]]  (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-01-20 22:23:20.592369"], ["updated_at", "2016-01-20 22:23:20.592369"]] SQL (0.9ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:20.596196"], ["updated_at", "2016-01-20 22:23:20.596196"]]  (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-01-20 22:23:20.598766"], ["updated_at", "2016-01-20 22:23:20.598766"]]  (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", "2016-01-20 22:23:20.606679"], ["updated_at", "2016-01-20 22:23:20.606679"]]  (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", "2016-01-20 22:23:20.609564"], ["updated_at", "2016-01-20 22:23:20.609564"]]  (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", "2016-01-20 22:23:20.614304"], ["updated_at", "2016-01-20 22:23:20.614304"]]  (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 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", "2016-01-20 22:23:20.620385"], ["updated_at", "2016-01-20 22:23:20.620385"]]  (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" = 'Text 6' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-01-20 22:23:20.630577"], ["updated_at", "2016-01-20 22:23:20.630577"]]  (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", "2016-01-20 22:23:20.636865"], ["updated_at", "2016-01-20 22:23:20.636865"]]  (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-01-20 22:23:20.640395"], ["updated_at", "2016-01-20 22:23:20.640395"]]  (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]] 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 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 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-01-20 22:23:20.609564"], ["updated_at", "2016-01-20 22:23:20.609564"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:20.650849"], ["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 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.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-01-20 22:23:20.620385"], ["updated_at", "2016-01-20 22:23:20.620385"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:20.666436"], ["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 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.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-01-20 22:23:20.636865"], ["updated_at", "2016-01-20 22:23:20.636865"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:20.671581"], ["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-01-20 22:23:20.673421"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:23:20.681732"], ["updated_at", "2016-01-20 22:23:20.681732"]]  (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-01-20 22:23:20.689082"], ["updated_at", "2016-01-20 22:23:20.689082"]]  (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", "2016-01-20 22:23:20.692723"], ["updated_at", "2016-01-20 22:23:20.692723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:23:20.695244"], ["updated_at", "2016-01-20 22:23:20.695244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-01-20 22:23:20.696543"], ["updated_at", "2016-01-20 22:23:20.696543"]]  (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", "2016-01-20 22:23:20.698656"], ["updated_at", "2016-01-20 22:23:20.698656"]]  (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", "2016-01-20 22:23:20.699904"], ["updated_at", "2016-01-20 22:23:20.699904"]]  (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", "2016-01-20 22:23:20.704469"], ["updated_at", "2016-01-20 22:23:20.704469"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:20.706037"], ["updated_at", "2016-01-20 22:23:20.706037"]]  (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", "2016-01-20 22:23:20.714954"], ["updated_at", "2016-01-20 22:23:20.714954"]]  (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", "2016-01-20 22:23:20.720459"], ["updated_at", "2016-01-20 22:23:20.720459"]]  (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", "2016-01-20 22:23:20.726918"], ["updated_at", "2016-01-20 22:23:20.726918"]]  (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) 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-01-20 22:23:20.735147"], ["updated_at", "2016-01-20 22:23:20.735147"]]  (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.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-01-20 22:23:20.737950"], ["updated_at", "2016-01-20 22:23:20.737950"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:20.740541"], ["updated_at", "2016-01-20 22:23:20.740541"]]  (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-01-20 22:23:20.742250"], ["updated_at", "2016-01-20 22:23:20.742250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:23:20.744809"], ["updated_at", "2016-01-20 22:23:20.744809"]]  (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" = 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 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-01-20 22:23:20.746795"], ["updated_at", "2016-01-20 22:23:20.746795"]]  (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 11' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-20 22:23:20.749489"], ["updated_at", "2016-01-20 22:23:20.749489"]]  (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" = 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 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-01-20 22:23:20.751384"], ["updated_at", "2016-01-20 22:23:20.751384"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:23:20.754227"], ["updated_at", "2016-01-20 22:23:20.754227"]]  (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" = 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 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-01-20 22:23:20.756188"], ["updated_at", "2016-01-20 22:23:20.756188"]]  (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  (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", "2016-01-20 22:23:20.765213"], ["updated_at", "2016-01-20 22:23:20.765213"]]  (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 10' 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  (0.1ms) SAVEPOINT 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", "2016-01-20 22:23:20.771954"], ["updated_at", "2016-01-20 22:23:20.771954"]]  (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 15' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-20 22:23:20.782299"], ["updated_at", "2016-01-20 22:23:20.782299"]]  (0.1ms) 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", "2016-01-20 22:23:20.788708"], ["updated_at", "2016-01-20 22:23:20.788708"]]  (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.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.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", "2016-01-20 22:23:20.805915"], ["updated_at", "2016-01-20 22:23:20.805915"]]  (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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-20 22:23:20.811978"], ["updated_at", "2016-01-20 22:23:20.811978"]]  (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 18' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-20 22:23:20.816985"], ["updated_at", "2016-01-20 22:23:20.816985"]]  (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", "2016-01-20 22:23:20.822809"], ["updated_at", "2016-01-20 22:23:20.822809"]]  (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 16' 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 16"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:23:20.825436"], ["updated_at", "2016-01-20 22:23:20.825436"]]  (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", "2016-01-20 22:23:20.831808"], ["updated_at", "2016-01-20 22:23:20.831808"]]  (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 17' 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 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:23:20.834191"], ["updated_at", "2016-01-20 22:23:20.834191"]]  (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 19' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-20 22:23:20.839594"], ["updated_at", "2016-01-20 22:23:20.839594"]]  (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 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-01-20 22:23:20.846197"], ["updated_at", "2016-01-20 22:23:20.846197"]]  (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", "2016-01-20 22:23:20.851858"], ["updated_at", "2016-01-20 22:23:20.851858"]]  (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 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:23:20.978177"], ["updated_at", "2016-01-20 22:23:20.978177"]]  (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-5"]]  (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.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", "2016-01-20 22:23:20.993498"], ["updated_at", "2016-01-20 22:23:20.993498"]]  (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-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", "2016-01-20 22:23:20.999527"], ["updated_at", "2016-01-20 22:23:20.999527"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:21.002444"], ["updated_at", "2016-01-20 22:23:21.002444"]]  (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 SQL (0.9ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:23:21.007814"], ["updated_at", "2016-01-20 22:23:21.007814"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-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-01-20 22:23:21.017504"], ["updated_at", "2016-01-20 22:23:21.017504"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:21.020405"], ["updated_at", "2016-01-20 22:23:21.020405"]]  (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-01-20 22:23:21.022926"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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-01-20 22:23:21.037455"], ["updated_at", "2016-01-20 22:23:21.037455"]]  (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-01-20 22:23:21.042347"], ["updated_at", "2016-01-20 22:23:21.042347"]]  (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.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-20 22:23:21.045544"], ["updated_at", "2016-01-20 22:23:21.045544"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:21.047465"], ["updated_at", "2016-01-20 22:23:21.047465"]]  (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-01-20 22:23:21.049169"], ["updated_at", "2016-01-20 22:23:21.049169"]]  (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.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.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-01-20 22:23:21.072061"], ["updated_at", "2016-01-20 22:23:21.072061"]]  (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 21' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-20 22:23:21.077110"], ["updated_at", "2016-01-20 22:23:21.077110"]]  (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  (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.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.2ms) begin transaction  (0.2ms) commit transaction  (0.1ms) 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  (0.0ms) commit transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (2.0ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-20 22:23:21.126262"], ["updated_at", "2016-01-20 22:23:21.126262"]]  (0.2ms) 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.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) 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", "2016-01-20 22:23:21.148085"], ["updated_at", "2016-01-20 22:23:21.148085"]]  (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.3ms) 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-01-20 22:23:21.150896"], ["updated_at", "2016-01-20 22:23:21.150896"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:21.152689"], ["updated_at", "2016-01-20 22:23:21.152689"]]  (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.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.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.7ms) 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.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.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", "2016-01-20 22:23:40.517166"], ["updated_at", "2016-01-20 22:23:40.517166"]]  (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-01-20 22:23:40.638292"], ["updated_at", "2016-01-20 22:23:40.638292"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:40.646253"], ["updated_at", "2016-01-20 22:23:40.646253"]]  (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-01-20 22:23:40.648507"], ["updated_at", "2016-01-20 22:23:40.648507"]]  (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-01-20 22:23:40.672278"], ["updated_at", "2016-01-20 22:23:40.672278"]]  (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", "2016-01-20 22:23:40.676263"], ["updated_at", "2016-01-20 22:23:40.676263"]]  (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-01-20 22:23:40.679870"], ["updated_at", "2016-01-20 22:23:40.679870"]]  (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" = 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", "2016-01-20 22:23:40.682678"], ["updated_at", "2016-01-20 22:23:40.682678"]]  (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 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-01-20 22:23:40.686603"], ["updated_at", "2016-01-20 22:23:40.686603"]]  (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", "2016-01-20 22:23:40.689061"], ["updated_at", "2016-01-20 22:23:40.689061"]]  (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-01-20 22:23:40.694306"], ["updated_at", "2016-01-20 22:23:40.694306"]]  (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]] 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 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.2ms) 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-01-20 22:23:40.676263"], ["updated_at", "2016-01-20 22:23:40.676263"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:40.705280"], ["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 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" IS NULL) LIMIT 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-01-20 22:23:40.682678"], ["updated_at", "2016-01-20 22:23:40.682678"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:40.713500"], ["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.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" IS NULL) LIMIT 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-01-20 22:23:40.689061"], ["updated_at", "2016-01-20 22:23:40.689061"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:40.725496"], ["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-01-20 22:23:40.730926"], ["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.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (1.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-01-20 22:23:40.744947"], ["updated_at", "2016-01-20 22:23:40.744947"]]  (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.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-01-20 22:23:40.749800"], ["updated_at", "2016-01-20 22:23:40.749800"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:40.754272"], ["updated_at", "2016-01-20 22:23:40.754272"]]  (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-01-20 22:23:40.757631"], ["updated_at", "2016-01-20 22:23:40.757631"]]  (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-01-20 22:23:40.764745"], ["updated_at", "2016-01-20 22:23:40.764745"]]  (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", "2016-01-20 22:23:40.767723"], ["updated_at", "2016-01-20 22:23:40.767723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:23:40.772115"], ["updated_at", "2016-01-20 22:23:40.772115"]]  (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", "2016-01-20 22:23:40.778238"], ["updated_at", "2016-01-20 22:23:40.778238"]]  (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 6' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", "2016-01-20 22:23:40.784957"], ["updated_at", "2016-01-20 22:23:40.784957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElement Exists (0.4ms) 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", "2016-01-20 22:23:40.794500"], ["updated_at", "2016-01-20 22:23:40.794500"]]  (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-01-20 22:23:40.797686"], ["updated_at", "2016-01-20 22:23:40.797686"]]  (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]] 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 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 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-01-20 22:23:40.767723"], ["updated_at", "2016-01-20 22:23:40.767723"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:40.808533"], ["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 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.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-01-20 22:23:40.778238"], ["updated_at", "2016-01-20 22:23:40.778238"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:40.823166"], ["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 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.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-01-20 22:23:40.794500"], ["updated_at", "2016-01-20 22:23:40.794500"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:23:40.828462"], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-20 22:23:40.830189"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (1.5ms) 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-01-20 22:23:40.839859"], ["updated_at", "2016-01-20 22:23:40.839859"]]  (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-01-20 22:23:40.847904"], ["updated_at", "2016-01-20 22:23:40.847904"]]  (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-01-20 22:23:40.850308"], ["updated_at", "2016-01-20 22:23:40.850308"]]  (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", "2016-01-20 22:23:40.854257"], ["updated_at", "2016-01-20 22:23:40.854257"]]  (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-01-20 22:23:40.855854"], ["updated_at", "2016-01-20 22:23:40.855854"]]  (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", "2016-01-20 22:23:40.858293"], ["updated_at", "2016-01-20 22:23:40.858293"]]  (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", "2016-01-20 22:23:40.859581"], ["updated_at", "2016-01-20 22:23:40.859581"]]  (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", "2016-01-20 22:23:40.864060"], ["updated_at", "2016-01-20 22:23:40.864060"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:40.865621"], ["updated_at", "2016-01-20 22:23:40.865621"]]  (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", "2016-01-20 22:23:40.875037"], ["updated_at", "2016-01-20 22:23:40.875037"]]  (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", "2016-01-20 22:23:40.880345"], ["updated_at", "2016-01-20 22:23:40.880345"]]  (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.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", "2016-01-20 22:23:40.884853"], ["updated_at", "2016-01-20 22:23:40.884853"]]  (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.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-01-20 22:23:40.893444"], ["updated_at", "2016-01-20 22:23:40.893444"]]  (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", "2016-01-20 22:23:40.895924"], ["updated_at", "2016-01-20 22:23:40.895924"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:40.899064"], ["updated_at", "2016-01-20 22:23:40.899064"]]  (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-01-20 22:23:40.901273"], ["updated_at", "2016-01-20 22:23:40.901273"]]  (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 10' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-01-20 22:23:40.904872"], ["updated_at", "2016-01-20 22:23:40.904872"]]  (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" = 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 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-01-20 22:23:40.907247"], ["updated_at", "2016-01-20 22:23:40.907247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:23:40.909933"], ["updated_at", "2016-01-20 22:23:40.909933"]]  (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" = 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 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-01-20 22:23:40.911875"], ["updated_at", "2016-01-20 22:23:40.911875"]]  (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 12' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-01-20 22:23:40.914480"], ["updated_at", "2016-01-20 22:23:40.914480"]]  (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 9' 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 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-01-20 22:23:40.916373"], ["updated_at", "2016-01-20 22:23:40.916373"]]  (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.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-20 22:23:40.925489"], ["updated_at", "2016-01-20 22:23:40.925489"]]  (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 10' 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  (0.0ms) SAVEPOINT 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", "2016-01-20 22:23:40.932147"], ["updated_at", "2016-01-20 22:23:40.932147"]]  (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 15' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-20 22:23:40.942079"], ["updated_at", "2016-01-20 22:23:40.942079"]]  (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", "2016-01-20 22:23:40.948183"], ["updated_at", "2016-01-20 22:23:40.948183"]]  (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.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) SAVEPOINT 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-01-20 22:23:40.965444"], ["updated_at", "2016-01-20 22:23:40.965444"]]  (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", "2016-01-20 22:23:40.971458"], ["updated_at", "2016-01-20 22:23:40.971458"]]  (0.1ms) 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 18' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-20 22:23:40.976040"], ["updated_at", "2016-01-20 22:23:40.976040"]]  (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", "2016-01-20 22:23:40.981070"], ["updated_at", "2016-01-20 22:23:40.981070"]]  (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 16' 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 16"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:23:40.983316"], ["updated_at", "2016-01-20 22:23:40.983316"]]  (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", "2016-01-20 22:23:40.989606"], ["updated_at", "2016-01-20 22:23:40.989606"]]  (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 17' 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 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:23:40.992493"], ["updated_at", "2016-01-20 22:23:40.992493"]]  (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 19' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-20 22:23:40.997939"], ["updated_at", "2016-01-20 22:23:40.997939"]]  (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 20' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-20 22:23:41.004312"], ["updated_at", "2016-01-20 22:23:41.004312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-20 22:23:41.009621"], ["updated_at", "2016-01-20 22:23:41.009621"]]  (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", "2016-01-20 22:23:41.127830"], ["updated_at", "2016-01-20 22:23:41.127830"]]  (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-5"]]  (0.3ms) rollback transaction  (1.1ms) 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.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", "2016-01-20 22:23:41.145378"], ["updated_at", "2016-01-20 22:23:41.145378"]]  (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", "2016-01-20 22:23:41.149091"], ["updated_at", "2016-01-20 22:23:41.149091"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:41.151453"], ["updated_at", "2016-01-20 22:23:41.151453"]]  (0.4ms) 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", "2016-01-20 22:23:41.157010"], ["updated_at", "2016-01-20 22:23:41.157010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] SQL (0.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-01-20 22:23:41.160174"], ["updated_at", "2016-01-20 22:23:41.160174"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:41.163060"], ["updated_at", "2016-01-20 22:23:41.163060"]]  (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-01-20 22:23:41.165760"], ["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.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-20 22:23:41.178902"], ["updated_at", "2016-01-20 22:23:41.178902"]]  (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-01-20 22:23:41.182683"], ["updated_at", "2016-01-20 22:23:41.182683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-20 22:23:41.185479"], ["updated_at", "2016-01-20 22:23:41.185479"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:41.187011"], ["updated_at", "2016-01-20 22:23:41.187011"]]  (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-01-20 22:23:41.188888"], ["updated_at", "2016-01-20 22:23:41.188888"]]  (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.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.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-01-20 22:23:41.215997"], ["updated_at", "2016-01-20 22:23:41.215997"]]  (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 21' LIMIT 1 SQL (0.6ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-20 22:23:41.219445"], ["updated_at", "2016-01-20 22:23:41.219445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) 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.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.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  (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.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 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.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.1ms) 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.7ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-20 22:23:41.267602"], ["updated_at", "2016-01-20 22:23:41.267602"]]  (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.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.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:23:41.282859"], ["updated_at", "2016-01-20 22:23:41.282859"]]  (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.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-01-20 22:23:41.285628"], ["updated_at", "2016-01-20 22:23:41.285628"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:23:41.287817"], ["updated_at", "2016-01-20 22:23:41.287817"]]  (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.0ms) commit transaction  (0.1ms) begin transaction  (0.2ms) 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.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"  (1.3ms) 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.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.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.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:24:19.078230"], ["updated_at", "2016-01-20 22:24:19.078230"]]  (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", "2016-01-20 22:24:19.202294"], ["updated_at", "2016-01-20 22:24:19.202294"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:24:19.212183"], ["updated_at", "2016-01-20 22:24:19.212183"]]  (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-01-20 22:24:19.215189"], ["updated_at", "2016-01-20 22:24:19.215189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:24:19.239367"], ["updated_at", "2016-01-20 22:24:19.239367"]]  (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", "2016-01-20 22:24:19.244162"], ["updated_at", "2016-01-20 22:24:19.244162"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:24:19.247992"], ["updated_at", "2016-01-20 22:24:19.247992"]]  (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", "2016-01-20 22:24:19.250379"], ["updated_at", "2016-01-20 22:24:19.250379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:24:19.253582"], ["updated_at", "2016-01-20 22:24:19.253582"]]  (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", "2016-01-20 22:24:19.255600"], ["updated_at", "2016-01-20 22:24:19.255600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-20 22:24:19.260634"], ["updated_at", "2016-01-20 22:24:19.260634"]]  (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]] 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 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", "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-01-20 22:24:19.244162"], ["updated_at", "2016-01-20 22:24:19.244162"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:24:19.269987"], ["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 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" IS NULL) LIMIT 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-01-20 22:24:19.250379"], ["updated_at", "2016-01-20 22:24:19.250379"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:24:19.276998"], ["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.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" IS NULL) LIMIT 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-01-20 22:24:19.255600"], ["updated_at", "2016-01-20 22:24:19.255600"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:24:19.288905"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 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-01-20 22:24:19.294499"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.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", "2016-01-20 22:24:19.307841"], ["updated_at", "2016-01-20 22:24:19.307841"]]  (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", "2016-01-20 22:24:19.313471"], ["updated_at", "2016-01-20 22:24:19.313471"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:24:19.318270"], ["updated_at", "2016-01-20 22:24:19.318270"]]  (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-01-20 22:24:19.320850"], ["updated_at", "2016-01-20 22:24:19.320850"]]  (0.9ms) 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-01-20 22:24:19.329291"], ["updated_at", "2016-01-20 22:24:19.329291"]]  (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", "2016-01-20 22:24:19.332531"], ["updated_at", "2016-01-20 22:24:19.332531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:24:19.337212"], ["updated_at", "2016-01-20 22:24:19.337212"]]  (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 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", "2016-01-20 22:24:19.343992"], ["updated_at", "2016-01-20 22:24:19.343992"]]  (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", "2016-01-20 22:24:19.350567"], ["updated_at", "2016-01-20 22:24:19.350567"]]  (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.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-01-20 22:24:19.354036"], ["updated_at", "2016-01-20 22:24:19.354036"]]  (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-01-20 22:24:19.357705"], ["updated_at", "2016-01-20 22:24:19.357705"]]  (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]] 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 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 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-01-20 22:24:19.332531"], ["updated_at", "2016-01-20 22:24:19.332531"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:24:19.368056"], ["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 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.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-01-20 22:24:19.343992"], ["updated_at", "2016-01-20 22:24:19.343992"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:24:19.383319"], ["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 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.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-01-20 22:24:19.354036"], ["updated_at", "2016-01-20 22:24:19.354036"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:24:19.389092"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-20 22:24:19.390944"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (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-01-20 22:24:19.398737"], ["updated_at", "2016-01-20 22:24:19.398737"]]  (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-01-20 22:24:19.405742"], ["updated_at", "2016-01-20 22:24:19.405742"]]  (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-01-20 22:24:19.408249"], ["updated_at", "2016-01-20 22:24:19.408249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:24:19.410633"], ["updated_at", "2016-01-20 22:24:19.410633"]]  (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-01-20 22:24:19.412116"], ["updated_at", "2016-01-20 22:24:19.412116"]]  (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", "2016-01-20 22:24:19.414556"], ["updated_at", "2016-01-20 22:24:19.414556"]]  (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-01-20 22:24:19.415853"], ["updated_at", "2016-01-20 22:24:19.415853"]]  (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", "2016-01-20 22:24:19.420477"], ["updated_at", "2016-01-20 22:24:19.420477"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:24:19.422180"], ["updated_at", "2016-01-20 22:24:19.422180"]]  (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.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", "2016-01-20 22:24:19.431571"], ["updated_at", "2016-01-20 22:24:19.431571"]]  (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", "2016-01-20 22:24:19.437179"], ["updated_at", "2016-01-20 22:24:19.437179"]]  (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", "2016-01-20 22:24:19.444128"], ["updated_at", "2016-01-20 22:24:19.444128"]]  (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]]  (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-01-20 22:24:19.450988"], ["updated_at", "2016-01-20 22:24:19.450988"]]  (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-01-20 22:24:19.453583"], ["updated_at", "2016-01-20 22:24:19.453583"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:24:19.455639"], ["updated_at", "2016-01-20 22:24:19.455639"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:24:19.458280"], ["updated_at", "2016-01-20 22:24:19.458280"]]  (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 10' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-01-20 22:24:19.461929"], ["updated_at", "2016-01-20 22:24:19.461929"]]  (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 7' 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 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-01-20 22:24:19.464370"], ["updated_at", "2016-01-20 22:24:19.464370"]]  (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 11' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-20 22:24:19.467472"], ["updated_at", "2016-01-20 22:24:19.467472"]]  (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" = 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 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-01-20 22:24:19.469829"], ["updated_at", "2016-01-20 22:24:19.469829"]]  (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 12' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-01-20 22:24:19.473146"], ["updated_at", "2016-01-20 22:24:19.473146"]]  (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 9' 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 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-01-20 22:24:19.475581"], ["updated_at", "2016-01-20 22:24:19.475581"]]  (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]]  (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.1ms) SAVEPOINT 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", "2016-01-20 22:24:19.486280"], ["updated_at", "2016-01-20 22:24:19.486280"]]  (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 10' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.2ms) 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", "2016-01-20 22:24:19.493411"], ["updated_at", "2016-01-20 22:24:19.493411"]]  (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.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 15' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-20 22:24:19.501493"], ["updated_at", "2016-01-20 22:24:19.501493"]]  (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", "2016-01-20 22:24:19.508927"], ["updated_at", "2016-01-20 22:24:19.508927"]]  (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.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.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", "2016-01-20 22:24:19.525808"], ["updated_at", "2016-01-20 22:24:19.525808"]]  (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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-20 22:24:19.530550"], ["updated_at", "2016-01-20 22:24:19.530550"]]  (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 18' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-20 22:24:19.535811"], ["updated_at", "2016-01-20 22:24:19.535811"]]  (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", "2016-01-20 22:24:19.542585"], ["updated_at", "2016-01-20 22:24:19.542585"]]  (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 16' 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 16"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:24:19.544892"], ["updated_at", "2016-01-20 22:24:19.544892"]]  (0.0ms) RELEASE 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 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-01-20 22:24:19.550947"], ["updated_at", "2016-01-20 22:24:19.550947"]]  (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 17' 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 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:24:19.553439"], ["updated_at", "2016-01-20 22:24:19.553439"]]  (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 19' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-20 22:24:19.559712"], ["updated_at", "2016-01-20 22:24:19.559712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (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" = '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-01-20 22:24:19.565385"], ["updated_at", "2016-01-20 22:24:19.565385"]]  (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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-20 22:24:19.570705"], ["updated_at", "2016-01-20 22:24:19.570705"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.9ms) 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-01-20 22:24:19.703292"], ["updated_at", "2016-01-20 22:24:19.703292"]]  (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-5"]]  (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.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) 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-01-20 22:24:19.722953"], ["updated_at", "2016-01-20 22:24:19.722953"]]  (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-6"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-01-20 22:24:19.728034"], ["updated_at", "2016-01-20 22:24:19.728034"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:24:19.733888"], ["updated_at", "2016-01-20 22:24:19.733888"]]  (0.3ms) 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.8ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:24:19.740474"], ["updated_at", "2016-01-20 22:24:19.740474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-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-01-20 22:24:19.750020"], ["updated_at", "2016-01-20 22:24:19.750020"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:24:19.752622"], ["updated_at", "2016-01-20 22:24:19.752622"]]  (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", "2016-01-20 22:24:19.756123"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.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-01-20 22:24:19.768946"], ["updated_at", "2016-01-20 22:24:19.768946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", "2016-01-20 22:24:19.773801"], ["updated_at", "2016-01-20 22:24:19.773801"]]  (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.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-20 22:24:19.778475"], ["updated_at", "2016-01-20 22:24:19.778475"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:24:19.780570"], ["updated_at", "2016-01-20 22:24:19.780570"]]  (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-01-20 22:24:19.782430"], ["updated_at", "2016-01-20 22:24:19.782430"]]  (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.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.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-01-20 22:24:19.805964"], ["updated_at", "2016-01-20 22:24:19.805964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-20 22:24:19.810001"], ["updated_at", "2016-01-20 22:24:19.810001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.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.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.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.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 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  (1.9ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction Pulitzer::Tag Exists (0.4ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1  (0.2ms) 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-01-20 22:24:19.869962"], ["updated_at", "2016-01-20 22:24:19.869962"]]  (0.1ms) 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.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", "2016-01-20 22:24:19.886777"], ["updated_at", "2016-01-20 22:24:19.886777"]]  (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.3ms) 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-01-20 22:24:19.891282"], ["updated_at", "2016-01-20 22:24:19.891282"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:24:19.893400"], ["updated_at", "2016-01-20 22:24:19.893400"]]  (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.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  (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"  (1.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';  (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.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.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.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-01-20 22:28:28.026305"], ["updated_at", "2016-01-20 22:28:28.026305"]]  (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", "2016-01-20 22:28:28.147048"], ["updated_at", "2016-01-20 22:28:28.147048"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:28:28.154749"], ["updated_at", "2016-01-20 22:28:28.154749"]]  (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-01-20 22:28:28.157827"], ["updated_at", "2016-01-20 22:28:28.157827"]]  (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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-01-20 22:28:28.172445"], ["updated_at", "2016-01-20 22:28:28.172445"]]  (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", "2016-01-20 22:28:28.178661"], ["updated_at", "2016-01-20 22:28:28.178661"]]  (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", "2016-01-20 22:28:28.182889"], ["updated_at", "2016-01-20 22:28:28.182889"]]  (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", "2016-01-20 22:28:28.185482"], ["updated_at", "2016-01-20 22:28:28.185482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:28:28.188688"], ["updated_at", "2016-01-20 22:28:28.188688"]]  (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", "2016-01-20 22:28:28.191061"], ["updated_at", "2016-01-20 22:28:28.191061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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-01-20 22:28:28.199352"], ["updated_at", "2016-01-20 22:28:28.199352"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.3ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["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 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.2ms) 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-01-20 22:28:28.178661"], ["updated_at", "2016-01-20 22:28:28.178661"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:28:28.213807"], ["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 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" IS NULL) LIMIT 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-01-20 22:28:28.185482"], ["updated_at", "2016-01-20 22:28:28.185482"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:28:28.223053"], ["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 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" IS NULL) LIMIT 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-01-20 22:28:28.191061"], ["updated_at", "2016-01-20 22:28:28.191061"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:28:28.230928"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 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-01-20 22:28:28.235156"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (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", "2016-01-20 22:28:28.243040"], ["updated_at", "2016-01-20 22:28:28.243040"]]  (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.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-01-20 22:28:28.246458"], ["updated_at", "2016-01-20 22:28:28.246458"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:28:28.249114"], ["updated_at", "2016-01-20 22:28:28.249114"]]  (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-01-20 22:28:28.251366"], ["updated_at", "2016-01-20 22:28:28.251366"]]  (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.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-01-20 22:28:28.256296"], ["updated_at", "2016-01-20 22:28:28.256296"]]  (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", "2016-01-20 22:28:28.259907"], ["updated_at", "2016-01-20 22:28:28.259907"]]  (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-01-20 22:28:28.263324"], ["updated_at", "2016-01-20 22:28:28.263324"]]  (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 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", "2016-01-20 22:28:28.266351"], ["updated_at", "2016-01-20 22:28:28.266351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:28:28.270650"], ["updated_at", "2016-01-20 22:28:28.270650"]]  (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", "2016-01-20 22:28:28.272624"], ["updated_at", "2016-01-20 22:28:28.272624"]]  (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-01-20 22:28:28.274398"], ["updated_at", "2016-01-20 22:28:28.274398"]]  (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]] 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 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 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-01-20 22:28:28.259907"], ["updated_at", "2016-01-20 22:28:28.259907"]]  (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 4' AND "pulitzer_content_elements"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:28:28.283110"], ["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 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.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-01-20 22:28:28.266351"], ["updated_at", "2016-01-20 22:28:28.266351"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:28:28.288789"], ["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 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.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-01-20 22:28:28.272624"], ["updated_at", "2016-01-20 22:28:28.272624"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:28:28.294116"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 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-01-20 22:28:28.296587"], ["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.0ms) 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", "2016-01-20 22:28:28.304566"], ["updated_at", "2016-01-20 22:28:28.304566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:28:28.311735"], ["updated_at", "2016-01-20 22:28:28.311735"]]  (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-01-20 22:28:28.314080"], ["updated_at", "2016-01-20 22:28:28.314080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:28:28.316755"], ["updated_at", "2016-01-20 22:28:28.316755"]]  (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-01-20 22:28:28.318097"], ["updated_at", "2016-01-20 22:28:28.318097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:28:28.320785"], ["updated_at", "2016-01-20 22:28:28.320785"]]  (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", "2016-01-20 22:28:28.322142"], ["updated_at", "2016-01-20 22:28:28.322142"]]  (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-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-01-20 22:28:28.327049"], ["updated_at", "2016-01-20 22:28:28.327049"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:28:28.328629"], ["updated_at", "2016-01-20 22:28:28.328629"]]  (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", "2016-01-20 22:28:28.338326"], ["updated_at", "2016-01-20 22:28:28.338326"]]  (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", "2016-01-20 22:28:28.344091"], ["updated_at", "2016-01-20 22:28:28.344091"]]  (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", "2016-01-20 22:28:28.349896"], ["updated_at", "2016-01-20 22:28:28.349896"]]  (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]]  (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-01-20 22:28:28.358446"], ["updated_at", "2016-01-20 22:28:28.358446"]]  (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.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-01-20 22:28:28.362052"], ["updated_at", "2016-01-20 22:28:28.362052"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:28:28.364300"], ["updated_at", "2016-01-20 22:28:28.364300"]]  (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-01-20 22:28:28.366176"], ["updated_at", "2016-01-20 22:28:28.366176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:28:28.368951"], ["updated_at", "2016-01-20 22:28:28.368951"]]  (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" = 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 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-01-20 22:28:28.370982"], ["updated_at", "2016-01-20 22:28:28.370982"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:28:28.373529"], ["updated_at", "2016-01-20 22:28:28.373529"]]  (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" = 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 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-01-20 22:28:28.375421"], ["updated_at", "2016-01-20 22:28:28.375421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:28:28.378265"], ["updated_at", "2016-01-20 22:28:28.378265"]]  (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" = 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 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-01-20 22:28:28.380308"], ["updated_at", "2016-01-20 22:28:28.380308"]]  (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.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) SAVEPOINT 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.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-20 22:28:28.390222"], ["updated_at", "2016-01-20 22:28:28.390222"]]  (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 10' 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.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", "2016-01-20 22:28:28.397955"], ["updated_at", "2016-01-20 22:28:28.397955"]]  (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.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", "2016-01-20 22:28:28.407243"], ["updated_at", "2016-01-20 22:28:28.407243"]]  (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", "2016-01-20 22:28:28.415496"], ["updated_at", "2016-01-20 22:28:28.415496"]]  (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.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) SAVEPOINT 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-01-20 22:28:28.434244"], ["updated_at", "2016-01-20 22:28:28.434244"]]  (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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-20 22:28:28.439317"], ["updated_at", "2016-01-20 22:28:28.439317"]]  (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 18' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-20 22:28:28.444623"], ["updated_at", "2016-01-20 22:28:28.444623"]]  (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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-20 22:28:28.451249"], ["updated_at", "2016-01-20 22:28:28.451249"]]  (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 16' 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 16"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:28:28.453535"], ["updated_at", "2016-01-20 22:28:28.453535"]]  (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", "2016-01-20 22:28:28.459758"], ["updated_at", "2016-01-20 22:28:28.459758"]]  (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 17' 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 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:28:28.462245"], ["updated_at", "2016-01-20 22:28:28.462245"]]  (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 19' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-20 22:28:28.468445"], ["updated_at", "2016-01-20 22:28:28.468445"]]  (0.1ms) 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 20' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-20 22:28:28.472992"], ["updated_at", "2016-01-20 22:28:28.472992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.6ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-20 22:28:28.478035"], ["updated_at", "2016-01-20 22:28:28.478035"]]  (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 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:28:28.603377"], ["updated_at", "2016-01-20 22:28:28.603377"]]  (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-5"]]  (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.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", "2016-01-20 22:28:28.625414"], ["updated_at", "2016-01-20 22:28:28.625414"]]  (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", "2016-01-20 22:28:28.628173"], ["updated_at", "2016-01-20 22:28:28.628173"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:28:28.630362"], ["updated_at", "2016-01-20 22:28:28.630362"]]  (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-01-20 22:28:28.634706"], ["updated_at", "2016-01-20 22:28:28.634706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]] SQL (0.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-01-20 22:28:28.638012"], ["updated_at", "2016-01-20 22:28:28.638012"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:28:28.640337"], ["updated_at", "2016-01-20 22:28:28.640337"]]  (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.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-01-20 22:28:28.643856"], ["id", 1]]  (0.1ms) 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::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-01-20 22:28:28.656483"], ["updated_at", "2016-01-20 22:28:28.656483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:28:28.660285"], ["updated_at", "2016-01-20 22:28:28.660285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-20 22:28:28.662898"], ["updated_at", "2016-01-20 22:28:28.662898"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:28:28.664445"], ["updated_at", "2016-01-20 22:28:28.664445"]]  (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-01-20 22:28:28.666036"], ["updated_at", "2016-01-20 22:28:28.666036"]]  (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.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.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", "2016-01-20 22:28:28.692180"], ["updated_at", "2016-01-20 22:28:28.692180"]]  (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 21' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-20 22:28:28.696472"], ["updated_at", "2016-01-20 22:28:28.696472"]]  (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.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.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.0ms) rollback transaction  (0.3ms) 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.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction 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.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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-20 22:28:28.755763"], ["updated_at", "2016-01-20 22:28:28.755763"]]  (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.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.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:28:28.770972"], ["updated_at", "2016-01-20 22:28:28.770972"]]  (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.3ms) 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-01-20 22:28:28.774003"], ["updated_at", "2016-01-20 22:28:28.774003"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:28:28.776086"], ["updated_at", "2016-01-20 22:28:28.776086"]]  (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.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.6ms) DELETE FROM "pulitzer_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (0.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.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.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.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.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", "2016-01-20 22:29:35.749927"], ["updated_at", "2016-01-20 22:29:35.749927"]]  (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", "2016-01-20 22:29:35.869626"], ["updated_at", "2016-01-20 22:29:35.869626"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:29:35.877590"], ["updated_at", "2016-01-20 22:29:35.877590"]]  (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-01-20 22:29:35.880169"], ["updated_at", "2016-01-20 22:29:35.880169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:29:35.892715"], ["updated_at", "2016-01-20 22:29:35.892715"]]  (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", "2016-01-20 22:29:35.895808"], ["updated_at", "2016-01-20 22:29:35.895808"]]  (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", "2016-01-20 22:29:35.900028"], ["updated_at", "2016-01-20 22:29:35.900028"]]  (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", "2016-01-20 22:29:35.902789"], ["updated_at", "2016-01-20 22:29:35.902789"]]  (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", "2016-01-20 22:29:35.906157"], ["updated_at", "2016-01-20 22:29:35.906157"]]  (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", "2016-01-20 22:29:35.908602"], ["updated_at", "2016-01-20 22:29:35.908602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-20 22:29:35.913155"], ["updated_at", "2016-01-20 22:29:35.913155"]]  (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]] 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 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", "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-01-20 22:29:35.895808"], ["updated_at", "2016-01-20 22:29:35.895808"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:29:35.922200"], ["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 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" IS NULL) LIMIT 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-01-20 22:29:35.902789"], ["updated_at", "2016-01-20 22:29:35.902789"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:29:35.928419"], ["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 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" IS NULL) LIMIT 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-01-20 22:29:35.908602"], ["updated_at", "2016-01-20 22:29:35.908602"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:29:35.933994"], ["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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-20 22:29:35.937365"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.3ms) 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-01-20 22:29:35.944777"], ["updated_at", "2016-01-20 22:29:35.944777"]]  (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-01-20 22:29:35.947279"], ["updated_at", "2016-01-20 22:29:35.947279"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:29:35.949025"], ["updated_at", "2016-01-20 22:29:35.949025"]]  (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-01-20 22:29:35.950699"], ["updated_at", "2016-01-20 22:29:35.950699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-01-20 22:29:35.954149"], ["updated_at", "2016-01-20 22:29:35.954149"]]  (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", "2016-01-20 22:29:35.956228"], ["updated_at", "2016-01-20 22:29:35.956228"]]  (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", "2016-01-20 22:29:35.958838"], ["updated_at", "2016-01-20 22:29:35.958838"]]  (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", "2016-01-20 22:29:35.960756"], ["updated_at", "2016-01-20 22:29:35.960756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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", "2016-01-20 22:29:35.963239"], ["updated_at", "2016-01-20 22:29:35.963239"]]  (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", "2016-01-20 22:29:35.965783"], ["updated_at", "2016-01-20 22:29:35.965783"]]  (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-01-20 22:29:35.968076"], ["updated_at", "2016-01-20 22:29:35.968076"]]  (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]] 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 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 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-01-20 22:29:35.956228"], ["updated_at", "2016-01-20 22:29:35.956228"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:29:35.974546"], ["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.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" IS NULL) LIMIT 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-01-20 22:29:35.960756"], ["updated_at", "2016-01-20 22:29:35.960756"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:29:35.980943"], ["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 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.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-01-20 22:29:35.965783"], ["updated_at", "2016-01-20 22:29:35.965783"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:29:35.986171"], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-20 22:29:35.988109"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (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-01-20 22:29:35.995937"], ["updated_at", "2016-01-20 22:29:35.995937"]]  (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", "2016-01-20 22:29:36.004607"], ["updated_at", "2016-01-20 22:29:36.004607"]]  (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-01-20 22:29:36.006962"], ["updated_at", "2016-01-20 22:29:36.006962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:29:36.009529"], ["updated_at", "2016-01-20 22:29:36.009529"]]  (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-01-20 22:29:36.010929"], ["updated_at", "2016-01-20 22:29:36.010929"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-01-20 22:29:36.013355"], ["updated_at", "2016-01-20 22:29:36.013355"]]  (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", "2016-01-20 22:29:36.014749"], ["updated_at", "2016-01-20 22:29:36.014749"]]  (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-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-01-20 22:29:36.019554"], ["updated_at", "2016-01-20 22:29:36.019554"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:29:36.021308"], ["updated_at", "2016-01-20 22:29:36.021308"]]  (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.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", "2016-01-20 22:29:36.029980"], ["updated_at", "2016-01-20 22:29:36.029980"]]  (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", "2016-01-20 22:29:36.035441"], ["updated_at", "2016-01-20 22:29:36.035441"]]  (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", "2016-01-20 22:29:36.040015"], ["updated_at", "2016-01-20 22:29:36.040015"]]  (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.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:29:36.046938"], ["updated_at", "2016-01-20 22:29:36.046938"]]  (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-01-20 22:29:36.049425"], ["updated_at", "2016-01-20 22:29:36.049425"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:29:36.051464"], ["updated_at", "2016-01-20 22:29:36.051464"]]  (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-01-20 22:29:36.053172"], ["updated_at", "2016-01-20 22:29:36.053172"]]  (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 10' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-01-20 22:29:36.056367"], ["updated_at", "2016-01-20 22:29:36.056367"]]  (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" = 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 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-01-20 22:29:36.058671"], ["updated_at", "2016-01-20 22:29:36.058671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:29:36.061354"], ["updated_at", "2016-01-20 22:29:36.061354"]]  (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" = 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 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-01-20 22:29:36.063365"], ["updated_at", "2016-01-20 22:29:36.063365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:29:36.066072"], ["updated_at", "2016-01-20 22:29:36.066072"]]  (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" = 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 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-01-20 22:29:36.068299"], ["updated_at", "2016-01-20 22:29:36.068299"]]  (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.6ms) 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) SAVEPOINT 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", "2016-01-20 22:29:36.077885"], ["updated_at", "2016-01-20 22:29:36.077885"]]  (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 10' 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  (0.0ms) SAVEPOINT 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.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-01-20 22:29:36.084217"], ["updated_at", "2016-01-20 22:29:36.084217"]]  (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.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", "2016-01-20 22:29:36.094969"], ["updated_at", "2016-01-20 22:29:36.094969"]]  (0.1ms) 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", "2016-01-20 22:29:36.102723"], ["updated_at", "2016-01-20 22:29:36.102723"]]  (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.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.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.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-01-20 22:29:36.120364"], ["updated_at", "2016-01-20 22:29:36.120364"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-20 22:29:36.125238"], ["updated_at", "2016-01-20 22:29:36.125238"]]  (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 18' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-20 22:29:36.129981"], ["updated_at", "2016-01-20 22:29:36.129981"]]  (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", "2016-01-20 22:29:36.135372"], ["updated_at", "2016-01-20 22:29:36.135372"]]  (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 16' 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 16"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:29:36.137943"], ["updated_at", "2016-01-20 22:29:36.137943"]]  (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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-20 22:29:36.143592"], ["updated_at", "2016-01-20 22:29:36.143592"]]  (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 17' 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 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:29:36.146362"], ["updated_at", "2016-01-20 22:29:36.146362"]]  (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 19' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-20 22:29:36.152859"], ["updated_at", "2016-01-20 22:29:36.152859"]]  (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.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-01-20 22:29:36.158362"], ["updated_at", "2016-01-20 22:29:36.158362"]]  (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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-20 22:29:36.164739"], ["updated_at", "2016-01-20 22:29:36.164739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", "2016-01-20 22:29:36.292688"], ["updated_at", "2016-01-20 22:29:36.292688"]]  (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-5"]]  (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.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", "2016-01-20 22:29:36.307910"], ["updated_at", "2016-01-20 22:29:36.307910"]]  (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-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", "2016-01-20 22:29:36.312796"], ["updated_at", "2016-01-20 22:29:36.312796"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:29:36.315426"], ["updated_at", "2016-01-20 22:29:36.315426"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:29:36.321876"], ["updated_at", "2016-01-20 22:29:36.321876"]]  (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.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-01-20 22:29:36.326904"], ["updated_at", "2016-01-20 22:29:36.326904"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:29:36.329645"], ["updated_at", "2016-01-20 22:29:36.329645"]]  (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", "2016-01-20 22:29:36.332144"], ["id", 1]]  (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) 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-01-20 22:29:36.346354"], ["updated_at", "2016-01-20 22:29:36.346354"]]  (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-01-20 22:29:36.353117"], ["updated_at", "2016-01-20 22:29:36.353117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-20 22:29:36.355665"], ["updated_at", "2016-01-20 22:29:36.355665"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:29:36.357229"], ["updated_at", "2016-01-20 22:29:36.357229"]]  (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-01-20 22:29:36.359226"], ["updated_at", "2016-01-20 22:29:36.359226"]]  (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.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-01-20 22:29:36.381896"], ["updated_at", "2016-01-20 22:29:36.381896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-20 22:29:36.385059"], ["updated_at", "2016-01-20 22:29:36.385059"]]  (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) rollback transaction  (0.3ms) begin transaction  (0.1ms) commit transaction  (0.2ms) 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.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.2ms) 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.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.0ms) commit transaction  (0.1ms) 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.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.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-20 22:29:36.446826"], ["updated_at", "2016-01-20 22:29:36.446826"]]  (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.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.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:29:36.463766"], ["updated_at", "2016-01-20 22:29:36.463766"]]  (0.2ms) 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-01-20 22:29:36.468258"], ["updated_at", "2016-01-20 22:29:36.468258"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:29:36.471343"], ["updated_at", "2016-01-20 22:29:36.471343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (3.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) 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 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.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.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.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.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.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-01-20 22:29:55.146529"], ["updated_at", "2016-01-20 22:29:55.146529"]]  (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-01-20 22:29:55.265976"], ["updated_at", "2016-01-20 22:29:55.265976"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:29:55.274279"], ["updated_at", "2016-01-20 22:29:55.274279"]]  (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-01-20 22:29:55.276507"], ["updated_at", "2016-01-20 22:29:55.276507"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:29:55.289485"], ["updated_at", "2016-01-20 22:29:55.289485"]]  (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", "2016-01-20 22:29:55.292555"], ["updated_at", "2016-01-20 22:29:55.292555"]]  (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-01-20 22:29:55.295369"], ["updated_at", "2016-01-20 22:29:55.295369"]]  (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", "2016-01-20 22:29:55.297381"], ["updated_at", "2016-01-20 22:29:55.297381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:29:55.299936"], ["updated_at", "2016-01-20 22:29:55.299936"]]  (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", "2016-01-20 22:29:55.302523"], ["updated_at", "2016-01-20 22:29:55.302523"]]  (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.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-01-20 22:29:55.308252"], ["updated_at", "2016-01-20 22:29:55.308252"]]  (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]] 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 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", "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-01-20 22:29:55.292555"], ["updated_at", "2016-01-20 22:29:55.292555"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:29:55.318228"], ["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 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" IS NULL) LIMIT 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-01-20 22:29:55.297381"], ["updated_at", "2016-01-20 22:29:55.297381"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:29:55.325119"], ["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 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" IS NULL) LIMIT 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-01-20 22:29:55.302523"], ["updated_at", "2016-01-20 22:29:55.302523"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:29:55.330326"], ["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-01-20 22:29:55.333355"], ["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.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", "2016-01-20 22:29:55.342242"], ["updated_at", "2016-01-20 22:29:55.342242"]]  (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-01-20 22:29:55.345528"], ["updated_at", "2016-01-20 22:29:55.345528"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:29:55.347849"], ["updated_at", "2016-01-20 22:29:55.347849"]]  (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-01-20 22:29:55.349570"], ["updated_at", "2016-01-20 22:29:55.349570"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-01-20 22:29:55.352615"], ["updated_at", "2016-01-20 22:29:55.352615"]]  (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", "2016-01-20 22:29:55.354675"], ["updated_at", "2016-01-20 22:29:55.354675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:29:55.357290"], ["updated_at", "2016-01-20 22:29:55.357290"]]  (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", "2016-01-20 22:29:55.359226"], ["updated_at", "2016-01-20 22:29:55.359226"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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", "2016-01-20 22:29:55.361749"], ["updated_at", "2016-01-20 22:29:55.361749"]]  (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", "2016-01-20 22:29:55.363663"], ["updated_at", "2016-01-20 22:29:55.363663"]]  (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-01-20 22:29:55.365533"], ["updated_at", "2016-01-20 22:29:55.365533"]]  (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]] 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 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 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-01-20 22:29:55.354675"], ["updated_at", "2016-01-20 22:29:55.354675"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:29:55.372053"], ["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 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.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-01-20 22:29:55.359226"], ["updated_at", "2016-01-20 22:29:55.359226"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:29:55.378320"], ["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 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.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-01-20 22:29:55.363663"], ["updated_at", "2016-01-20 22:29:55.363663"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:29:55.384140"], ["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-01-20 22:29:55.385895"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (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-01-20 22:29:55.394423"], ["updated_at", "2016-01-20 22:29:55.394423"]]  (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", "2016-01-20 22:29:55.403735"], ["updated_at", "2016-01-20 22:29:55.403735"]]  (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", "2016-01-20 22:29:55.406676"], ["updated_at", "2016-01-20 22:29:55.406676"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-01-20 22:29:55.409554"], ["updated_at", "2016-01-20 22:29:55.409554"]]  (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-01-20 22:29:55.410954"], ["updated_at", "2016-01-20 22:29:55.410954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:29:55.413381"], ["updated_at", "2016-01-20 22:29:55.413381"]]  (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", "2016-01-20 22:29:55.414626"], ["updated_at", "2016-01-20 22:29:55.414626"]]  (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-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-01-20 22:29:55.419658"], ["updated_at", "2016-01-20 22:29:55.419658"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:29:55.421558"], ["updated_at", "2016-01-20 22:29:55.421558"]]  (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.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", "2016-01-20 22:29:55.430295"], ["updated_at", "2016-01-20 22:29:55.430295"]]  (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", "2016-01-20 22:29:55.434870"], ["updated_at", "2016-01-20 22:29:55.434870"]]  (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]] 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", "2016-01-20 22:29:55.440783"], ["updated_at", "2016-01-20 22:29:55.440783"]]  (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.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-01-20 22:29:55.447605"], ["updated_at", "2016-01-20 22:29:55.447605"]]  (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-01-20 22:29:55.450044"], ["updated_at", "2016-01-20 22:29:55.450044"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:29:55.451883"], ["updated_at", "2016-01-20 22:29:55.451883"]]  (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-01-20 22:29:55.454323"], ["updated_at", "2016-01-20 22:29:55.454323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:29:55.457506"], ["updated_at", "2016-01-20 22:29:55.457506"]]  (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 7' 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 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-01-20 22:29:55.459652"], ["updated_at", "2016-01-20 22:29:55.459652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:29:55.462360"], ["updated_at", "2016-01-20 22:29:55.462360"]]  (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" = 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 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-01-20 22:29:55.464272"], ["updated_at", "2016-01-20 22:29:55.464272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:29:55.466720"], ["updated_at", "2016-01-20 22:29:55.466720"]]  (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" = 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 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-01-20 22:29:55.468781"], ["updated_at", "2016-01-20 22:29:55.468781"]]  (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.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) 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", "2016-01-20 22:30:10.665087"], ["updated_at", "2016-01-20 22:30:10.665087"]]  (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 10' 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  (0.1ms) SAVEPOINT 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", "2016-01-20 22:30:10.672415"], ["updated_at", "2016-01-20 22:30:10.672415"]]  (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.7ms) 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 15' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-20 22:30:10.687033"], ["updated_at", "2016-01-20 22:30:10.687033"]]  (0.1ms) 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.2ms) 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", "2016-01-20 22:30:10.717271"], ["updated_at", "2016-01-20 22:30:10.717271"]]  (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.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 16' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-20 22:30:10.738547"], ["updated_at", "2016-01-20 22:30:10.738547"]]  (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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-20 22:30:10.744313"], ["updated_at", "2016-01-20 22:30:10.744313"]]  (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 18' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-20 22:30:10.749289"], ["updated_at", "2016-01-20 22:30:10.749289"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.2ms) 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-01-20 22:30:10.755647"], ["updated_at", "2016-01-20 22:30:10.755647"]]  (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 16' 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 16"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:30:10.758273"], ["updated_at", "2016-01-20 22:30:10.758273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.2ms) 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", "2016-01-20 22:30:10.765805"], ["updated_at", "2016-01-20 22:30:10.765805"]]  (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 17' 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 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:30:10.768334"], ["updated_at", "2016-01-20 22:30:10.768334"]]  (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 19' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-20 22:30:10.773917"], ["updated_at", "2016-01-20 22:30:10.773917"]]  (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 20' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-20 22:30:10.780259"], ["updated_at", "2016-01-20 22:30:10.780259"]]  (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" = 'Image' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-20 22:30:10.787180"], ["updated_at", "2016-01-20 22:30:10.787180"]]  (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", "2016-01-20 22:30:10.911591"], ["updated_at", "2016-01-20 22:30:10.911591"]]  (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-5"]]  (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.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.4ms) 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-01-20 22:30:10.930465"], ["updated_at", "2016-01-20 22:30:10.930465"]]  (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", "2016-01-20 22:30:10.935696"], ["updated_at", "2016-01-20 22:30:10.935696"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:30:10.938359"], ["updated_at", "2016-01-20 22:30:10.938359"]]  (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", "2016-01-20 22:30:10.947075"], ["updated_at", "2016-01-20 22:30:10.947075"]]  (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", "2016-01-20 22:30:10.950940"], ["updated_at", "2016-01-20 22:30:10.950940"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:30:10.953535"], ["updated_at", "2016-01-20 22:30:10.953535"]]  (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", "2016-01-20 22:30:10.956602"], ["id", 1]]  (0.3ms) 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.7ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-20 22:30:10.975747"], ["updated_at", "2016-01-20 22:30:10.975747"]]  (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", "2016-01-20 22:30:10.982494"], ["updated_at", "2016-01-20 22:30:10.982494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-20 22:30:10.985678"], ["updated_at", "2016-01-20 22:30:10.985678"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:30:10.987726"], ["updated_at", "2016-01-20 22:30:10.987726"]]  (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-01-20 22:30:10.989647"], ["updated_at", "2016-01-20 22:30:10.989647"]]  (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.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.2ms) 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-01-20 22:30:11.016664"], ["updated_at", "2016-01-20 22:30:11.016664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-20 22:30:11.020580"], ["updated_at", "2016-01-20 22:30:11.020580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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.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.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  (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.3ms) 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.2ms) 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", "2016-01-20 22:30:11.065826"], ["updated_at", "2016-01-20 22:30:11.065826"]]  (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.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.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-01-20 22:30:11.082364"], ["updated_at", "2016-01-20 22:30:11.082364"]]  (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.5ms) 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-01-20 22:30:11.088391"], ["updated_at", "2016-01-20 22:30:11.088391"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:30:11.092347"], ["updated_at", "2016-01-20 22:30:11.092347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.0ms) 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.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.6ms) DELETE FROM "pulitzer_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_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.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.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-01-20 22:30:15.820529"], ["updated_at", "2016-01-20 22:30:15.820529"]]  (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", "2016-01-20 22:30:15.933953"], ["updated_at", "2016-01-20 22:30:15.933953"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:30:15.942963"], ["updated_at", "2016-01-20 22:30:15.942963"]]  (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-01-20 22:30:15.946142"], ["updated_at", "2016-01-20 22:30:15.946142"]]  (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-01-20 22:30:15.958620"], ["updated_at", "2016-01-20 22:30:15.958620"]]  (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", "2016-01-20 22:30:15.962079"], ["updated_at", "2016-01-20 22:30:15.962079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:30:15.965099"], ["updated_at", "2016-01-20 22:30:15.965099"]]  (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", "2016-01-20 22:30:15.967221"], ["updated_at", "2016-01-20 22:30:15.967221"]]  (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-01-20 22:30:15.971618"], ["updated_at", "2016-01-20 22:30:15.971618"]]  (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", "2016-01-20 22:30:15.974043"], ["updated_at", "2016-01-20 22:30:15.974043"]]  (0.0ms) 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_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-20 22:30:15.979306"], ["updated_at", "2016-01-20 22:30:15.979306"]]  (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 [["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 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", "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-01-20 22:30:15.962079"], ["updated_at", "2016-01-20 22:30:15.962079"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:30:15.988492"], ["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 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" IS NULL) LIMIT 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-01-20 22:30:15.967221"], ["updated_at", "2016-01-20 22:30:15.967221"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:30:15.995327"], ["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 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" IS NULL) LIMIT 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-01-20 22:30:15.974043"], ["updated_at", "2016-01-20 22:30:15.974043"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:30:16.000781"], ["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-01-20 22:30:16.004808"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.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", "2016-01-20 22:30:16.012459"], ["updated_at", "2016-01-20 22:30:16.012459"]]  (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", "2016-01-20 22:30:16.015488"], ["updated_at", "2016-01-20 22:30:16.015488"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:30:16.018454"], ["updated_at", "2016-01-20 22:30:16.018454"]]  (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-01-20 22:30:16.020259"], ["updated_at", "2016-01-20 22:30:16.020259"]]  (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-01-20 22:30:16.023539"], ["updated_at", "2016-01-20 22:30:16.023539"]]  (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", "2016-01-20 22:30:16.026067"], ["updated_at", "2016-01-20 22:30:16.026067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-01-20 22:30:16.029217"], ["updated_at", "2016-01-20 22:30:16.029217"]]  (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", "2016-01-20 22:30:16.031199"], ["updated_at", "2016-01-20 22:30:16.031199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:30:16.033743"], ["updated_at", "2016-01-20 22:30:16.033743"]]  (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", "2016-01-20 22:30:16.035617"], ["updated_at", "2016-01-20 22:30:16.035617"]]  (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-01-20 22:30:16.037363"], ["updated_at", "2016-01-20 22:30:16.037363"]]  (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]] 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 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 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-01-20 22:30:16.026067"], ["updated_at", "2016-01-20 22:30:16.026067"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:30:16.044882"], ["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 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.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-01-20 22:30:16.031199"], ["updated_at", "2016-01-20 22:30:16.031199"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:30:16.051230"], ["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 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.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-01-20 22:30:16.035617"], ["updated_at", "2016-01-20 22:30:16.035617"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-20 22:30:16.056703"], ["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-01-20 22:30:16.058902"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (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_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:30:16.067223"], ["updated_at", "2016-01-20 22:30:16.067223"]]  (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", "2016-01-20 22:30:16.076645"], ["updated_at", "2016-01-20 22:30:16.076645"]]  (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", "2016-01-20 22:30:16.079271"], ["updated_at", "2016-01-20 22:30:16.079271"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:30:16.081942"], ["updated_at", "2016-01-20 22:30:16.081942"]]  (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-01-20 22:30:16.083245"], ["updated_at", "2016-01-20 22:30:16.083245"]]  (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", "2016-01-20 22:30:16.086215"], ["updated_at", "2016-01-20 22:30:16.086215"]]  (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", "2016-01-20 22:30:16.087957"], ["updated_at", "2016-01-20 22:30:16.087957"]]  (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", "2016-01-20 22:30:16.092646"], ["updated_at", "2016-01-20 22:30:16.092646"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:30:16.094177"], ["updated_at", "2016-01-20 22:30:16.094177"]]  (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]] 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", "2016-01-20 22:30:16.104368"], ["updated_at", "2016-01-20 22:30:16.104368"]]  (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", "2016-01-20 22:30:16.109045"], ["updated_at", "2016-01-20 22:30:16.109045"]]  (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", "2016-01-20 22:30:16.115049"], ["updated_at", "2016-01-20 22:30:16.115049"]]  (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.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-01-20 22:30:16.122422"], ["updated_at", "2016-01-20 22:30:16.122422"]]  (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-01-20 22:30:16.124857"], ["updated_at", "2016-01-20 22:30:16.124857"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:30:16.126889"], ["updated_at", "2016-01-20 22:30:16.126889"]]  (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-01-20 22:30:16.129316"], ["updated_at", "2016-01-20 22:30:16.129316"]]  (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 10' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-01-20 22:30:16.132483"], ["updated_at", "2016-01-20 22:30:16.132483"]]  (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" = 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 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-01-20 22:30:16.134917"], ["updated_at", "2016-01-20 22:30:16.134917"]]  (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-01-20 22:30:16.137603"], ["updated_at", "2016-01-20 22:30:16.137603"]]  (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" = 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 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-01-20 22:30:16.139462"], ["updated_at", "2016-01-20 22:30:16.139462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-20 22:30:16.142441"], ["updated_at", "2016-01-20 22:30:16.142441"]]  (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 9' 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 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-01-20 22:30:16.144667"], ["updated_at", "2016-01-20 22:30:16.144667"]]  (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]]  (1.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  (0.1ms) SAVEPOINT 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.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-20 22:30:18.639769"], ["updated_at", "2016-01-20 22:30:18.639769"]]  (2.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 10' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 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", "2016-01-20 22:30:18.648930"], ["updated_at", "2016-01-20 22:30:18.648930"]]  (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.8ms) rollback transaction  (0.2ms) 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 15' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-20 22:30:18.665444"], ["updated_at", "2016-01-20 22:30:18.665444"]]  (0.1ms) 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", "2016-01-20 22:30:18.692429"], ["updated_at", "2016-01-20 22:30:18.692429"]]  (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.2ms) 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.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-01-20 22:30:18.713826"], ["updated_at", "2016-01-20 22:30:18.713826"]]  (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 17' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-20 22:30:18.718969"], ["updated_at", "2016-01-20 22:30:18.718969"]]  (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 18' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-20 22:30:18.724717"], ["updated_at", "2016-01-20 22:30:18.724717"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) commit transaction  (0.1ms) 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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-20 22:30:18.731489"], ["updated_at", "2016-01-20 22:30:18.731489"]]  (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 16' 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 16"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:30:18.734117"], ["updated_at", "2016-01-20 22:30:18.734117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (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 (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-20 22:30:18.740905"], ["updated_at", "2016-01-20 22:30:18.740905"]]  (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 17' 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 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-20 22:30:18.743325"], ["updated_at", "2016-01-20 22:30:18.743325"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.2ms) 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-01-20 22:30:18.749591"], ["updated_at", "2016-01-20 22:30:18.749591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.2ms) 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 20' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-20 22:30:18.756396"], ["updated_at", "2016-01-20 22:30:18.756396"]]  (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-01-20 22:30:18.762631"], ["updated_at", "2016-01-20 22:30:18.762631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) 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", "2016-01-20 22:30:18.884725"], ["updated_at", "2016-01-20 22:30:18.884725"]]  (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-5"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.4ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.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-01-20 22:30:18.902283"], ["updated_at", "2016-01-20 22:30:18.902283"]]  (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-6"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 6"], ["post_type_id", 1], ["slug", "winterfell-news-6"], ["created_at", "2016-01-20 22:30:18.913119"], ["updated_at", "2016-01-20 22:30:18.913119"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:30:18.916986"], ["updated_at", "2016-01-20 22:30:18.916986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) 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-01-20 22:30:18.924788"], ["updated_at", "2016-01-20 22:30:18.924788"]]  (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-01-20 22:30:18.928339"], ["updated_at", "2016-01-20 22:30:18.928339"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:30:18.931295"], ["updated_at", "2016-01-20 22:30:18.931295"]]  (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-01-20 22:30:18.934890"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) commit transaction  (0.6ms) 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.5ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-20 22:30:18.953923"], ["updated_at", "2016-01-20 22:30:18.953923"]]  (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", "2016-01-20 22:30:18.960091"], ["updated_at", "2016-01-20 22:30:18.960091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-20 22:30:18.963370"], ["updated_at", "2016-01-20 22:30:18.963370"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:30:18.965281"], ["updated_at", "2016-01-20 22:30:18.965281"]]  (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-01-20 22:30:18.966817"], ["updated_at", "2016-01-20 22:30:18.966817"]]  (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.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.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) 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-01-20 22:30:18.994978"], ["updated_at", "2016-01-20 22:30:18.994978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-20 22:30:18.999071"], ["updated_at", "2016-01-20 22:30:18.999071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) 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.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) 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.3ms) 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.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.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", "2016-01-20 22:30:19.045655"], ["updated_at", "2016-01-20 22:30:19.045655"]]  (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.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-20 22:30:19.063876"], ["updated_at", "2016-01-20 22:30:19.063876"]]  (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-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-01-20 22:30:19.067570"], ["updated_at", "2016-01-20 22:30:19.067570"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-20 22:30:19.070612"], ["updated_at", "2016-01-20 22:30:19.070612"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.3ms) 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.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.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) 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';  (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.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 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:17:02.447263"], ["updated_at", "2016-01-21 16:17:02.447263"]]  (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", "2016-01-21 16:17:02.572803"], ["updated_at", "2016-01-21 16:17:02.572803"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:17:02.581692"], ["updated_at", "2016-01-21 16:17:02.581692"]]  (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-01-21 16:17:02.583927"], ["updated_at", "2016-01-21 16:17:02.583927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:17:02.596135"], ["updated_at", "2016-01-21 16:17:02.596135"]]  (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", "2016-01-21 16:17:02.599711"], ["updated_at", "2016-01-21 16:17:02.599711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:17:02.602524"], ["updated_at", "2016-01-21 16:17:02.602524"]]  (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", "2016-01-21 16:17:02.604452"], ["updated_at", "2016-01-21 16:17:02.604452"]]  (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-01-21 16:17:02.607668"], ["updated_at", "2016-01-21 16:17:02.607668"]]  (0.0ms) 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 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", "2016-01-21 16:17:02.610421"], ["updated_at", "2016-01-21 16:17:02.610421"]]  (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-01-21 16:17:02.616979"], ["updated_at", "2016-01-21 16:17:02.616979"]]  (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 [["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 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", "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-01-21 16:17:02.599711"], ["updated_at", "2016-01-21 16:17:02.599711"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:17:02.627136"], ["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 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" IS NULL) LIMIT 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-01-21 16:17:02.604452"], ["updated_at", "2016-01-21 16:17:02.604452"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:17:02.633680"], ["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 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" IS NULL) LIMIT 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-01-21 16:17:02.610421"], ["updated_at", "2016-01-21 16:17:02.610421"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:17:02.639726"], ["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-01-21 16:17:02.643086"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:17:02.650059"], ["updated_at", "2016-01-21 16:17:02.650059"]]  (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", "2016-01-21 16:17:02.652603"], ["updated_at", "2016-01-21 16:17:02.652603"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:17:02.655240"], ["updated_at", "2016-01-21 16:17:02.655240"]]  (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-01-21 16:17:02.657523"], ["updated_at", "2016-01-21 16:17:02.657523"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-01-21 16:17:02.660942"], ["updated_at", "2016-01-21 16:17:02.660942"]]  (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", "2016-01-21 16:17:02.663112"], ["updated_at", "2016-01-21 16:17:02.663112"]]  (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", "2016-01-21 16:17:02.666253"], ["updated_at", "2016-01-21 16:17:02.666253"]]  (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", "2016-01-21 16:17:02.668394"], ["updated_at", "2016-01-21 16:17:02.668394"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:17:02.671425"], ["updated_at", "2016-01-21 16:17:02.671425"]]  (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", "2016-01-21 16:17:02.673321"], ["updated_at", "2016-01-21 16:17:02.673321"]]  (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-01-21 16:17:02.675119"], ["updated_at", "2016-01-21 16:17:02.675119"]]  (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]] 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 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 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-01-21 16:17:02.663112"], ["updated_at", "2016-01-21 16:17:02.663112"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:17:02.681612"], ["id", 4]]  (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", 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 5' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 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-01-21 16:17:02.668394"], ["updated_at", "2016-01-21 16:17:02.668394"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:17:02.687928"], ["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.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" IS NULL) LIMIT 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-01-21 16:17:02.673321"], ["updated_at", "2016-01-21 16:17:02.673321"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:17:02.695048"], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-21 16:17:02.696769"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.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.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-01-21 16:17:02.706872"], ["updated_at", "2016-01-21 16:17:02.706872"]]  (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.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-01-21 16:17:02.715846"], ["updated_at", "2016-01-21 16:17:02.715846"]]  (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", "2016-01-21 16:17:02.718585"], ["updated_at", "2016-01-21 16:17:02.718585"]]  (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.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-01-21 16:17:02.721560"], ["updated_at", "2016-01-21 16:17:02.721560"]]  (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-01-21 16:17:02.723518"], ["updated_at", "2016-01-21 16:17:02.723518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:17:02.725892"], ["updated_at", "2016-01-21 16:17:02.725892"]]  (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", "2016-01-21 16:17:02.727550"], ["updated_at", "2016-01-21 16:17:02.727550"]]  (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", "2016-01-21 16:17:02.732278"], ["updated_at", "2016-01-21 16:17:02.732278"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:17:02.734046"], ["updated_at", "2016-01-21 16:17:02.734046"]]  (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.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.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", "2016-01-21 16:17:02.743436"], ["updated_at", "2016-01-21 16:17:02.743436"]]  (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", 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", "2016-01-21 16:17:02.748275"], ["updated_at", "2016-01-21 16:17:02.748275"]]  (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", "2016-01-21 16:17:02.753025"], ["updated_at", "2016-01-21 16:17:02.753025"]]  (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.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-01-21 16:17:02.761128"], ["updated_at", "2016-01-21 16:17:02.761128"]]  (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-01-21 16:17:02.763874"], ["updated_at", "2016-01-21 16:17:02.763874"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:17:02.765711"], ["updated_at", "2016-01-21 16:17:02.765711"]]  (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-01-21 16:17:02.767376"], ["updated_at", "2016-01-21 16:17:02.767376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:17:02.770077"], ["updated_at", "2016-01-21 16:17:02.770077"]]  (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" = 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 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-01-21 16:17:02.772284"], ["updated_at", "2016-01-21 16:17:02.772284"]]  (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 11' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-21 16:17:02.775157"], ["updated_at", "2016-01-21 16:17:02.775157"]]  (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" = 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 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-01-21 16:17:02.777111"], ["updated_at", "2016-01-21 16:17:02.777111"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:17:02.779587"], ["updated_at", "2016-01-21 16:17:02.779587"]]  (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" = 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 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-01-21 16:17:02.781431"], ["updated_at", "2016-01-21 16:17:02.781431"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Post Load (2.9ms) 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" = ? [["post_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  (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 13' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-21 16:18:03.590042"], ["updated_at", "2016-01-21 16:18:03.590042"]]  (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 10' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) 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 14' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-01-21 16:18:03.598827"], ["updated_at", "2016-01-21 16:18:03.598827"]]  (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 15' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-21 16:18:03.613385"], ["updated_at", "2016-01-21 16:18:03.613385"]]  (0.0ms) RELEASE 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_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", "2016-01-21 16:18:03.627155"], ["updated_at", "2016-01-21 16:18:03.627155"]]  (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.4ms) 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.3ms) 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.3ms) 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-01-21 16:18:03.652690"], ["updated_at", "2016-01-21 16:18:03.652690"]]  (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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-21 16:18:03.658735"], ["updated_at", "2016-01-21 16:18:03.658735"]]  (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.3ms) 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-01-21 16:18:03.666794"], ["updated_at", "2016-01-21 16:18:03.666794"]]  (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", "2016-01-21 16:18:03.672851"], ["updated_at", "2016-01-21 16:18:03.672851"]]  (0.0ms) 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 16' 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 16"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-21 16:18:03.675792"], ["updated_at", "2016-01-21 16:18:03.675792"]]  (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", "2016-01-21 16:18:03.682697"], ["updated_at", "2016-01-21 16:18:03.682697"]]  (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 17' 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 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-21 16:18:03.685199"], ["updated_at", "2016-01-21 16:18:03.685199"]]  (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.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-21 16:18:03.692283"], ["updated_at", "2016-01-21 16:18:03.692283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-21 16:18:03.699436"], ["updated_at", "2016-01-21 16:18:03.699436"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-21 16:18:03.705457"], ["updated_at", "2016-01-21 16:18:03.705457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", "2016-01-21 16:18:03.877896"], ["updated_at", "2016-01-21 16:18:03.877896"]]  (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-5"]]  (0.7ms) rollback transaction  (0.2ms) 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.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-01-21 16:18:03.898577"], ["updated_at", "2016-01-21 16:18:03.898577"]]  (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", "2016-01-21 16:18:03.902277"], ["updated_at", "2016-01-21 16:18:03.902277"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:03.904691"], ["updated_at", "2016-01-21 16:18:03.904691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:18:03.909463"], ["updated_at", "2016-01-21 16:18:03.909463"]]  (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.6ms) 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-01-21 16:18:03.913369"], ["updated_at", "2016-01-21 16:18:03.913369"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:03.917516"], ["updated_at", "2016-01-21 16:18:03.917516"]]  (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", "2016-01-21 16:18:03.920648"], ["id", 1]]  (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::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-01-21 16:18:03.934185"], ["updated_at", "2016-01-21 16:18:03.934185"]]  (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-01-21 16:18:03.939033"], ["updated_at", "2016-01-21 16:18:03.939033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-21 16:18:03.942401"], ["updated_at", "2016-01-21 16:18:03.942401"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:03.944436"], ["updated_at", "2016-01-21 16:18:03.944436"]]  (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-01-21 16:18:03.946071"], ["updated_at", "2016-01-21 16:18:03.946071"]]  (0.0ms) 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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) commit transaction  (0.2ms) 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.4ms) 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-01-21 16:18:03.979828"], ["updated_at", "2016-01-21 16:18:03.979828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-21 16:18:03.984994"], ["updated_at", "2016-01-21 16:18:03.984994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.4ms) 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.4ms) 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) 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.1ms) 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.2ms) 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.2ms) 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.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-01-21 16:18:04.051217"], ["updated_at", "2016-01-21 16:18:04.051217"]]  (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.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) 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-01-21 16:18:04.066436"], ["updated_at", "2016-01-21 16:18:04.066436"]]  (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.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-01-21 16:18:04.071082"], ["updated_at", "2016-01-21 16:18:04.071082"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:04.073581"], ["updated_at", "2016-01-21 16:18:04.073581"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.3ms) 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.3ms) 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.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.6ms) DELETE FROM "pulitzer_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (0.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.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.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:18:08.428783"], ["updated_at", "2016-01-21 16:18:08.428783"]]  (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-01-21 16:18:08.546714"], ["updated_at", "2016-01-21 16:18:08.546714"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:08.555046"], ["updated_at", "2016-01-21 16:18:08.555046"]]  (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-01-21 16:18:08.557399"], ["updated_at", "2016-01-21 16:18:08.557399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:08.571115"], ["updated_at", "2016-01-21 16:18:08.571115"]]  (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", "2016-01-21 16:18:08.574244"], ["updated_at", "2016-01-21 16:18:08.574244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:08.577108"], ["updated_at", "2016-01-21 16:18:08.577108"]]  (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", "2016-01-21 16:18:08.579325"], ["updated_at", "2016-01-21 16:18:08.579325"]]  (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 3' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", "2016-01-21 16:18:08.582441"], ["updated_at", "2016-01-21 16:18:08.582441"]]  (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", "2016-01-21 16:18:08.584430"], ["updated_at", "2016-01-21 16:18:08.584430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-21 16:18:08.588681"], ["updated_at", "2016-01-21 16:18:08.588681"]]  (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]] 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 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", "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-01-21 16:18:08.574244"], ["updated_at", "2016-01-21 16:18:08.574244"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:08.597411"], ["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 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" IS NULL) LIMIT 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-01-21 16:18:08.579325"], ["updated_at", "2016-01-21 16:18:08.579325"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:08.603672"], ["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.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" IS NULL) LIMIT 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-01-21 16:18:08.584430"], ["updated_at", "2016-01-21 16:18:08.584430"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:08.608785"], ["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-01-21 16:18:08.611839"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.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", "2016-01-21 16:18:08.619355"], ["updated_at", "2016-01-21 16:18:08.619355"]]  (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-01-21 16:18:08.622051"], ["updated_at", "2016-01-21 16:18:08.622051"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:08.623906"], ["updated_at", "2016-01-21 16:18:08.623906"]]  (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-01-21 16:18:08.625567"], ["updated_at", "2016-01-21 16:18:08.625567"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-01-21 16:18:08.628607"], ["updated_at", "2016-01-21 16:18:08.628607"]]  (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", "2016-01-21 16:18:08.630692"], ["updated_at", "2016-01-21 16:18:08.630692"]]  (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-01-21 16:18:08.634855"], ["updated_at", "2016-01-21 16:18:08.634855"]]  (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 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", "2016-01-21 16:18:08.637307"], ["updated_at", "2016-01-21 16:18:08.637307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:08.640395"], ["updated_at", "2016-01-21 16:18:08.640395"]]  (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", "2016-01-21 16:18:08.642630"], ["updated_at", "2016-01-21 16:18:08.642630"]]  (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-01-21 16:18:08.644989"], ["updated_at", "2016-01-21 16:18:08.644989"]]  (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]] 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 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 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-01-21 16:18:08.630692"], ["updated_at", "2016-01-21 16:18:08.630692"]]  (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 4' AND "pulitzer_content_elements"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:08.653278"], ["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 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.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-01-21 16:18:08.637307"], ["updated_at", "2016-01-21 16:18:08.637307"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:08.659174"], ["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 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.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-01-21 16:18:08.642630"], ["updated_at", "2016-01-21 16:18:08.642630"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:08.664961"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 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-01-21 16:18:08.668010"], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 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]]  (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-01-21 16:18:08.676078"], ["updated_at", "2016-01-21 16:18:08.676078"]]  (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", "2016-01-21 16:18:08.684317"], ["updated_at", "2016-01-21 16:18:08.684317"]]  (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", "2016-01-21 16:18:08.687192"], ["updated_at", "2016-01-21 16:18:08.687192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:08.689878"], ["updated_at", "2016-01-21 16:18:08.689878"]]  (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-01-21 16:18:08.691247"], ["updated_at", "2016-01-21 16:18:08.691247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-01-21 16:18:08.693521"], ["updated_at", "2016-01-21 16:18:08.693521"]]  (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", "2016-01-21 16:18:08.694773"], ["updated_at", "2016-01-21 16:18:08.694773"]]  (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.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", "2016-01-21 16:18:08.700541"], ["updated_at", "2016-01-21 16:18:08.700541"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:08.702844"], ["updated_at", "2016-01-21 16:18:08.702844"]]  (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.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", "2016-01-21 16:18:08.712967"], ["updated_at", "2016-01-21 16:18:08.712967"]]  (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", "2016-01-21 16:18:08.719069"], ["updated_at", "2016-01-21 16:18:08.719069"]]  (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", "2016-01-21 16:18:08.724013"], ["updated_at", "2016-01-21 16:18:08.724013"]]  (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.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:18:08.732522"], ["updated_at", "2016-01-21 16:18:08.732522"]]  (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.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", "2016-01-21 16:18:08.735513"], ["updated_at", "2016-01-21 16:18:08.735513"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:08.738013"], ["updated_at", "2016-01-21 16:18:08.738013"]]  (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-01-21 16:18:08.740075"], ["updated_at", "2016-01-21 16:18:08.740075"]]  (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 10' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-01-21 16:18:08.743180"], ["updated_at", "2016-01-21 16:18:08.743180"]]  (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" = 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 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-01-21 16:18:08.745333"], ["updated_at", "2016-01-21 16:18:08.745333"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:08.748117"], ["updated_at", "2016-01-21 16:18:08.748117"]]  (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" = 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 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-01-21 16:18:08.750540"], ["updated_at", "2016-01-21 16:18:08.750540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:08.753230"], ["updated_at", "2016-01-21 16:18:08.753230"]]  (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" = 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 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-01-21 16:18:08.755614"], ["updated_at", "2016-01-21 16:18:08.755614"]]  (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.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) SAVEPOINT 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", "2016-01-21 16:18:08.764528"], ["updated_at", "2016-01-21 16:18:08.764528"]]  (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 10' 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 14' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-01-21 16:18:08.770955"], ["updated_at", "2016-01-21 16:18:08.770955"]]  (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 15' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-21 16:18:08.779656"], ["updated_at", "2016-01-21 16:18:08.779656"]]  (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", "2016-01-21 16:18:08.788799"], ["updated_at", "2016-01-21 16:18:08.788799"]]  (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.0ms) commit transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.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.5ms) 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-01-21 16:18:08.807296"], ["updated_at", "2016-01-21 16:18:08.807296"]]  (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) SAVEPOINT 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-01-21 16:18:08.812848"], ["updated_at", "2016-01-21 16:18:08.812848"]]  (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 18' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-21 16:18:08.818803"], ["updated_at", "2016-01-21 16:18:08.818803"]]  (0.1ms) 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.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-01-21 16:18:08.824884"], ["updated_at", "2016-01-21 16:18:08.824884"]]  (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 16' 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 16"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-21 16:18:08.827337"], ["updated_at", "2016-01-21 16:18:08.827337"]]  (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", "2016-01-21 16:18:08.833086"], ["updated_at", "2016-01-21 16:18:08.833086"]]  (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 17' 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 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-21 16:18:08.835571"], ["updated_at", "2016-01-21 16:18:08.835571"]]  (0.0ms) 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" = '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-01-21 16:18:08.841564"], ["updated_at", "2016-01-21 16:18:08.841564"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-21 16:18:08.847663"], ["updated_at", "2016-01-21 16:18:08.847663"]]  (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", "2016-01-21 16:18:08.854154"], ["updated_at", "2016-01-21 16:18:08.854154"]]  (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.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:18:08.980267"], ["updated_at", "2016-01-21 16:18:08.980267"]]  (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-5"]]  (0.3ms) rollback transaction  (0.2ms) 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) 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-01-21 16:18:08.994808"], ["updated_at", "2016-01-21 16:18:08.994808"]]  (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", "2016-01-21 16:18:08.999248"], ["updated_at", "2016-01-21 16:18:08.999248"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:09.002136"], ["updated_at", "2016-01-21 16:18:09.002136"]]  (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", "2016-01-21 16:18:09.009335"], ["updated_at", "2016-01-21 16:18:09.009335"]]  (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.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-01-21 16:18:09.013122"], ["updated_at", "2016-01-21 16:18:09.013122"]] SQL (2.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:09.015991"], ["updated_at", "2016-01-21 16:18:09.015991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "the-new-king-in-the-north"]] SQL (0.2ms) UPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ? [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-01-21 16:18:09.022798"], ["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.2ms) 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", "2016-01-21 16:18:09.039985"], ["updated_at", "2016-01-21 16:18:09.039985"]]  (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-01-21 16:18:09.045702"], ["updated_at", "2016-01-21 16:18:09.045702"]]  (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-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-01-21 16:18:09.049128"], ["updated_at", "2016-01-21 16:18:09.049128"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:09.052492"], ["updated_at", "2016-01-21 16:18:09.052492"]]  (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-01-21 16:18:09.054892"], ["updated_at", "2016-01-21 16:18:09.054892"]]  (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.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.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-01-21 16:18:09.079632"], ["updated_at", "2016-01-21 16:18:09.079632"]]  (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 21' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-21 16:18:09.083393"], ["updated_at", "2016-01-21 16:18:09.083393"]]  (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.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.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.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.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) 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  (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-01-21 16:18:09.145676"], ["updated_at", "2016-01-21 16:18:09.145676"]]  (0.0ms) 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  (0.4ms) 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) 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", "2016-01-21 16:18:09.162967"], ["updated_at", "2016-01-21 16:18:09.162967"]]  (0.2ms) 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.7ms) 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-01-21 16:18:09.165990"], ["updated_at", "2016-01-21 16:18:09.165990"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:09.173074"], ["updated_at", "2016-01-21 16:18:09.173074"]]  (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.2ms) 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.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.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.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.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.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.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 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:18:22.745360"], ["updated_at", "2016-01-21 16:18:22.745360"]]  (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", "2016-01-21 16:18:22.865505"], ["updated_at", "2016-01-21 16:18:22.865505"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:22.874600"], ["updated_at", "2016-01-21 16:18:22.874600"]]  (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-01-21 16:18:22.876827"], ["updated_at", "2016-01-21 16:18:22.876827"]]  (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", "2016-01-21 16:18:22.889249"], ["updated_at", "2016-01-21 16:18:22.889249"]]  (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", "2016-01-21 16:18:22.893156"], ["updated_at", "2016-01-21 16:18:22.893156"]]  (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-01-21 16:18:22.896781"], ["updated_at", "2016-01-21 16:18:22.896781"]]  (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", "2016-01-21 16:18:22.898917"], ["updated_at", "2016-01-21 16:18:22.898917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:22.901400"], ["updated_at", "2016-01-21 16:18:22.901400"]]  (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", "2016-01-21 16:18:22.903207"], ["updated_at", "2016-01-21 16:18:22.903207"]]  (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.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-01-21 16:18:22.908010"], ["updated_at", "2016-01-21 16:18:22.908010"]]  (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]] 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 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", "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-01-21 16:18:22.893156"], ["updated_at", "2016-01-21 16:18:22.893156"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.2ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:22.916465"], ["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 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" IS NULL) LIMIT 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-01-21 16:18:22.898917"], ["updated_at", "2016-01-21 16:18:22.898917"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:22.922826"], ["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.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" IS NULL) LIMIT 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-01-21 16:18:22.903207"], ["updated_at", "2016-01-21 16:18:22.903207"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:22.928403"], ["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-01-21 16:18:22.931709"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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-01-21 16:18:22.939395"], ["updated_at", "2016-01-21 16:18:22.939395"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-01-21 16:18:22.942418"], ["updated_at", "2016-01-21 16:18:22.942418"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:22.944825"], ["updated_at", "2016-01-21 16:18:22.944825"]]  (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-01-21 16:18:22.946426"], ["updated_at", "2016-01-21 16:18:22.946426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:22.949054"], ["updated_at", "2016-01-21 16:18:22.949054"]]  (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", "2016-01-21 16:18:22.950977"], ["updated_at", "2016-01-21 16:18:22.950977"]]  (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", "2016-01-21 16:18:22.953821"], ["updated_at", "2016-01-21 16:18:22.953821"]]  (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", "2016-01-21 16:18:22.955836"], ["updated_at", "2016-01-21 16:18:22.955836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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", "2016-01-21 16:18:22.958316"], ["updated_at", "2016-01-21 16:18:22.958316"]]  (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", "2016-01-21 16:18:22.960191"], ["updated_at", "2016-01-21 16:18:22.960191"]]  (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-01-21 16:18:22.962011"], ["updated_at", "2016-01-21 16:18:22.962011"]]  (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]] 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 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 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-01-21 16:18:22.950977"], ["updated_at", "2016-01-21 16:18:22.950977"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:22.968885"], ["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 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.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-01-21 16:18:22.955836"], ["updated_at", "2016-01-21 16:18:22.955836"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:22.977484"], ["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 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.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-01-21 16:18:22.960191"], ["updated_at", "2016-01-21 16:18:22.960191"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:22.982529"], ["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-01-21 16:18:22.984209"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.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.2ms) begin transaction  (0.2ms) commit transaction  (0.2ms) 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-01-21 16:18:22.997430"], ["updated_at", "2016-01-21 16:18:22.997430"]]  (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", "2016-01-21 16:18:23.005599"], ["updated_at", "2016-01-21 16:18:23.005599"]]  (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", "2016-01-21 16:18:23.008018"], ["updated_at", "2016-01-21 16:18:23.008018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:23.010449"], ["updated_at", "2016-01-21 16:18:23.010449"]]  (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-01-21 16:18:23.011996"], ["updated_at", "2016-01-21 16:18:23.011996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-01-21 16:18:23.014140"], ["updated_at", "2016-01-21 16:18:23.014140"]]  (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-01-21 16:18:23.015368"], ["updated_at", "2016-01-21 16:18:23.015368"]]  (0.2ms) 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.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", "2016-01-21 16:18:23.020110"], ["updated_at", "2016-01-21 16:18:23.020110"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:23.023275"], ["updated_at", "2016-01-21 16:18:23.023275"]]  (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.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", "2016-01-21 16:18:23.031753"], ["updated_at", "2016-01-21 16:18:23.031753"]]  (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.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", 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", "2016-01-21 16:18:23.036891"], ["updated_at", "2016-01-21 16:18:23.036891"]]  (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", "2016-01-21 16:18:23.045023"], ["updated_at", "2016-01-21 16:18:23.045023"]]  (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.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:18:23.052324"], ["updated_at", "2016-01-21 16:18:23.052324"]]  (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.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", "2016-01-21 16:18:23.055526"], ["updated_at", "2016-01-21 16:18:23.055526"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:23.057631"], ["updated_at", "2016-01-21 16:18:23.057631"]]  (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-01-21 16:18:23.059467"], ["updated_at", "2016-01-21 16:18:23.059467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:23.062659"], ["updated_at", "2016-01-21 16:18:23.062659"]]  (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" = 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 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-01-21 16:18:23.064887"], ["updated_at", "2016-01-21 16:18:23.064887"]]  (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 11' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-21 16:18:23.067470"], ["updated_at", "2016-01-21 16:18:23.067470"]]  (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" = 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 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-01-21 16:18:23.069500"], ["updated_at", "2016-01-21 16:18:23.069500"]]  (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 12' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-01-21 16:18:23.073751"], ["updated_at", "2016-01-21 16:18:23.073751"]]  (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" = 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 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-01-21 16:18:23.076058"], ["updated_at", "2016-01-21 16:18:23.076058"]]  (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.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) SAVEPOINT 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", "2016-01-21 16:18:44.423197"], ["updated_at", "2016-01-21 16:18:44.423197"]]  (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 10' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1  (1.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.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", "2016-01-21 16:18:44.430940"], ["updated_at", "2016-01-21 16:18:44.430940"]]  (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 15' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-21 16:18:44.462860"], ["updated_at", "2016-01-21 16:18:44.462860"]]  (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", "2016-01-21 16:18:44.470895"], ["updated_at", "2016-01-21 16:18:44.470895"]]  (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.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) SAVEPOINT 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-01-21 16:18:44.488312"], ["updated_at", "2016-01-21 16:18:44.488312"]]  (0.1ms) 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 17' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-21 16:18:44.493560"], ["updated_at", "2016-01-21 16:18:44.493560"]]  (0.1ms) 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.2ms) 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-01-21 16:18:44.502524"], ["updated_at", "2016-01-21 16:18:44.502524"]]  (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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-21 16:18:44.509238"], ["updated_at", "2016-01-21 16:18:44.509238"]]  (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 16' 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 16"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-21 16:18:44.512019"], ["updated_at", "2016-01-21 16:18:44.512019"]]  (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", "2016-01-21 16:18:44.518525"], ["updated_at", "2016-01-21 16:18:44.518525"]]  (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 17' 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 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-21 16:18:44.521211"], ["updated_at", "2016-01-21 16:18:44.521211"]]  (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 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-01-21 16:18:44.527715"], ["updated_at", "2016-01-21 16:18:44.527715"]]  (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.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-01-21 16:18:44.534143"], ["updated_at", "2016-01-21 16:18:44.534143"]]  (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.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-21 16:18:44.540379"], ["updated_at", "2016-01-21 16:18:44.540379"]]  (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", "2016-01-21 16:18:44.664408"], ["updated_at", "2016-01-21 16:18:44.664408"]]  (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-5"]]  (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.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.4ms) 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-01-21 16:18:44.683178"], ["updated_at", "2016-01-21 16:18:44.683178"]]  (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", "2016-01-21 16:18:44.687041"], ["updated_at", "2016-01-21 16:18:44.687041"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:44.693308"], ["updated_at", "2016-01-21 16:18:44.693308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) 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", "2016-01-21 16:18:44.701628"], ["updated_at", "2016-01-21 16:18:44.701628"]]  (0.3ms) 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", "2016-01-21 16:18:44.708861"], ["updated_at", "2016-01-21 16:18:44.708861"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:44.711850"], ["updated_at", "2016-01-21 16:18:44.711850"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", "2016-01-21 16:18:44.715615"], ["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", "2016-01-21 16:18:44.732008"], ["updated_at", "2016-01-21 16:18:44.732008"]]  (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-01-21 16:18:44.736750"], ["updated_at", "2016-01-21 16:18:44.736750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-21 16:18:44.739721"], ["updated_at", "2016-01-21 16:18:44.739721"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:44.741636"], ["updated_at", "2016-01-21 16:18:44.741636"]]  (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-01-21 16:18:44.743147"], ["updated_at", "2016-01-21 16:18:44.743147"]]  (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) 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.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-01-21 16:18:44.771952"], ["updated_at", "2016-01-21 16:18:44.771952"]]  (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 21' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-21 16:18:44.775388"], ["updated_at", "2016-01-21 16:18:44.775388"]]  (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.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.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.1ms) begin transaction  (0.0ms) commit transaction  (0.2ms) 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 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  (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", "2016-01-21 16:18:44.827358"], ["updated_at", "2016-01-21 16:18:44.827358"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1  (0.8ms) 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", "2016-01-21 16:18:44.846377"], ["updated_at", "2016-01-21 16:18:44.846377"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 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-01-21 16:18:44.854546"], ["updated_at", "2016-01-21 16:18:44.854546"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:44.857620"], ["updated_at", "2016-01-21 16:18:44.857620"]]  (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.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.4ms) 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 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.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.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';  (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.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.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.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", "2016-01-21 16:18:48.235529"], ["updated_at", "2016-01-21 16:18:48.235529"]]  (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", "2016-01-21 16:18:48.348020"], ["updated_at", "2016-01-21 16:18:48.348020"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:48.358224"], ["updated_at", "2016-01-21 16:18:48.358224"]]  (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-01-21 16:18:48.360970"], ["updated_at", "2016-01-21 16:18:48.360970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:48.373403"], ["updated_at", "2016-01-21 16:18:48.373403"]]  (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", "2016-01-21 16:18:48.376657"], ["updated_at", "2016-01-21 16:18:48.376657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:48.379768"], ["updated_at", "2016-01-21 16:18:48.379768"]]  (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", "2016-01-21 16:18:48.381757"], ["updated_at", "2016-01-21 16:18:48.381757"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:48.384288"], ["updated_at", "2016-01-21 16:18:48.384288"]]  (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", "2016-01-21 16:18:48.386138"], ["updated_at", "2016-01-21 16:18:48.386138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-21 16:18:48.390254"], ["updated_at", "2016-01-21 16:18:48.390254"]]  (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]] 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 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", "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-01-21 16:18:48.376657"], ["updated_at", "2016-01-21 16:18:48.376657"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:48.398828"], ["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 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" IS NULL) LIMIT 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-01-21 16:18:48.381757"], ["updated_at", "2016-01-21 16:18:48.381757"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:48.405399"], ["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 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" IS NULL) LIMIT 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-01-21 16:18:48.386138"], ["updated_at", "2016-01-21 16:18:48.386138"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:48.410653"], ["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-01-21 16:18:48.413739"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.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", "2016-01-21 16:18:48.420944"], ["updated_at", "2016-01-21 16:18:48.420944"]]  (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-01-21 16:18:48.423651"], ["updated_at", "2016-01-21 16:18:48.423651"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:48.425684"], ["updated_at", "2016-01-21 16:18:48.425684"]]  (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-01-21 16:18:48.427450"], ["updated_at", "2016-01-21 16:18:48.427450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:48.430046"], ["updated_at", "2016-01-21 16:18:48.430046"]]  (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", "2016-01-21 16:18:48.432299"], ["updated_at", "2016-01-21 16:18:48.432299"]]  (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-01-21 16:18:48.437104"], ["updated_at", "2016-01-21 16:18:48.437104"]]  (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", "2016-01-21 16:18:48.439889"], ["updated_at", "2016-01-21 16:18:48.439889"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:48.442942"], ["updated_at", "2016-01-21 16:18:48.442942"]]  (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", "2016-01-21 16:18:48.444958"], ["updated_at", "2016-01-21 16:18:48.444958"]]  (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-01-21 16:18:48.446874"], ["updated_at", "2016-01-21 16:18:48.446874"]]  (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]] 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 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 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-01-21 16:18:48.432299"], ["updated_at", "2016-01-21 16:18:48.432299"]]  (0.0ms) 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 4' AND "pulitzer_content_elements"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:48.454689"], ["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.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" IS NULL) LIMIT 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-01-21 16:18:48.439889"], ["updated_at", "2016-01-21 16:18:48.439889"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:48.463616"], ["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.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.3ms) 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-01-21 16:18:48.444958"], ["updated_at", "2016-01-21 16:18:48.444958"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:18:48.476520"], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-21 16:18:48.478586"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (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-01-21 16:18:48.487191"], ["updated_at", "2016-01-21 16:18:48.487191"]]  (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-01-21 16:18:48.494531"], ["updated_at", "2016-01-21 16:18:48.494531"]]  (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", "2016-01-21 16:18:48.497011"], ["updated_at", "2016-01-21 16:18:48.497011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:48.499713"], ["updated_at", "2016-01-21 16:18:48.499713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-01-21 16:18:48.501047"], ["updated_at", "2016-01-21 16:18:48.501047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:48.503309"], ["updated_at", "2016-01-21 16:18:48.503309"]]  (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", "2016-01-21 16:18:48.504770"], ["updated_at", "2016-01-21 16:18:48.504770"]]  (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", "2016-01-21 16:18:48.509872"], ["updated_at", "2016-01-21 16:18:48.509872"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:48.511566"], ["updated_at", "2016-01-21 16:18:48.511566"]]  (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", "2016-01-21 16:18:48.519393"], ["updated_at", "2016-01-21 16:18:48.519393"]]  (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", "2016-01-21 16:18:48.524587"], ["updated_at", "2016-01-21 16:18:48.524587"]]  (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", "2016-01-21 16:18:48.529096"], ["updated_at", "2016-01-21 16:18:48.529096"]]  (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]]  (2.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-01-21 16:18:48.539919"], ["updated_at", "2016-01-21 16:18:48.539919"]]  (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-01-21 16:18:48.542817"], ["updated_at", "2016-01-21 16:18:48.542817"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:18:48.544880"], ["updated_at", "2016-01-21 16:18:48.544880"]]  (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-01-21 16:18:48.546333"], ["updated_at", "2016-01-21 16:18:48.546333"]]  (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 10' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-01-21 16:18:48.549142"], ["updated_at", "2016-01-21 16:18:48.549142"]]  (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" = 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 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-01-21 16:18:48.551508"], ["updated_at", "2016-01-21 16:18:48.551508"]]  (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-01-21 16:18:48.554675"], ["updated_at", "2016-01-21 16:18:48.554675"]]  (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" = 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 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-01-21 16:18:48.556791"], ["updated_at", "2016-01-21 16:18:48.556791"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:18:48.559512"], ["updated_at", "2016-01-21 16:18:48.559512"]]  (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" = 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 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-01-21 16:18:48.561607"], ["updated_at", "2016-01-21 16:18:48.561607"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-01-21 16:19:07.998241"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) 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 13' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-21 16:19:08.031780"], ["updated_at", "2016-01-21 16:19:08.031780"]]  (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 10' 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 14' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-01-21 16:19:08.038053"], ["updated_at", "2016-01-21 16:19:08.038053"]]  (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 15' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-21 16:19:08.047993"], ["updated_at", "2016-01-21 16:19:08.047993"]]  (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", "2016-01-21 16:19:08.054754"], ["updated_at", "2016-01-21 16:19:08.054754"]]  (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.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) 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 16' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-21 16:19:08.073498"], ["updated_at", "2016-01-21 16:19:08.073498"]]  (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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-21 16:19:08.079855"], ["updated_at", "2016-01-21 16:19:08.079855"]]  (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.2ms) 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-01-21 16:19:08.084940"], ["updated_at", "2016-01-21 16:19:08.084940"]]  (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", "2016-01-21 16:19:08.090573"], ["updated_at", "2016-01-21 16:19:08.090573"]]  (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 16' 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 16"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-21 16:19:08.093463"], ["updated_at", "2016-01-21 16:19:08.093463"]]  (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) 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-01-21 16:19:08.101053"], ["updated_at", "2016-01-21 16:19:08.101053"]]  (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 17' 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 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-21 16:19:08.104064"], ["updated_at", "2016-01-21 16:19:08.104064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.7ms) 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-01-21 16:19:08.113387"], ["updated_at", "2016-01-21 16:19:08.113387"]]  (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 20' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-21 16:19:08.119597"], ["updated_at", "2016-01-21 16:19:08.119597"]]  (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" = 'Image' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-21 16:19:08.127344"], ["updated_at", "2016-01-21 16:19:08.127344"]]  (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", "2016-01-21 16:19:08.248502"], ["updated_at", "2016-01-21 16:19:08.248502"]]  (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-5"]]  (0.4ms) rollback transaction  (0.5ms) 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.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:19:08.266455"], ["updated_at", "2016-01-21 16:19:08.266455"]]  (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-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", "2016-01-21 16:19:08.271297"], ["updated_at", "2016-01-21 16:19:08.271297"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:19:08.274532"], ["updated_at", "2016-01-21 16:19:08.274532"]]  (0.1ms) RELEASE 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 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:19:08.280263"], ["updated_at", "2016-01-21 16:19:08.280263"]]  (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-01-21 16:19:08.285767"], ["updated_at", "2016-01-21 16:19:08.285767"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:19:08.288456"], ["updated_at", "2016-01-21 16:19:08.288456"]]  (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.4ms) 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-01-21 16:19:08.291592"], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.3ms) 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.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-21 16:19:08.312582"], ["updated_at", "2016-01-21 16:19:08.312582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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-01-21 16:19:08.317631"], ["updated_at", "2016-01-21 16:19:08.317631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]] SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-21 16:19:08.320792"], ["updated_at", "2016-01-21 16:19:08.320792"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:19:08.322445"], ["updated_at", "2016-01-21 16:19:08.322445"]]  (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-01-21 16:19:08.324009"], ["updated_at", "2016-01-21 16:19:08.324009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.2ms) 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.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-01-21 16:19:08.352222"], ["updated_at", "2016-01-21 16:19:08.352222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-21 16:19:08.355650"], ["updated_at", "2016-01-21 16:19:08.355650"]]  (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.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) 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.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.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.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", "2016-01-21 16:19:08.407208"], ["updated_at", "2016-01-21 16:19:08.407208"]]  (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.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", "2016-01-21 16:19:08.429519"], ["updated_at", "2016-01-21 16:19:08.429519"]]  (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.3ms) 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-01-21 16:19:08.433031"], ["updated_at", "2016-01-21 16:19:08.433031"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:19:08.435242"], ["updated_at", "2016-01-21 16:19:08.435242"]]  (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.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.2ms) 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.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) DELETE FROM "pulitzer_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_content_element_types';  (0.8ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.8ms) DELETE FROM "pulitzer_tags";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';  (0.7ms) DELETE FROM "pulitzer_post_type_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';  (0.7ms) DELETE FROM "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.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", "2016-01-21 16:20:20.581653"], ["updated_at", "2016-01-21 16:20:20.581653"]]  (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-01-21 16:20:20.697734"], ["updated_at", "2016-01-21 16:20:20.697734"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:20:20.706009"], ["updated_at", "2016-01-21 16:20:20.706009"]]  (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-01-21 16:20:20.708550"], ["updated_at", "2016-01-21 16:20:20.708550"]]  (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-01-21 16:20:20.723738"], ["updated_at", "2016-01-21 16:20:20.723738"]]  (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", "2016-01-21 16:20:20.727495"], ["updated_at", "2016-01-21 16:20:20.727495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:20:20.730916"], ["updated_at", "2016-01-21 16:20:20.730916"]]  (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", "2016-01-21 16:20:20.733042"], ["updated_at", "2016-01-21 16:20:20.733042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:20:20.735741"], ["updated_at", "2016-01-21 16:20:20.735741"]]  (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", "2016-01-21 16:20:20.737804"], ["updated_at", "2016-01-21 16:20:20.737804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-21 16:20:20.742152"], ["updated_at", "2016-01-21 16:20:20.742152"]]  (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]] 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 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", "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-01-21 16:20:20.727495"], ["updated_at", "2016-01-21 16:20:20.727495"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:20:20.751034"], ["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 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" IS NULL) LIMIT 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-01-21 16:20:20.733042"], ["updated_at", "2016-01-21 16:20:20.733042"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:20:20.757244"], ["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.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" IS NULL) LIMIT 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-01-21 16:20:20.737804"], ["updated_at", "2016-01-21 16:20:20.737804"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:20:20.762968"], ["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-01-21 16:20:20.766125"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.3ms) 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-01-21 16:20:20.773593"], ["updated_at", "2016-01-21 16:20:20.773593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.0ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]] SQL (0.4ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-01-21 16:20:20.776162"], ["updated_at", "2016-01-21 16:20:20.776162"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:20:20.778273"], ["updated_at", "2016-01-21 16:20:20.778273"]]  (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-01-21 16:20:20.780183"], ["updated_at", "2016-01-21 16:20:20.780183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:20:20.782816"], ["updated_at", "2016-01-21 16:20:20.782816"]]  (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", "2016-01-21 16:20:20.785059"], ["updated_at", "2016-01-21 16:20:20.785059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-01-21 16:20:20.787744"], ["updated_at", "2016-01-21 16:20:20.787744"]]  (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", "2016-01-21 16:20:20.789655"], ["updated_at", "2016-01-21 16:20:20.789655"]]  (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", "2016-01-21 16:20:20.792743"], ["updated_at", "2016-01-21 16:20:20.792743"]]  (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", "2016-01-21 16:20:20.794937"], ["updated_at", "2016-01-21 16:20:20.794937"]]  (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-01-21 16:20:20.796983"], ["updated_at", "2016-01-21 16:20:20.796983"]]  (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]] 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 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 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-01-21 16:20:20.785059"], ["updated_at", "2016-01-21 16:20:20.785059"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:20:20.803569"], ["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 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.2ms) 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-01-21 16:20:20.789655"], ["updated_at", "2016-01-21 16:20:20.789655"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:20:20.811206"], ["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 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.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-01-21 16:20:20.794937"], ["updated_at", "2016-01-21 16:20:20.794937"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:20:20.817238"], ["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-01-21 16:20:20.819194"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (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-01-21 16:20:20.827637"], ["updated_at", "2016-01-21 16:20:20.827637"]]  (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", "2016-01-21 16:20:20.835701"], ["updated_at", "2016-01-21 16:20:20.835701"]]  (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-01-21 16:20:20.838268"], ["updated_at", "2016-01-21 16:20:20.838268"]]  (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", "2016-01-21 16:20:20.841249"], ["updated_at", "2016-01-21 16:20:20.841249"]]  (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-01-21 16:20:20.843464"], ["updated_at", "2016-01-21 16:20:20.843464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:20:20.846066"], ["updated_at", "2016-01-21 16:20:20.846066"]]  (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", "2016-01-21 16:20:20.847442"], ["updated_at", "2016-01-21 16:20:20.847442"]]  (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", "2016-01-21 16:20:20.852048"], ["updated_at", "2016-01-21 16:20:20.852048"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:20:20.853788"], ["updated_at", "2016-01-21 16:20:20.853788"]]  (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", "2016-01-21 16:20:20.862600"], ["updated_at", "2016-01-21 16:20:20.862600"]]  (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", "2016-01-21 16:20:20.868028"], ["updated_at", "2016-01-21 16:20:20.868028"]]  (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", "2016-01-21 16:20:20.872543"], ["updated_at", "2016-01-21 16:20:20.872543"]]  (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) 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-01-21 16:20:20.880858"], ["updated_at", "2016-01-21 16:20:20.880858"]]  (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-01-21 16:20:20.883515"], ["updated_at", "2016-01-21 16:20:20.883515"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:20:20.885448"], ["updated_at", "2016-01-21 16:20:20.885448"]]  (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-01-21 16:20:20.887170"], ["updated_at", "2016-01-21 16:20:20.887170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:20:20.890100"], ["updated_at", "2016-01-21 16:20:20.890100"]]  (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" = 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 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-01-21 16:20:20.892248"], ["updated_at", "2016-01-21 16:20:20.892248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:20:20.894926"], ["updated_at", "2016-01-21 16:20:20.894926"]]  (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" = 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 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-01-21 16:20:20.896920"], ["updated_at", "2016-01-21 16:20:20.896920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:20:20.899424"], ["updated_at", "2016-01-21 16:20:20.899424"]]  (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 9' 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 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-01-21 16:20:20.901820"], ["updated_at", "2016-01-21 16:20:20.901820"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-01-21 16:20:20.904534"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 2e2a1548-cc68-46b1-b80b-e58cb7ccabad) 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] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-21 16:20:20.912096"], ["updated_at", "2016-01-21 16:20:20.912096"]] [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] 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] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] 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] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] 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-01-21 16:20:20.892248"], ["updated_at", "2016-01-21 16:20:20.892248"]] [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] 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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:20:20.920382"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] 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] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] 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-01-21 16:20:20.896920"], ["updated_at", "2016-01-21 16:20:20.896920"]] [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] 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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:20:20.926850"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] 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] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] 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-01-21 16:20:20.901820"], ["updated_at", "2016-01-21 16:20:20.901820"]] [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] 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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:20:20.932849"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] 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] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-21 16:20:20.935006"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [2e2a1548-cc68-46b1-b80b-e58cb7ccabad] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.37ms Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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.0ms) SELECT "pulitzer_versions".* FROM "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.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) SAVEPOINT 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", "2016-01-21 16:20:20.947876"], ["updated_at", "2016-01-21 16:20:20.947876"]]  (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 10' 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 14' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-01-21 16:20:20.953863"], ["updated_at", "2016-01-21 16:20:20.953863"]]  (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.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 15' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-21 16:20:20.962960"], ["updated_at", "2016-01-21 16:20:20.962960"]]  (0.1ms) 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", "2016-01-21 16:20:20.971724"], ["updated_at", "2016-01-21 16:20:20.971724"]]  (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.3ms) 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.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.0ms) SAVEPOINT 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-01-21 16:20:20.989997"], ["updated_at", "2016-01-21 16:20:20.989997"]]  (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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-21 16:20:20.996418"], ["updated_at", "2016-01-21 16:20:20.996418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-21 16:20:21.001618"], ["updated_at", "2016-01-21 16:20:21.001618"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-21 16:20:21.007667"], ["updated_at", "2016-01-21 16:20:21.007667"]]  (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 16' 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 16"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-21 16:20:21.010068"], ["updated_at", "2016-01-21 16:20:21.010068"]]  (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 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", "2016-01-21 16:20:21.015993"], ["updated_at", "2016-01-21 16:20:21.015993"]]  (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 17' 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 17"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-21 16:20:21.019103"], ["updated_at", "2016-01-21 16:20:21.019103"]]  (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.2ms) 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-01-21 16:20:21.025508"], ["updated_at", "2016-01-21 16:20:21.025508"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-21 16:20:21.031823"], ["updated_at", "2016-01-21 16:20:21.031823"]]  (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" = 'Image' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-21 16:20:21.038434"], ["updated_at", "2016-01-21 16:20:21.038434"]]  (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 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:20:21.165710"], ["updated_at", "2016-01-21 16:20:21.165710"]]  (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-5"]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.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) 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-01-21 16:20:21.182609"], ["updated_at", "2016-01-21 16:20:21.182609"]]  (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", "2016-01-21 16:20:21.186721"], ["updated_at", "2016-01-21 16:20:21.186721"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:20:21.188994"], ["updated_at", "2016-01-21 16:20:21.188994"]]  (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", "2016-01-21 16:20:21.195103"], ["updated_at", "2016-01-21 16:20:21.195103"]]  (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.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-01-21 16:20:21.198904"], ["updated_at", "2016-01-21 16:20:21.198904"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:20:21.204051"], ["updated_at", "2016-01-21 16:20:21.204051"]]  (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-01-21 16:20:21.207123"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) commit transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::Tag Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-21 16:20:21.225957"], ["updated_at", "2016-01-21 16:20:21.225957"]]  (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", "2016-01-21 16:20:21.233023"], ["updated_at", "2016-01-21 16:20:21.233023"]]  (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-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", "2016-01-21 16:20:21.236121"], ["updated_at", "2016-01-21 16:20:21.236121"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:20:21.238917"], ["updated_at", "2016-01-21 16:20:21.238917"]]  (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-01-21 16:20:21.241112"], ["updated_at", "2016-01-21 16:20:21.241112"]]  (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.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.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-01-21 16:20:21.285581"], ["updated_at", "2016-01-21 16:20:21.285581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-21 16:20:21.289104"], ["updated_at", "2016-01-21 16:20:21.289104"]]  (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) 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) rollback transaction  (0.0ms) begin transaction  (0.3ms) 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  (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.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.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  (0.0ms) commit transaction  (0.3ms) 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.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.4ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-21 16:20:21.344176"], ["updated_at", "2016-01-21 16:20:21.344176"]]  (0.1ms) 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) 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.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-01-21 16:20:21.368655"], ["updated_at", "2016-01-21 16:20:21.368655"]]  (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-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-01-21 16:20:21.372649"], ["updated_at", "2016-01-21 16:20:21.372649"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:20:21.375356"], ["updated_at", "2016-01-21 16:20:21.375356"]]  (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.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"  (1.6ms) DELETE FROM "pulitzer_content_element_types";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';  (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';  (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.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.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.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.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-01-21 16:31:09.758671"], ["updated_at", "2016-01-21 16:31:09.758671"]]  (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-01-21 16:31:09.872280"], ["updated_at", "2016-01-21 16:31:09.872280"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:31:09.879884"], ["updated_at", "2016-01-21 16:31:09.879884"]]  (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-01-21 16:31:09.882436"], ["updated_at", "2016-01-21 16:31:09.882436"]]  (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-01-21 16:31:09.894654"], ["updated_at", "2016-01-21 16:31:09.894654"]]  (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", "2016-01-21 16:31:09.897818"], ["updated_at", "2016-01-21 16:31:09.897818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:31:09.900632"], ["updated_at", "2016-01-21 16:31:09.900632"]]  (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", "2016-01-21 16:31:09.902702"], ["updated_at", "2016-01-21 16:31:09.902702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:31:09.905806"], ["updated_at", "2016-01-21 16:31:09.905806"]]  (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", "2016-01-21 16:31:09.907790"], ["updated_at", "2016-01-21 16:31:09.907790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-21 16:31:09.911765"], ["updated_at", "2016-01-21 16:31:09.911765"]]  (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]] 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 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", "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-01-21 16:31:09.897818"], ["updated_at", "2016-01-21 16:31:09.897818"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:31:09.920104"], ["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 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" IS NULL) LIMIT 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-01-21 16:31:09.902702"], ["updated_at", "2016-01-21 16:31:09.902702"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:31:09.926235"], ["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 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" IS NULL) LIMIT 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-01-21 16:31:09.907790"], ["updated_at", "2016-01-21 16:31:09.907790"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:31:09.932285"], ["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-01-21 16:31:09.935300"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.3ms) 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-01-21 16:31:09.942650"], ["updated_at", "2016-01-21 16:31:09.942650"]]  (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-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-01-21 16:31:09.945235"], ["updated_at", "2016-01-21 16:31:09.945235"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:31:09.947716"], ["updated_at", "2016-01-21 16:31:09.947716"]]  (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-01-21 16:31:09.949770"], ["updated_at", "2016-01-21 16:31:09.949770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", "2016-01-21 16:31:09.952641"], ["updated_at", "2016-01-21 16:31:09.952641"]]  (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", "2016-01-21 16:31:09.954708"], ["updated_at", "2016-01-21 16:31:09.954708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:31:09.957206"], ["updated_at", "2016-01-21 16:31:09.957206"]]  (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", "2016-01-21 16:31:09.959439"], ["updated_at", "2016-01-21 16:31:09.959439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:31:09.962324"], ["updated_at", "2016-01-21 16:31:09.962324"]]  (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", "2016-01-21 16:31:09.964770"], ["updated_at", "2016-01-21 16:31:09.964770"]]  (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-01-21 16:31:09.966653"], ["updated_at", "2016-01-21 16:31:09.966653"]]  (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]] 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 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 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-01-21 16:31:09.954708"], ["updated_at", "2016-01-21 16:31:09.954708"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:31:09.973082"], ["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 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.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-01-21 16:31:09.959439"], ["updated_at", "2016-01-21 16:31:09.959439"]]  (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 5' AND "pulitzer_content_elements"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:31:09.983598"], ["id", 5]]  (0.3ms) 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 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.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-01-21 16:31:09.964770"], ["updated_at", "2016-01-21 16:31:09.964770"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:31:09.994920"], ["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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-21 16:31:09.997721"], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:31:10.006677"], ["updated_at", "2016-01-21 16:31:10.006677"]]  (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-01-21 16:31:10.014039"], ["updated_at", "2016-01-21 16:31:10.014039"]]  (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", "2016-01-21 16:31:10.016395"], ["updated_at", "2016-01-21 16:31:10.016395"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:31:10.018883"], ["updated_at", "2016-01-21 16:31:10.018883"]]  (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-01-21 16:31:10.020323"], ["updated_at", "2016-01-21 16:31:10.020323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:31:10.022591"], ["updated_at", "2016-01-21 16:31:10.022591"]]  (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", "2016-01-21 16:31:10.023854"], ["updated_at", "2016-01-21 16:31:10.023854"]]  (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", "2016-01-21 16:31:10.028214"], ["updated_at", "2016-01-21 16:31:10.028214"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:31:10.029762"], ["updated_at", "2016-01-21 16:31:10.029762"]]  (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]]  (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", "2016-01-21 16:31:10.037765"], ["updated_at", "2016-01-21 16:31:10.037765"]]  (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", "2016-01-21 16:31:10.043356"], ["updated_at", "2016-01-21 16:31:10.043356"]]  (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.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", "2016-01-21 16:31:10.049023"], ["updated_at", "2016-01-21 16:31:10.049023"]]  (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.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:31:10.058682"], ["updated_at", "2016-01-21 16:31:10.058682"]]  (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-01-21 16:31:10.061276"], ["updated_at", "2016-01-21 16:31:10.061276"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:31:10.063145"], ["updated_at", "2016-01-21 16:31:10.063145"]]  (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-01-21 16:31:10.065054"], ["updated_at", "2016-01-21 16:31:10.065054"]]  (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 10' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-01-21 16:31:10.068426"], ["updated_at", "2016-01-21 16:31:10.068426"]]  (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" = 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 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-01-21 16:31:10.070616"], ["updated_at", "2016-01-21 16:31:10.070616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:31:10.073254"], ["updated_at", "2016-01-21 16:31:10.073254"]]  (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" = 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 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-01-21 16:31:10.075178"], ["updated_at", "2016-01-21 16:31:10.075178"]]  (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 12' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-01-21 16:31:10.077669"], ["updated_at", "2016-01-21 16:31:10.077669"]]  (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" = 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 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-01-21 16:31:10.079777"], ["updated_at", "2016-01-21 16:31:10.079777"]]  (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-01-21 16:31:10.081995"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: a75239df-e461-4443-bbe4-01b7020f4afa) 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] [a75239df-e461-4443-bbe4-01b7020f4afa] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-21 16:31:10.088329"], ["updated_at", "2016-01-21 16:31:10.088329"]] [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] 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] [a75239df-e461-4443-bbe4-01b7020f4afa] 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] [a75239df-e461-4443-bbe4-01b7020f4afa]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] 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-01-21 16:31:10.070616"], ["updated_at", "2016-01-21 16:31:10.070616"]] [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] 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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:31:10.096368"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] 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-01-21 16:31:10.075178"], ["updated_at", "2016-01-21 16:31:10.075178"]] [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] 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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:31:10.104301"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] 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] [a75239df-e461-4443-bbe4-01b7020f4afa]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] 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-01-21 16:31:10.079777"], ["updated_at", "2016-01-21 16:31:10.079777"]] [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] 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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:31:10.109485"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] 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] [a75239df-e461-4443-bbe4-01b7020f4afa]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-21 16:31:10.111194"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [a75239df-e461-4443-bbe4-01b7020f4afa] Performed Pulitzer::CloneVersionJob from Inline(default) in 25.41ms Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:31:10.120295"], ["updated_at", "2016-01-21 16:31:10.120295"]]  (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", "2016-01-21 16:31:10.122758"], ["updated_at", "2016-01-21 16:31:10.122758"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:31:10.124537"], ["updated_at", "2016-01-21 16:31:10.124537"]]  (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-01-21 16:31:10.126076"], ["updated_at", "2016-01-21 16:31:10.126076"]]  (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 13' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-21 16:31:10.129262"], ["updated_at", "2016-01-21 16:31:10.129262"]]  (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 10' 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 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-01-21 16:31:10.131950"], ["updated_at", "2016-01-21 16:31:10.131950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:31:10.134594"], ["updated_at", "2016-01-21 16:31:10.134594"]]  (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" = 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 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-01-21 16:31:10.136803"], ["updated_at", "2016-01-21 16:31:10.136803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:31:10.139499"], ["updated_at", "2016-01-21 16:31:10.139499"]]  (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" = 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 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-01-21 16:31:10.141548"], ["updated_at", "2016-01-21 16:31:10.141548"]]  (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-01-21 16:31:10.143555"], ["id", 2]]  (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) 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-01-21 16:31:10.151460"], ["updated_at", "2016-01-21 16:31:10.151460"]]  (0.0ms) 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 13' 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.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-21 16:31:10.157967"], ["updated_at", "2016-01-21 16:31:10.157967"]]  (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.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-21 16:31:10.168354"], ["updated_at", "2016-01-21 16:31:10.168354"]]  (0.1ms) 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", "2016-01-21 16:31:10.175782"], ["updated_at", "2016-01-21 16:31:10.175782"]]  (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.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.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 19' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-21 16:31:10.195762"], ["updated_at", "2016-01-21 16:31:10.195762"]]  (0.3ms) 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 20' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-21 16:31:10.202531"], ["updated_at", "2016-01-21 16:31:10.202531"]]  (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 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-01-21 16:31:10.208194"], ["updated_at", "2016-01-21 16:31:10.208194"]]  (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" = 'Video' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-21 16:31:10.213248"], ["updated_at", "2016-01-21 16:31:10.213248"]]  (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 19' 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 19"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-21 16:31:10.216003"], ["updated_at", "2016-01-21 16:31:10.216003"]]  (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", "2016-01-21 16:31:10.221914"], ["updated_at", "2016-01-21 16:31:10.221914"]]  (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 20' 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 20"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-21 16:31:10.224022"], ["updated_at", "2016-01-21 16:31:10.224022"]]  (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 22' LIMIT 1 SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-01-21 16:31:10.230002"], ["updated_at", "2016-01-21 16:31:10.230002"]]  (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 23' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-01-21 16:31:10.237464"], ["updated_at", "2016-01-21 16:31:10.237464"]]  (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-01-21 16:31:10.243153"], ["updated_at", "2016-01-21 16:31:10.243153"]]  (0.0ms) 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 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:31:10.374521"], ["updated_at", "2016-01-21 16:31:10.374521"]]  (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.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", "2016-01-21 16:31:10.387696"], ["updated_at", "2016-01-21 16:31:10.387696"]]  (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", "2016-01-21 16:31:10.393228"], ["updated_at", "2016-01-21 16:31:10.393228"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:31:10.395495"], ["updated_at", "2016-01-21 16:31:10.395495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) 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", "2016-01-21 16:31:10.405853"], ["updated_at", "2016-01-21 16:31:10.405853"]]  (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-01-21 16:31:10.409897"], ["updated_at", "2016-01-21 16:31:10.409897"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:31:10.411670"], ["updated_at", "2016-01-21 16:31:10.411670"]]  (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" != 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-01-21 16:31:10.414937"], ["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.2ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-21 16:31:10.444339"], ["updated_at", "2016-01-21 16:31:10.444339"]]  (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-01-21 16:31:10.450217"], ["updated_at", "2016-01-21 16:31:10.450217"]]  (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", "2016-01-21 16:31:10.453488"], ["updated_at", "2016-01-21 16:31:10.453488"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:31:10.455464"], ["updated_at", "2016-01-21 16:31:10.455464"]]  (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-01-21 16:31:10.458060"], ["updated_at", "2016-01-21 16:31:10.458060"]]  (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.2ms) 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.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-01-21 16:31:10.486454"], ["updated_at", "2016-01-21 16:31:10.486454"]]  (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 24' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-01-21 16:31:10.490450"], ["updated_at", "2016-01-21 16:31:10.490450"]]  (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.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.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.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.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.2ms) 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.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-21 16:31:10.553295"], ["updated_at", "2016-01-21 16:31:10.553295"]]  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) 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-01-21 16:31:10.570015"], ["updated_at", "2016-01-21 16:31:10.570015"]]  (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", "2016-01-21 16:31:10.572940"], ["updated_at", "2016-01-21 16:31:10.572940"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:31:10.574754"], ["updated_at", "2016-01-21 16:31:10.574754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.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.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"  (1.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.9ms) DELETE FROM "pulitzer_posts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';  (0.9ms) DELETE FROM "pulitzer_tags";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) 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';  (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.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.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", "2016-01-21 16:32:05.966414"], ["updated_at", "2016-01-21 16:32:05.966414"]]  (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-01-21 16:32:06.086628"], ["updated_at", "2016-01-21 16:32:06.086628"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:32:06.094838"], ["updated_at", "2016-01-21 16:32:06.094838"]]  (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-01-21 16:32:06.097809"], ["updated_at", "2016-01-21 16:32:06.097809"]]  (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 1' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", "2016-01-21 16:32:06.110759"], ["updated_at", "2016-01-21 16:32:06.110759"]]  (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", "2016-01-21 16:32:06.114212"], ["updated_at", "2016-01-21 16:32:06.114212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:32:06.117056"], ["updated_at", "2016-01-21 16:32:06.117056"]]  (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", "2016-01-21 16:32:06.119001"], ["updated_at", "2016-01-21 16:32:06.119001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:32:06.121905"], ["updated_at", "2016-01-21 16:32:06.121905"]]  (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", "2016-01-21 16:32:06.123849"], ["updated_at", "2016-01-21 16:32:06.123849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-21 16:32:06.127912"], ["updated_at", "2016-01-21 16:32:06.127912"]]  (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]] 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 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", "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-01-21 16:32:06.114212"], ["updated_at", "2016-01-21 16:32:06.114212"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:32:06.136883"], ["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 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" IS NULL) LIMIT 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-01-21 16:32:06.119001"], ["updated_at", "2016-01-21 16:32:06.119001"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:32:06.144001"], ["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 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" IS NULL) LIMIT 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-01-21 16:32:06.123849"], ["updated_at", "2016-01-21 16:32:06.123849"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:32:06.149400"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 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-01-21 16:32:06.152714"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:32:06.160422"], ["updated_at", "2016-01-21 16:32:06.160422"]]  (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.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-01-21 16:32:06.163339"], ["updated_at", "2016-01-21 16:32:06.163339"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:32:06.165247"], ["updated_at", "2016-01-21 16:32:06.165247"]]  (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-01-21 16:32:06.167436"], ["updated_at", "2016-01-21 16:32:06.167436"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:32:06.170158"], ["updated_at", "2016-01-21 16:32:06.170158"]]  (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", "2016-01-21 16:32:06.172154"], ["updated_at", "2016-01-21 16:32:06.172154"]]  (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", "2016-01-21 16:32:06.175142"], ["updated_at", "2016-01-21 16:32:06.175142"]]  (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.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", 2], ["created_at", "2016-01-21 16:32:06.177208"], ["updated_at", "2016-01-21 16:32:06.177208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:32:06.180307"], ["updated_at", "2016-01-21 16:32:06.180307"]]  (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", "2016-01-21 16:32:06.182618"], ["updated_at", "2016-01-21 16:32:06.182618"]]  (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-01-21 16:32:06.184763"], ["updated_at", "2016-01-21 16:32:06.184763"]]  (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]] 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 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 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-01-21 16:32:06.172154"], ["updated_at", "2016-01-21 16:32:06.172154"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:32:06.192072"], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElementType Load (2.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 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.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-01-21 16:32:06.177208"], ["updated_at", "2016-01-21 16:32:06.177208"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:32:06.201635"], ["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 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.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-01-21 16:32:06.182618"], ["updated_at", "2016-01-21 16:32:06.182618"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:32:06.206884"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-21 16:32:06.212042"], ["id", 3]]  (0.2ms) 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.0ms) 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.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:32:06.222928"], ["updated_at", "2016-01-21 16:32:06.222928"]]  (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.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-01-21 16:32:06.230930"], ["updated_at", "2016-01-21 16:32:06.230930"]]  (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", "2016-01-21 16:32:06.234199"], ["updated_at", "2016-01-21 16:32:06.234199"]]  (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", "2016-01-21 16:32:06.237420"], ["updated_at", "2016-01-21 16:32:06.237420"]]  (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-01-21 16:32:06.239045"], ["updated_at", "2016-01-21 16:32:06.239045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:32:06.241534"], ["updated_at", "2016-01-21 16:32:06.241534"]]  (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", "2016-01-21 16:32:06.242923"], ["updated_at", "2016-01-21 16:32:06.242923"]]  (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", "2016-01-21 16:32:06.247789"], ["updated_at", "2016-01-21 16:32:06.247789"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:32:06.249603"], ["updated_at", "2016-01-21 16:32:06.249603"]]  (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", "2016-01-21 16:32:06.258120"], ["updated_at", "2016-01-21 16:32:06.258120"]]  (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", "2016-01-21 16:32:06.263364"], ["updated_at", "2016-01-21 16:32:06.263364"]]  (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", "2016-01-21 16:32:06.267731"], ["updated_at", "2016-01-21 16:32:06.267731"]]  (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.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-01-21 16:32:06.276607"], ["updated_at", "2016-01-21 16:32:06.276607"]]  (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.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-01-21 16:32:06.280849"], ["updated_at", "2016-01-21 16:32:06.280849"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:32:06.283249"], ["updated_at", "2016-01-21 16:32:06.283249"]]  (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-01-21 16:32:06.284857"], ["updated_at", "2016-01-21 16:32:06.284857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:32:06.287496"], ["updated_at", "2016-01-21 16:32:06.287496"]]  (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" = 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 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-01-21 16:32:06.289571"], ["updated_at", "2016-01-21 16:32:06.289571"]]  (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 11' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-21 16:32:06.293966"], ["updated_at", "2016-01-21 16:32:06.293966"]]  (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" = 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 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-01-21 16:32:06.296593"], ["updated_at", "2016-01-21 16:32:06.296593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:32:06.299630"], ["updated_at", "2016-01-21 16:32:06.299630"]]  (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 9' 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 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-01-21 16:32:06.301810"], ["updated_at", "2016-01-21 16:32:06.301810"]]  (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-01-21 16:32:06.304048"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 63233040-9f60-42be-94ab-49004f437817) 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] [63233040-9f60-42be-94ab-49004f437817] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-21 16:32:06.311073"], ["updated_at", "2016-01-21 16:32:06.311073"]] [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] 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] [63233040-9f60-42be-94ab-49004f437817] 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] [63233040-9f60-42be-94ab-49004f437817]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] 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-01-21 16:32:06.289571"], ["updated_at", "2016-01-21 16:32:06.289571"]] [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] 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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:32:06.318019"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] 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] [63233040-9f60-42be-94ab-49004f437817]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] 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-01-21 16:32:06.296593"], ["updated_at", "2016-01-21 16:32:06.296593"]] [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] 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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:32:06.323693"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] 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]] [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] 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-01-21 16:32:06.301810"], ["updated_at", "2016-01-21 16:32:06.301810"]] [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] 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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:32:06.333101"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] 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] [63233040-9f60-42be-94ab-49004f437817]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-21 16:32:06.335053"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [63233040-9f60-42be-94ab-49004f437817] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.98ms Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* 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.0ms) SELECT "pulitzer_versions".* FROM "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", 3]]  (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-01-21 16:32:06.344839"], ["updated_at", "2016-01-21 16:32:06.344839"]]  (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", "2016-01-21 16:32:06.347609"], ["updated_at", "2016-01-21 16:32:06.347609"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:32:06.349485"], ["updated_at", "2016-01-21 16:32:06.349485"]]  (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-01-21 16:32:06.351202"], ["updated_at", "2016-01-21 16:32:06.351202"]]  (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-01-21 16:32:06.354600"], ["updated_at", "2016-01-21 16:32:06.354600"]]  (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 10' 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 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-01-21 16:32:06.357143"], ["updated_at", "2016-01-21 16:32:06.357143"]]  (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-01-21 16:32:06.360053"], ["updated_at", "2016-01-21 16:32:06.360053"]]  (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" = 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 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-01-21 16:32:06.362138"], ["updated_at", "2016-01-21 16:32:06.362138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:32:06.364948"], ["updated_at", "2016-01-21 16:32:06.364948"]]  (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" = 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 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-01-21 16:32:06.366899"], ["updated_at", "2016-01-21 16:32:06.366899"]]  (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-01-21 16:32:06.369116"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 0e37057f-b271-4f0b-a76b-6797d3352c60) 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] [0e37057f-b271-4f0b-a76b-6797d3352c60] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-21 16:32:06.372507"], ["updated_at", "2016-01-21 16:32:06.372507"]] [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] 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] [0e37057f-b271-4f0b-a76b-6797d3352c60] 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] [0e37057f-b271-4f0b-a76b-6797d3352c60]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 10' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] 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-01-21 16:32:06.357143"], ["updated_at", "2016-01-21 16:32:06.357143"]] [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 10' AND "pulitzer_content_elements"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:32:06.380694"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] 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] [0e37057f-b271-4f0b-a76b-6797d3352c60]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] 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-01-21 16:32:06.362138"], ["updated_at", "2016-01-21 16:32:06.362138"]] [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] 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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:32:06.386633"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] 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] [0e37057f-b271-4f0b-a76b-6797d3352c60]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] SQL (0.3ms) 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-01-21 16:32:06.366899"], ["updated_at", "2016-01-21 16:32:06.366899"]] [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] 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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:32:06.394219"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] 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] [0e37057f-b271-4f0b-a76b-6797d3352c60]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-21 16:32:06.396074"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0e37057f-b271-4f0b-a76b-6797d3352c60] Performed Pulitzer::CloneVersionJob from Inline(default) in 25.84ms Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? 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-01-21 16:32:06.400024"], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 4a71da84-c344-4ba5-be1a-7c86dddb83b8) 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] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-21 16:32:06.403271"], ["updated_at", "2016-01-21 16:32:06.403271"]] [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] 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] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] 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] [4a71da84-c344-4ba5-be1a-7c86dddb83b8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 10' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] 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-01-21 16:32:06.357143"], ["updated_at", "2016-01-21 16:32:06.357143"]] [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 10' AND "pulitzer_content_elements"."id" != 7 AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-21 16:32:06.409826"], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] 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] [4a71da84-c344-4ba5-be1a-7c86dddb83b8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] 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-01-21 16:32:06.362138"], ["updated_at", "2016-01-21 16:32:06.362138"]] [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] 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"."id" != 8 AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-21 16:32:06.415356"], ["id", 8]] [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] 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] [4a71da84-c344-4ba5-be1a-7c86dddb83b8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] 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-01-21 16:32:06.366899"], ["updated_at", "2016-01-21 16:32:06.366899"]] [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] 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"."id" != 9 AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-21 16:32:06.420981"], ["id", 9]] [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] 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] [4a71da84-c344-4ba5-be1a-7c86dddb83b8]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-21 16:32:06.423065"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [4a71da84-c344-4ba5-be1a-7c86dddb83b8] Performed Pulitzer::CloneVersionJob from Inline(default) in 22.0ms Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]  (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) SAVEPOINT 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-01-21 16:32:06.452033"], ["updated_at", "2016-01-21 16:32:06.452033"]]  (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 13' 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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-21 16:32:06.457640"], ["updated_at", "2016-01-21 16:32:06.457640"]]  (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.1ms) SAVEPOINT 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-01-21 16:32:06.467134"], ["updated_at", "2016-01-21 16:32:06.467134"]]  (0.1ms) 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", "2016-01-21 16:32:06.474476"], ["updated_at", "2016-01-21 16:32:06.474476"]]  (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.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) 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 19' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-21 16:32:06.504687"], ["updated_at", "2016-01-21 16:32:06.504687"]]  (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 20' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-21 16:32:06.509870"], ["updated_at", "2016-01-21 16:32:06.509870"]]  (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 21' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-21 16:32:06.515517"], ["updated_at", "2016-01-21 16:32:06.515517"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-21 16:32:06.521414"], ["updated_at", "2016-01-21 16:32:06.521414"]]  (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 19' 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 19"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-21 16:32:06.524625"], ["updated_at", "2016-01-21 16:32:06.524625"]]  (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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-21 16:32:06.532276"], ["updated_at", "2016-01-21 16:32:06.532276"]]  (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 20' 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 20"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-21 16:32:06.534786"], ["updated_at", "2016-01-21 16:32:06.534786"]]  (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 22' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-01-21 16:32:06.541067"], ["updated_at", "2016-01-21 16:32:06.541067"]]  (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 23' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-01-21 16:32:06.546793"], ["updated_at", "2016-01-21 16:32:06.546793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.2ms) 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-01-21 16:32:06.553000"], ["updated_at", "2016-01-21 16:32:06.553000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.4ms) 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-01-21 16:32:06.682473"], ["updated_at", "2016-01-21 16:32:06.682473"]]  (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.3ms) rollback transaction  (0.1ms) begin transaction  (0.5ms) commit transaction  (0.1ms) 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) 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-01-21 16:32:06.704500"], ["updated_at", "2016-01-21 16:32:06.704500"]]  (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.9ms) 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-01-21 16:32:06.708573"], ["updated_at", "2016-01-21 16:32:06.708573"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:32:06.716817"], ["updated_at", "2016-01-21 16:32:06.716817"]]  (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.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:32:06.722464"], ["updated_at", "2016-01-21 16:32:06.722464"]]  (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-01-21 16:32:06.726432"], ["updated_at", "2016-01-21 16:32:06.726432"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:32:06.728729"], ["updated_at", "2016-01-21 16:32:06.728729"]]  (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-01-21 16:32:06.732265"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.2ms) 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-01-21 16:32:06.747812"], ["updated_at", "2016-01-21 16:32:06.747812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:32:06.752135"], ["updated_at", "2016-01-21 16:32:06.752135"]]  (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-01-21 16:32:06.755232"], ["updated_at", "2016-01-21 16:32:06.755232"]] SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:32:06.757472"], ["updated_at", "2016-01-21 16:32:06.757472"]]  (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", 1], ["created_at", "2016-01-21 16:32:06.760221"], ["updated_at", "2016-01-21 16:32:06.760221"]]  (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.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) 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-01-21 16:32:06.788213"], ["updated_at", "2016-01-21 16:32:06.788213"]]  (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 24' LIMIT 1 SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-01-21 16:32:06.792036"], ["updated_at", "2016-01-21 16:32:06.792036"]]  (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.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.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.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) commit transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) 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) 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.2ms) 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", "2016-01-21 16:32:06.851972"], ["updated_at", "2016-01-21 16:32:06.851972"]]  (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.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.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-01-21 16:32:06.867225"], ["updated_at", "2016-01-21 16:32:06.867225"]]  (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-01-21 16:32:06.870634"], ["updated_at", "2016-01-21 16:32:06.870634"]] SQL (0.6ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:32:06.873469"], ["updated_at", "2016-01-21 16:32:06.873469"]]  (0.3ms) 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.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 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.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.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.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.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-01-21 16:33:09.429801"], ["updated_at", "2016-01-21 16:33:09.429801"]]  (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", "2016-01-21 16:33:09.544576"], ["updated_at", "2016-01-21 16:33:09.544576"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:33:09.552943"], ["updated_at", "2016-01-21 16:33:09.552943"]]  (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-01-21 16:33:09.555108"], ["updated_at", "2016-01-21 16:33:09.555108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:33:09.567559"], ["updated_at", "2016-01-21 16:33:09.567559"]]  (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", "2016-01-21 16:33:09.571796"], ["updated_at", "2016-01-21 16:33:09.571796"]]  (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", "2016-01-21 16:33:09.575741"], ["updated_at", "2016-01-21 16:33:09.575741"]]  (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", "2016-01-21 16:33:09.577965"], ["updated_at", "2016-01-21 16:33:09.577965"]]  (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-01-21 16:33:09.580767"], ["updated_at", "2016-01-21 16:33:09.580767"]]  (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", "2016-01-21 16:33:09.582835"], ["updated_at", "2016-01-21 16:33:09.582835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-21 16:33:09.586891"], ["updated_at", "2016-01-21 16:33:09.586891"]]  (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 [["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 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", "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-01-21 16:33:09.571796"], ["updated_at", "2016-01-21 16:33:09.571796"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:33:09.598592"], ["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 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" IS NULL) LIMIT 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-01-21 16:33:09.577965"], ["updated_at", "2016-01-21 16:33:09.577965"]]  (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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:33:09.605346"], ["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 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" IS NULL) LIMIT 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-01-21 16:33:09.582835"], ["updated_at", "2016-01-21 16:33:09.582835"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:33:09.610842"], ["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-01-21 16:33:09.613839"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:33:09.622329"], ["updated_at", "2016-01-21 16:33:09.622329"]]  (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.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-01-21 16:33:09.625297"], ["updated_at", "2016-01-21 16:33:09.625297"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:33:09.627866"], ["updated_at", "2016-01-21 16:33:09.627866"]]  (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-01-21 16:33:09.629557"], ["updated_at", "2016-01-21 16:33:09.629557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:33:09.632215"], ["updated_at", "2016-01-21 16:33:09.632215"]]  (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 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", "2016-01-21 16:33:09.634168"], ["updated_at", "2016-01-21 16:33:09.634168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:33:09.636675"], ["updated_at", "2016-01-21 16:33:09.636675"]]  (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", "2016-01-21 16:33:09.638963"], ["updated_at", "2016-01-21 16:33:09.638963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:33:09.641774"], ["updated_at", "2016-01-21 16:33:09.641774"]]  (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", "2016-01-21 16:33:09.643676"], ["updated_at", "2016-01-21 16:33:09.643676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-21 16:33:09.645431"], ["updated_at", "2016-01-21 16:33:09.645431"]]  (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]] 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 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 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-01-21 16:33:09.634168"], ["updated_at", "2016-01-21 16:33:09.634168"]]  (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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:33:09.652342"], ["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 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.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-01-21 16:33:09.638963"], ["updated_at", "2016-01-21 16:33:09.638963"]]  (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 5' AND "pulitzer_content_elements"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:33:09.658680"], ["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 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.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-01-21 16:33:09.643676"], ["updated_at", "2016-01-21 16:33:09.643676"]]  (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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:33:09.664346"], ["id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-21 16:33:09.666073"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1 [["version_id", 3]] Pulitzer::ContentElementType Load (0.0ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]  (1.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-01-21 16:33:09.675363"], ["updated_at", "2016-01-21 16:33:09.675363"]]  (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-01-21 16:33:09.682725"], ["updated_at", "2016-01-21 16:33:09.682725"]]  (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-01-21 16:33:09.684992"], ["updated_at", "2016-01-21 16:33:09.684992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:33:09.687484"], ["updated_at", "2016-01-21 16:33:09.687484"]]  (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-01-21 16:33:09.689177"], ["updated_at", "2016-01-21 16:33:09.689177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1 SQL (0.0ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-01-21 16:33:09.691497"], ["updated_at", "2016-01-21 16:33:09.691497"]]  (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-01-21 16:33:09.692766"], ["updated_at", "2016-01-21 16:33:09.692766"]]  (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-01-21 16:33:09.697526"], ["updated_at", "2016-01-21 16:33:09.697526"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:33:09.699186"], ["updated_at", "2016-01-21 16:33:09.699186"]]  (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", "2016-01-21 16:33:09.708182"], ["updated_at", "2016-01-21 16:33:09.708182"]]  (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", "2016-01-21 16:33:09.713418"], ["updated_at", "2016-01-21 16:33:09.713418"]]  (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", "2016-01-21 16:33:09.717629"], ["updated_at", "2016-01-21 16:33:09.717629"]]  (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.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-01-21 16:33:09.726494"], ["updated_at", "2016-01-21 16:33:09.726494"]]  (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-01-21 16:33:09.729102"], ["updated_at", "2016-01-21 16:33:09.729102"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:33:09.730864"], ["updated_at", "2016-01-21 16:33:09.730864"]]  (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-01-21 16:33:09.732654"], ["updated_at", "2016-01-21 16:33:09.732654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:33:09.735216"], ["updated_at", "2016-01-21 16:33:09.735216"]]  (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" = 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 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-01-21 16:33:09.737168"], ["updated_at", "2016-01-21 16:33:09.737168"]]  (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 11' LIMIT 1 SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-21 16:33:09.741436"], ["updated_at", "2016-01-21 16:33:09.741436"]]  (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" = 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 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-01-21 16:33:09.743882"], ["updated_at", "2016-01-21 16:33:09.743882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:33:09.746859"], ["updated_at", "2016-01-21 16:33:09.746859"]]  (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 9' 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 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-01-21 16:33:09.749012"], ["updated_at", "2016-01-21 16:33:09.749012"]]  (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.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-01-21 16:33:09.751633"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 5cc87f5b-8539-4e3a-b008-3505c66c769d) 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] [5cc87f5b-8539-4e3a-b008-3505c66c769d] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-21 16:33:09.758169"], ["updated_at", "2016-01-21 16:33:09.758169"]] [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] 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] [5cc87f5b-8539-4e3a-b008-3505c66c769d] 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] [5cc87f5b-8539-4e3a-b008-3505c66c769d]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] 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-01-21 16:33:09.737168"], ["updated_at", "2016-01-21 16:33:09.737168"]] [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] 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"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:33:09.766268"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] 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] [5cc87f5b-8539-4e3a-b008-3505c66c769d]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] 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-01-21 16:33:09.743882"], ["updated_at", "2016-01-21 16:33:09.743882"]] [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] 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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:33:09.774077"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] 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] [5cc87f5b-8539-4e3a-b008-3505c66c769d]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] 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-01-21 16:33:09.749012"], ["updated_at", "2016-01-21 16:33:09.749012"]] [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] 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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:33:09.780206"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] 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] [5cc87f5b-8539-4e3a-b008-3505c66c769d]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-21 16:33:09.782029"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [5cc87f5b-8539-4e3a-b008-3505c66c769d] Performed Pulitzer::CloneVersionJob from Inline(default) in 27.05ms Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* 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.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:33:09.791739"], ["updated_at", "2016-01-21 16:33:09.791739"]]  (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-01-21 16:33:09.794294"], ["updated_at", "2016-01-21 16:33:09.794294"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:33:09.796021"], ["updated_at", "2016-01-21 16:33:09.796021"]]  (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-01-21 16:33:09.797371"], ["updated_at", "2016-01-21 16:33:09.797371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:33:09.800530"], ["updated_at", "2016-01-21 16:33:09.800530"]]  (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 10' 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 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-01-21 16:33:09.802784"], ["updated_at", "2016-01-21 16:33:09.802784"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:33:09.805352"], ["updated_at", "2016-01-21 16:33:09.805352"]]  (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" = 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 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-01-21 16:33:09.807216"], ["updated_at", "2016-01-21 16:33:09.807216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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-01-21 16:33:09.809777"], ["updated_at", "2016-01-21 16:33:09.809777"]]  (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" = 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 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-01-21 16:33:09.811593"], ["updated_at", "2016-01-21 16:33:09.811593"]]  (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-01-21 16:33:09.814115"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: ca07b2e7-33d5-4d53-a597-211e4ca37814) 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] [ca07b2e7-33d5-4d53-a597-211e4ca37814] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-21 16:33:09.817347"], ["updated_at", "2016-01-21 16:33:09.817347"]] [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] 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] [ca07b2e7-33d5-4d53-a597-211e4ca37814] 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] [ca07b2e7-33d5-4d53-a597-211e4ca37814]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 10' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] 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-01-21 16:33:09.802784"], ["updated_at", "2016-01-21 16:33:09.802784"]] [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 10' AND "pulitzer_content_elements"."id" != 4 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:33:09.825021"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] 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] [ca07b2e7-33d5-4d53-a597-211e4ca37814]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] 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-01-21 16:33:09.807216"], ["updated_at", "2016-01-21 16:33:09.807216"]] [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] 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"."id" != 5 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:33:09.831423"], ["id", 5]] [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] 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] [ca07b2e7-33d5-4d53-a597-211e4ca37814]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] 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-01-21 16:33:09.811593"], ["updated_at", "2016-01-21 16:33:09.811593"]] [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] 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"."id" != 6 AND "pulitzer_content_elements"."version_id" = 3) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-21 16:33:09.837308"], ["id", 6]] [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814]  (0.4ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] 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] [ca07b2e7-33d5-4d53-a597-211e4ca37814]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-21 16:33:09.841457"], ["id", 3]] [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [ca07b2e7-33d5-4d53-a597-211e4ca37814] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.72ms Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Post Load (0.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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-01-21 16:33:09.846114"], ["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 0216f4c6-9c56-4244-a104-7213b7c696cd) 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] [0216f4c6-9c56-4244-a104-7213b7c696cd] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]] [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-21 16:33:09.849250"], ["updated_at", "2016-01-21 16:33:09.849250"]] [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] 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] [0216f4c6-9c56-4244-a104-7213b7c696cd] 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] [0216f4c6-9c56-4244-a104-7213b7c696cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 10' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] 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-01-21 16:33:09.802784"], ["updated_at", "2016-01-21 16:33:09.802784"]] [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd]  (0.1ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] Pulitzer::ContentElement Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'Slide 1 content element 10' AND "pulitzer_content_elements"."id" != 7 AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-21 16:33:09.856559"], ["id", 7]] [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] 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] [0216f4c6-9c56-4244-a104-7213b7c696cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] 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-01-21 16:33:09.807216"], ["updated_at", "2016-01-21 16:33:09.807216"]] [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] 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"."id" != 8 AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-21 16:33:09.862173"], ["id", 8]] [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] 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] [0216f4c6-9c56-4244-a104-7213b7c696cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] 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 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] 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-01-21 16:33:09.811593"], ["updated_at", "2016-01-21 16:33:09.811593"]] [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd]  (0.0ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] 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"."id" != 9 AND "pulitzer_content_elements"."version_id" = 4) LIMIT 1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] SQL (0.0ms) UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-21 16:33:09.867171"], ["id", 9]] [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] 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] [0216f4c6-9c56-4244-a104-7213b7c696cd]  (0.1ms) SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] SQL (0.0ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-21 16:33:09.868876"], ["id", 4]] [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd]  (0.0ms) RELEASE SAVEPOINT active_record_1 [ActiveJob] [Pulitzer::CloneVersionJob] [0216f4c6-9c56-4244-a104-7213b7c696cd] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.79ms Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]] Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]  (0.0ms) SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]]  (0.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 16' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-21 16:33:09.880101"], ["updated_at", "2016-01-21 16:33:09.880101"]]  (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 13' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 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 17' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-21 16:33:09.886315"], ["updated_at", "2016-01-21 16:33:09.886315"]]  (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 18' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-21 16:33:09.895496"], ["updated_at", "2016-01-21 16:33:09.895496"]]  (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", "2016-01-21 16:33:09.902715"], ["updated_at", "2016-01-21 16:33:09.902715"]]  (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.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.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 19' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-21 16:33:09.920993"], ["updated_at", "2016-01-21 16:33:09.920993"]]  (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::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-01-21 16:33:09.927387"], ["updated_at", "2016-01-21 16:33:09.927387"]]  (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 21' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-21 16:33:09.932318"], ["updated_at", "2016-01-21 16:33:09.932318"]]  (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" = 'Video' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-21 16:33:09.938311"], ["updated_at", "2016-01-21 16:33:09.938311"]]  (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 19' 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 19"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-21 16:33:09.940971"], ["updated_at", "2016-01-21 16:33:09.940971"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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" = 'Video' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-21 16:33:09.959421"], ["updated_at", "2016-01-21 16:33:09.959421"]]  (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 20' 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 20"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-21 16:33:09.962475"], ["updated_at", "2016-01-21 16:33:09.962475"]]  (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 22' LIMIT 1 SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-01-21 16:33:09.969383"], ["updated_at", "2016-01-21 16:33:09.969383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.2ms) 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 23' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-01-21 16:33:09.975379"], ["updated_at", "2016-01-21 16:33:09.975379"]]  (0.1ms) 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", "2016-01-21 16:33:09.981958"], ["updated_at", "2016-01-21 16:33:09.981958"]]  (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 SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:33:10.111071"], ["updated_at", "2016-01-21 16:33:10.111071"]]  (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.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) 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-01-21 16:33:10.130482"], ["updated_at", "2016-01-21 16:33:10.130482"]]  (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", "2016-01-21 16:33:10.134848"], ["updated_at", "2016-01-21 16:33:10.134848"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:33:10.137464"], ["updated_at", "2016-01-21 16:33:10.137464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) 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-01-21 16:33:10.148575"], ["updated_at", "2016-01-21 16:33:10.148575"]]  (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-01-21 16:33:10.152253"], ["updated_at", "2016-01-21 16:33:10.152253"]] SQL (0.3ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:33:10.154276"], ["updated_at", "2016-01-21 16:33:10.154276"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Pulitzer::Post Exists (0.5ms) 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-01-21 16:33:10.160878"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.3ms) 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-01-21 16:33:10.176293"], ["updated_at", "2016-01-21 16:33:10.176293"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-21 16:33:10.180632"], ["updated_at", "2016-01-21 16:33:10.180632"]]  (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-01-21 16:33:10.183639"], ["updated_at", "2016-01-21 16:33:10.183639"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:33:10.186572"], ["updated_at", "2016-01-21 16:33:10.186572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:33:10.188597"], ["updated_at", "2016-01-21 16:33:10.188597"]]  (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.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) 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  (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-01-21 16:33:10.216202"], ["updated_at", "2016-01-21 16:33:10.216202"]]  (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 24' LIMIT 1 SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-01-21 16:33:10.220296"], ["updated_at", "2016-01-21 16:33:10.220296"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.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.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.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.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.3ms) commit transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) 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 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.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-01-21 16:33:10.283837"], ["updated_at", "2016-01-21 16:33:10.283837"]]  (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.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", "2016-01-21 16:33:10.297183"], ["updated_at", "2016-01-21 16:33:10.297183"]]  (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.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-01-21 16:33:10.299950"], ["updated_at", "2016-01-21 16:33:10.299950"]] SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-21 16:33:10.302861"], ["updated_at", "2016-01-21 16:33:10.302861"]]  (0.1ms) 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.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.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