spec/dummy/log/test.log in pulitzer-0.2.2 vs spec/dummy/log/test.log in pulitzer-0.3.0
- old
+ new
@@ -14152,5 +14152,7579 @@
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m commit transaction
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.3ms)[0m DELETE FROM "pulitzer_content_element_types";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
+ [1m[36m (1.6ms)[0m [1mDELETE FROM "pulitzer_posts";[0m
+ [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
+ [1m[35m (1.2ms)[0m DELETE FROM "pulitzer_tags";
+ [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
+ [1m[36m (1.0ms)[0m [1mDELETE FROM "pulitzer_post_type_content_element_types";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
+ [1m[35m (1.1ms)[0m DELETE FROM "search_locations";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'search_locations';
+ [1m[36m (1.2ms)[0m [1mDELETE FROM "pulitzer_versions";[0m
+ [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_versions';[0m
+ [1m[35m (0.9ms)[0m DELETE FROM "pulitzer_content_elements";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
+ [1m[36m (1.1ms)[0m [1mDELETE FROM "pulitzer_post_tags";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
+ [1m[35m (1.2ms)[0m DELETE FROM "pulitzer_post_types";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:32:01.331568"], ["updated_at", "2016-01-25 16:32:01.331568"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-01-25 16:32:01.455497"], ["updated_at", "2016-01-25 16:32:01.455497"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:32:01.463163"], ["updated_at", "2016-01-25 16:32:01.463163"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:32:01.465652"], ["updated_at", "2016-01-25 16:32:01.465652"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", "2016-01-25 16:32:01.477850"], ["updated_at", "2016-01-25 16:32:01.477850"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.480976"], ["updated_at", "2016-01-25 16:32:01.480976"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 2"], ["created_at", "2016-01-25 16:32:01.484648"], ["updated_at", "2016-01-25 16:32:01.484648"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.486923"], ["updated_at", "2016-01-25 16:32:01.486923"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", "2016-01-25 16:32:01.489569"], ["updated_at", "2016-01-25 16:32:01.489569"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.491421"], ["updated_at", "2016-01-25 16:32:01.491421"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 2]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:32:01.496441"], ["updated_at", "2016-01-25 16:32:01.496441"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.480976"], ["updated_at", "2016-01-25 16:32:01.480976"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:32:01.506103"], ["id", 4]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:32:01.486923"], ["updated_at", "2016-01-25 16:32:01.486923"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:32:01.514036"], ["id", 5]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.491421"], ["updated_at", "2016-01-25 16:32:01.491421"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:32:01.520267"], ["id", 6]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:32:01.523924"], ["id", 3]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:32:01.531542"], ["updated_at", "2016-01-25 16:32:01.531542"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-01-25 16:32:01.534619"], ["updated_at", "2016-01-25 16:32:01.534619"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:32:01.537093"], ["updated_at", "2016-01-25 16:32:01.537093"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:32:01.539009"], ["updated_at", "2016-01-25 16:32:01.539009"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", "2016-01-25 16:32:01.541861"], ["updated_at", "2016-01-25 16:32:01.541861"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.543952"], ["updated_at", "2016-01-25 16:32:01.543952"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 5"], ["created_at", "2016-01-25 16:32:01.546578"], ["updated_at", "2016-01-25 16:32:01.546578"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.548582"], ["updated_at", "2016-01-25 16:32:01.548582"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", "2016-01-25 16:32:01.551358"], ["updated_at", "2016-01-25 16:32:01.551358"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.554663"], ["updated_at", "2016-01-25 16:32:01.554663"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:32:01.556936"], ["updated_at", "2016-01-25 16:32:01.556936"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Load (0.1ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:32:01.543952"], ["updated_at", "2016-01-25 16:32:01.543952"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:32:01.565304"], ["id", 4]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.548582"], ["updated_at", "2016-01-25 16:32:01.548582"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:32:01.572135"], ["id", 5]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:32:01.554663"], ["updated_at", "2016-01-25 16:32:01.554663"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:32:01.577330"], ["id", 6]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:32:01.579079"], ["id", 3]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Load (0.1ms)[0m 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]]
+ [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:32:01.587663"], ["updated_at", "2016-01-25 16:32:01.587663"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 7"], ["created_at", "2016-01-25 16:32:01.596740"], ["updated_at", "2016-01-25 16:32:01.596740"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "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-25 16:32:01.599417"], ["updated_at", "2016-01-25 16:32:01.599417"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-01-25 16:32:01.602093"], ["updated_at", "2016-01-25 16:32:01.602093"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-01-25 16:32:01.603745"], ["updated_at", "2016-01-25 16:32:01.603745"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 9"], ["created_at", "2016-01-25 16:32:01.606079"], ["updated_at", "2016-01-25 16:32:01.606079"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "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-25 16:32:01.607568"], ["updated_at", "2016-01-25 16:32:01.607568"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-01-25 16:32:01.612661"], ["updated_at", "2016-01-25 16:32:01.612661"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:32:01.614353"], ["updated_at", "2016-01-25 16:32:01.614353"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mPulitzer::PostTypeContentElementType Load (0.2ms)[0m SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_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]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.624271"], ["updated_at", "2016-01-25 16:32:01.624271"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.629290"], ["updated_at", "2016-01-25 16:32:01.629290"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.633661"], ["updated_at", "2016-01-25 16:32:01.633661"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:32:01.641676"], ["updated_at", "2016-01-25 16:32:01.641676"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-4"]]
+ [1m[35mSQL (0.3ms)[0m 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-25 16:32:01.644556"], ["updated_at", "2016-01-25 16:32:01.644556"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:32:01.646613"], ["updated_at", "2016-01-25 16:32:01.646613"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:32:01.648454"], ["updated_at", "2016-01-25 16:32:01.648454"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-01-25 16:32:01.651930"], ["updated_at", "2016-01-25 16:32:01.651930"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:32:01.655376"], ["updated_at", "2016-01-25 16:32:01.655376"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-25 16:32:01.658699"], ["updated_at", "2016-01-25 16:32:01.658699"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:32:01.660723"], ["updated_at", "2016-01-25 16:32:01.660723"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-01-25 16:32:01.663562"], ["updated_at", "2016-01-25 16:32:01.663562"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:32:01.665793"], ["updated_at", "2016-01-25 16:32:01.665793"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-01-25 16:32:01.668207"], ["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: e2741775-6bda-4b7d-9378-517a595fed8c) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36mPulitzer::Post Load (0.1ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:32:01.675084"], ["updated_at", "2016-01-25 16:32:01.675084"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.655376"], ["updated_at", "2016-01-25 16:32:01.655376"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:32:01.682592"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35mSQL (0.1ms)[0m 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-25 16:32:01.660723"], ["updated_at", "2016-01-25 16:32:01.660723"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:32:01.689018"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.665793"], ["updated_at", "2016-01-25 16:32:01.665793"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:32:01.694172"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:32:01.695942"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e2741775-6bda-4b7d-9378-517a595fed8c] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.17ms
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:32:01.705343"], ["updated_at", "2016-01-25 16:32:01.705343"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-01-25 16:32:01.707903"], ["updated_at", "2016-01-25 16:32:01.707903"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:32:01.709706"], ["updated_at", "2016-01-25 16:32:01.709706"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:32:01.711072"], ["updated_at", "2016-01-25 16:32:01.711072"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 13"], ["created_at", "2016-01-25 16:32:01.714309"], ["updated_at", "2016-01-25 16:32:01.714309"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.716370"], ["updated_at", "2016-01-25 16:32:01.716370"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 14"], ["created_at", "2016-01-25 16:32:01.719560"], ["updated_at", "2016-01-25 16:32:01.719560"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.721619"], ["updated_at", "2016-01-25 16:32:01.721619"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 15"], ["created_at", "2016-01-25 16:32:01.724616"], ["updated_at", "2016-01-25 16:32:01.724616"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.726833"], ["updated_at", "2016-01-25 16:32:01.726833"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 1], ["updated_at", "2016-01-25 16:32:01.729271"], ["id", 2]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: cf4af7b3-e945-43f3-b563-496f455479a6) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:32:01.732527"], ["updated_at", "2016-01-25 16:32:01.732527"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35mPulitzer::ContentElement Load (0.0ms)[0m 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] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35mSQL (0.1ms)[0m 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-25 16:32:01.716370"], ["updated_at", "2016-01-25 16:32:01.716370"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:32:01.740070"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.721619"], ["updated_at", "2016-01-25 16:32:01.721619"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:32:01.745872"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35mSQL (0.1ms)[0m 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-25 16:32:01.726833"], ["updated_at", "2016-01-25 16:32:01.726833"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:32:01.752428"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35mPulitzer::PostTag Load (0.1ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:32:01.756059"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [cf4af7b3-e945-43f3-b563-496f455479a6] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.42ms
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-01-25 16:32:01.760606"], ["id", 3]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 6d85d10e-9468-4b71-b93c-1020a3b9ade9) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:32:01.763423"], ["updated_at", "2016-01-25 16:32:01.763423"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.716370"], ["updated_at", "2016-01-25 16:32:01.716370"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-25 16:32:01.769985"], ["id", 7]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35mSQL (0.1ms)[0m 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-25 16:32:01.721619"], ["updated_at", "2016-01-25 16:32:01.721619"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-25 16:32:01.776085"], ["id", 8]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:32:01.726833"], ["updated_at", "2016-01-25 16:32:01.726833"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-25 16:32:01.782488"], ["id", 9]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:32:01.784832"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d85d10e-9468-4b71-b93c-1020a3b9ade9] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.16ms
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 4]]
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-25 16:32:01.797992"], ["updated_at", "2016-01-25 16:32:01.797992"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 17"], ["created_at", "2016-01-25 16:32:01.803573"], ["updated_at", "2016-01-25 16:32:01.803573"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-25 16:32:01.823274"], ["updated_at", "2016-01-25 16:32:01.823274"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Load (0.1ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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-25 16:32:01.832678"], ["updated_at", "2016-01-25 16:32:01.832678"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1[0m
+ [1m[35mPulitzer::ContentElement Load (0.1ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-25 16:32:01.853394"], ["updated_at", "2016-01-25 16:32:01.853394"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-25 16:32:01.858649"], ["updated_at", "2016-01-25 16:32:01.858649"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-25 16:32:01.864447"], ["updated_at", "2016-01-25 16:32:01.864447"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-25 16:32:01.871334"], ["updated_at", "2016-01-25 16:32:01.871334"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.3ms)[0m 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-25 16:32:01.873891"], ["updated_at", "2016-01-25 16:32:01.873891"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-25 16:32:01.881513"], ["updated_at", "2016-01-25 16:32:01.881513"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.4ms)[0m 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-25 16:32:01.883923"], ["updated_at", "2016-01-25 16:32:01.883923"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-01-25 16:32:01.890711"], ["updated_at", "2016-01-25 16:32:01.890711"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-01-25 16:32:01.895902"], ["updated_at", "2016-01-25 16:32:01.895902"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-25 16:32:01.902982"], ["updated_at", "2016-01-25 16:32:01.902982"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:32:02.083815"], ["updated_at", "2016-01-25 16:32:02.083815"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-6"]]
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:32:02.098003"], ["updated_at", "2016-01-25 16:32:02.098003"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-01-25 16:32:02.100855"], ["updated_at", "2016-01-25 16:32:02.100855"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:32:02.104532"], ["updated_at", "2016-01-25 16:32:02.104532"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:32:02.110271"], ["updated_at", "2016-01-25 16:32:02.110271"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-25 16:32:02.113709"], ["updated_at", "2016-01-25 16:32:02.113709"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:32:02.117040"], ["updated_at", "2016-01-25 16:32:02.117040"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "the-new-king-in-the-north"]]
+ [1m[35mSQL (0.2ms)[0m 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-25 16:32:02.121843"], ["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-25 16:32:02.134915"], ["updated_at", "2016-01-25 16:32:02.134915"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:32:02.139493"], ["updated_at", "2016-01-25 16:32:02.139493"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-01-25 16:32:02.142722"], ["updated_at", "2016-01-25 16:32:02.142722"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:32:02.144687"], ["updated_at", "2016-01-25 16:32:02.144687"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:32:02.146406"], ["updated_at", "2016-01-25 16:32:02.146406"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:32:02.179042"], ["updated_at", "2016-01-25 16:32:02.179042"]]
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-01-25 16:32:02.184353"], ["updated_at", "2016-01-25 16:32:02.184353"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mPulitzer::Tag Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Load (0.1ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-25 16:32:02.245461"], ["updated_at", "2016-01-25 16:32:02.245461"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.3ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:32:02.263856"], ["updated_at", "2016-01-25 16:32:02.263856"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]]
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-01-25 16:32:02.267256"], ["updated_at", "2016-01-25 16:32:02.267256"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:32:02.269473"], ["updated_at", "2016-01-25 16:32:02.269473"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.7ms)[0m DELETE FROM "pulitzer_content_element_types";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
+ [1m[36m (0.7ms)[0m [1mDELETE FROM "pulitzer_posts";[0m
+ [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
+ [1m[35m (0.7ms)[0m DELETE FROM "pulitzer_tags";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
+ [1m[36m (0.8ms)[0m [1mDELETE FROM "pulitzer_post_type_content_element_types";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
+ [1m[35m (0.7ms)[0m DELETE FROM "search_locations";
+ [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'search_locations';
+ [1m[36m (0.9ms)[0m [1mDELETE FROM "pulitzer_versions";[0m
+ [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_versions';[0m
+ [1m[35m (0.8ms)[0m DELETE FROM "pulitzer_content_elements";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
+ [1m[36m (0.8ms)[0m [1mDELETE FROM "pulitzer_post_tags";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
+ [1m[35m (0.8ms)[0m DELETE FROM "pulitzer_post_types";
+ [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:34:10.065906"], ["updated_at", "2016-01-25 16:34:10.065906"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-01-25 16:34:10.186048"], ["updated_at", "2016-01-25 16:34:10.186048"]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:34:10.195403"], ["updated_at", "2016-01-25 16:34:10.195403"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:34:10.197970"], ["updated_at", "2016-01-25 16:34:10.197970"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", "2016-01-25 16:34:10.211253"], ["updated_at", "2016-01-25 16:34:10.211253"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.214501"], ["updated_at", "2016-01-25 16:34:10.214501"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 2"], ["created_at", "2016-01-25 16:34:10.217627"], ["updated_at", "2016-01-25 16:34:10.217627"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.219537"], ["updated_at", "2016-01-25 16:34:10.219537"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", "2016-01-25 16:34:10.222110"], ["updated_at", "2016-01-25 16:34:10.222110"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.224460"], ["updated_at", "2016-01-25 16:34:10.224460"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:34:10.229027"], ["updated_at", "2016-01-25 16:34:10.229027"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.214501"], ["updated_at", "2016-01-25 16:34:10.214501"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.2ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:34:10.238152"], ["id", 4]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:34:10.219537"], ["updated_at", "2016-01-25 16:34:10.219537"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:34:10.244614"], ["id", 5]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.224460"], ["updated_at", "2016-01-25 16:34:10.224460"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:34:10.250023"], ["id", 6]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:34:10.253071"], ["id", 3]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
+ [1m[35m (1.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:34:10.261370"], ["updated_at", "2016-01-25 16:34:10.261370"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-01-25 16:34:10.264310"], ["updated_at", "2016-01-25 16:34:10.264310"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:34:10.266727"], ["updated_at", "2016-01-25 16:34:10.266727"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:34:10.268427"], ["updated_at", "2016-01-25 16:34:10.268427"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", "2016-01-25 16:34:10.271609"], ["updated_at", "2016-01-25 16:34:10.271609"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.274288"], ["updated_at", "2016-01-25 16:34:10.274288"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 5"], ["created_at", "2016-01-25 16:34:10.277086"], ["updated_at", "2016-01-25 16:34:10.277086"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.278919"], ["updated_at", "2016-01-25 16:34:10.278919"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", "2016-01-25 16:34:10.281456"], ["updated_at", "2016-01-25 16:34:10.281456"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.283338"], ["updated_at", "2016-01-25 16:34:10.283338"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:34:10.285683"], ["updated_at", "2016-01-25 16:34:10.285683"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Load (0.0ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:34:10.274288"], ["updated_at", "2016-01-25 16:34:10.274288"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:34:10.293376"], ["id", 4]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.278919"], ["updated_at", "2016-01-25 16:34:10.278919"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:34:10.299493"], ["id", 5]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:34:10.283338"], ["updated_at", "2016-01-25 16:34:10.283338"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.2ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:34:10.306424"], ["id", 6]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:34:10.309006"], ["id", 3]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Load (0.1ms)[0m 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]]
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:34:10.316147"], ["updated_at", "2016-01-25 16:34:10.316147"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 7"], ["created_at", "2016-01-25 16:34:10.323533"], ["updated_at", "2016-01-25 16:34:10.323533"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "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-25 16:34:10.326470"], ["updated_at", "2016-01-25 16:34:10.326470"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-01-25 16:34:10.329100"], ["updated_at", "2016-01-25 16:34:10.329100"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-01-25 16:34:10.330675"], ["updated_at", "2016-01-25 16:34:10.330675"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 9"], ["created_at", "2016-01-25 16:34:10.333349"], ["updated_at", "2016-01-25 16:34:10.333349"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m INSERT INTO "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-25 16:34:10.334697"], ["updated_at", "2016-01-25 16:34:10.334697"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-01-25 16:34:10.339149"], ["updated_at", "2016-01-25 16:34:10.339149"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:34:10.341208"], ["updated_at", "2016-01-25 16:34:10.341208"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mPulitzer::PostTypeContentElementType Load (0.1ms)[0m SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_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]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.349410"], ["updated_at", "2016-01-25 16:34:10.349410"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.355943"], ["updated_at", "2016-01-25 16:34:10.355943"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.360810"], ["updated_at", "2016-01-25 16:34:10.360810"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:34:10.368272"], ["updated_at", "2016-01-25 16:34:10.368272"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-4"]]
+ [1m[35mSQL (0.3ms)[0m 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-25 16:34:10.370886"], ["updated_at", "2016-01-25 16:34:10.370886"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:34:10.372834"], ["updated_at", "2016-01-25 16:34:10.372834"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:34:10.374249"], ["updated_at", "2016-01-25 16:34:10.374249"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-01-25 16:34:10.377564"], ["updated_at", "2016-01-25 16:34:10.377564"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:34:10.379691"], ["updated_at", "2016-01-25 16:34:10.379691"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-25 16:34:10.382301"], ["updated_at", "2016-01-25 16:34:10.382301"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:34:10.384250"], ["updated_at", "2016-01-25 16:34:10.384250"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-01-25 16:34:10.387016"], ["updated_at", "2016-01-25 16:34:10.387016"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:34:10.389591"], ["updated_at", "2016-01-25 16:34:10.389591"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-01-25 16:34:10.391870"], ["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: fd9c2481-31bc-4978-9f6d-8619f71ef5b6) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36mPulitzer::Post Load (0.1ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:34:10.397995"], ["updated_at", "2016-01-25 16:34:10.397995"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.379691"], ["updated_at", "2016-01-25 16:34:10.379691"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35mPulitzer::ContentElement Exists (0.3ms)[0m 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] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:34:10.406736"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35mSQL (0.1ms)[0m 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-25 16:34:10.384250"], ["updated_at", "2016-01-25 16:34:10.384250"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:34:10.412803"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.389591"], ["updated_at", "2016-01-25 16:34:10.389591"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:34:10.417994"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:34:10.419765"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [fd9c2481-31bc-4978-9f6d-8619f71ef5b6] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.56ms
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:34:10.429021"], ["updated_at", "2016-01-25 16:34:10.429021"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-01-25 16:34:10.431548"], ["updated_at", "2016-01-25 16:34:10.431548"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:34:10.433291"], ["updated_at", "2016-01-25 16:34:10.433291"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:34:10.435687"], ["updated_at", "2016-01-25 16:34:10.435687"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 13"], ["created_at", "2016-01-25 16:34:10.439020"], ["updated_at", "2016-01-25 16:34:10.439020"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.441233"], ["updated_at", "2016-01-25 16:34:10.441233"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 14"], ["created_at", "2016-01-25 16:34:10.443823"], ["updated_at", "2016-01-25 16:34:10.443823"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.445724"], ["updated_at", "2016-01-25 16:34:10.445724"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 15"], ["created_at", "2016-01-25 16:34:10.448522"], ["updated_at", "2016-01-25 16:34:10.448522"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.450394"], ["updated_at", "2016-01-25 16:34:10.450394"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 1], ["updated_at", "2016-01-25 16:34:10.452495"], ["id", 2]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:34:10.455503"], ["updated_at", "2016-01-25 16:34:10.455503"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35mPulitzer::ContentElement Load (0.1ms)[0m 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] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36mPulitzer::ContentElement Exists (0.2ms)[0m [1mSELECT 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[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35mSQL (0.1ms)[0m 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-25 16:34:10.441233"], ["updated_at", "2016-01-25 16:34:10.441233"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:34:10.464232"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.445724"], ["updated_at", "2016-01-25 16:34:10.445724"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:34:10.469578"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35mSQL (0.1ms)[0m 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-25 16:34:10.450394"], ["updated_at", "2016-01-25 16:34:10.450394"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:34:10.476703"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:34:10.478637"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7f9ae3d0-b268-46ed-acdd-5ab7ab94b0a7] Performed Pulitzer::CloneVersionJob from Inline(default) in 25.5ms
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-01-25 16:34:10.482740"], ["id", 3]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: c11c382c-577b-4522-b943-b120f4ae14e7) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:34:10.486006"], ["updated_at", "2016-01-25 16:34:10.486006"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.441233"], ["updated_at", "2016-01-25 16:34:10.441233"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-25 16:34:10.493156"], ["id", 7]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35mSQL (0.1ms)[0m 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-25 16:34:10.445724"], ["updated_at", "2016-01-25 16:34:10.445724"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-25 16:34:10.498586"], ["id", 8]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:34:10.450394"], ["updated_at", "2016-01-25 16:34:10.450394"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-25 16:34:10.503678"], ["id", 9]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:34:10.505626"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c11c382c-577b-4522-b943-b120f4ae14e7] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.84ms
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 4]]
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-25 16:34:10.518118"], ["updated_at", "2016-01-25 16:34:10.518118"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m 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
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 17"], ["created_at", "2016-01-25 16:34:10.524850"], ["updated_at", "2016-01-25 16:34:10.524850"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" IS NULL AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-25 16:34:10.533776"], ["updated_at", "2016-01-25 16:34:10.533776"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Load (0.1ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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-25 16:34:10.540420"], ["updated_at", "2016-01-25 16:34:10.540420"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'A' AND "pulitzer_content_elements"."version_id" IS NULL) LIMIT 1[0m
+ [1m[35mPulitzer::ContentElement Load (0.1ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_elements" WHERE ("pulitzer_content_elements"."label" = 'a' AND "pulitzer_content_elements"."version_id" = 0) LIMIT 1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-25 16:34:10.558747"], ["updated_at", "2016-01-25 16:34:10.558747"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-25 16:34:10.564501"], ["updated_at", "2016-01-25 16:34:10.564501"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-25 16:34:10.569533"], ["updated_at", "2016-01-25 16:34:10.569533"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-25 16:34:10.575954"], ["updated_at", "2016-01-25 16:34:10.575954"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.4ms)[0m 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-25 16:34:10.578566"], ["updated_at", "2016-01-25 16:34:10.578566"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-25 16:34:10.596329"], ["updated_at", "2016-01-25 16:34:10.596329"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElement Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mSQL (0.4ms)[0m 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-25 16:34:10.599068"], ["updated_at", "2016-01-25 16:34:10.599068"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-01-25 16:34:10.605652"], ["updated_at", "2016-01-25 16:34:10.605652"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-01-25 16:34:10.612155"], ["updated_at", "2016-01-25 16:34:10.612155"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-25 16:34:10.618376"], ["updated_at", "2016-01-25 16:34:10.618376"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:34:10.746027"], ["updated_at", "2016-01-25 16:34:10.746027"]]
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-6"]]
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:34:10.764530"], ["updated_at", "2016-01-25 16:34:10.764530"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-01-25 16:34:10.768765"], ["updated_at", "2016-01-25 16:34:10.768765"]]
+ [1m[35mSQL (2.3ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:34:10.772459"], ["updated_at", "2016-01-25 16:34:10.772459"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:34:10.781555"], ["updated_at", "2016-01-25 16:34:10.781555"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-25 16:34:10.784793"], ["updated_at", "2016-01-25 16:34:10.784793"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:34:10.787187"], ["updated_at", "2016-01-25 16:34:10.787187"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "the-new-king-in-the-north"]]
+ [1m[35mSQL (0.2ms)[0m 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-25 16:34:10.796124"], ["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-25 16:34:10.814050"], ["updated_at", "2016-01-25 16:34:10.814050"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:34:10.819423"], ["updated_at", "2016-01-25 16:34:10.819423"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-01-25 16:34:10.822839"], ["updated_at", "2016-01-25 16:34:10.822839"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:34:10.824746"], ["updated_at", "2016-01-25 16:34:10.824746"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:34:10.826711"], ["updated_at", "2016-01-25 16:34:10.826711"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:34:10.854526"], ["updated_at", "2016-01-25 16:34:10.854526"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-01-25 16:34:10.858275"], ["updated_at", "2016-01-25 16:34:10.858275"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Exists (0.3ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Load (0.5ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-25 16:34:10.917610"], ["updated_at", "2016-01-25 16:34:10.917610"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1
+ [1m[36mPulitzer::Tag Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:34:10.933453"], ["updated_at", "2016-01-25 16:34:10.933453"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-01-25 16:34:10.936875"], ["updated_at", "2016-01-25 16:34:10.936875"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:34:10.941113"], ["updated_at", "2016-01-25 16:34:10.941113"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36m (1.1ms)[0m [1mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (1.0ms)[0m 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)
+ [1m[36m (0.9ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.9ms)[0m 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)
+ [1m[36m (0.8ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.8ms)[0m 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)
+ [1m[36m (0.5ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")
+ [1m[36m (0.8ms)[0m [1mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.8ms)[0m 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)
+ [1m[36m (0.8ms)[0m [1mCREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
+ [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
+ [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151118031237')[0m
+ [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150901153531')
+ [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreatePulitzerPostTypes (20150618224344)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+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)
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreatePulitzerPostTypes (20150618224344)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+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)
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1m 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'
+[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36m (2.2ms)[0m [1mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (1.1ms)[0m 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)
+ [1m[36m (0.8ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.9ms)[0m 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)
+ [1m[36m (0.8ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.8ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")
+ [1m[36m (0.9ms)[0m [1mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.7ms)[0m 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)
+ [1m[36m (0.8ms)[0m [1mCREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
+ [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
+ [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151118031237')[0m
+ [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150901153531')
+ [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreatePulitzerContentElementTypes (20150618225402)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+SQLite3::SQLException: table "pulitzer_content_element_types" already exists: 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)
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreatePulitzerPosts (20150619204615)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mCREATE 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) [0m
+SQLite3::SQLException: table "pulitzer_posts" already exists: 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)
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreatePulitzerContentElements (20150619204708)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mCREATE 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) [0m
+SQLite3::SQLException: table "pulitzer_content_elements" already exists: 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)
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreatePulitzerTags (20150619213436)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+SQLite3::SQLException: table "pulitzer_tags" already exists: CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreatePulitzerPostTags (20150619213457)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mCREATE 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) [0m
+SQLite3::SQLException: table "pulitzer_post_tags" already exists: 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)
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreatePulitzerPostTags (20150619213457)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mCREATE 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) [0m
+SQLite3::SQLException: table "pulitzer_post_tags" already exists: 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)
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mCREATE 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) [0m
+SQLite3::SQLException: table "pulitzer_post_type_content_element_types" already exists: 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)
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mALTER TABLE "pulitzer_post_types" ADD "plural" boolean[0m
+SQLite3::SQLException: duplicate column name: plural: ALTER TABLE "pulitzer_post_types" ADD "plural" boolean
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to AddPulitzerContentElementTypes (20150702150819)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2016-01-25 16:52:21.942501"], ["updated_at", "2016-01-25 16:52:21.942501"]]
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1[0m
+ [1m[35mSQL (0.0ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-25 16:52:21.944531"], ["updated_at", "2016-01-25 16:52:21.944531"]]
+ [1m[36mPulitzer::ContentElementType Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1[0m
+ [1m[35mSQL (0.0ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-25 16:52:21.945715"], ["updated_at", "2016-01-25 16:52:21.945715"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150702150819"]]
+ [1m[35m (0.8ms)[0m commit transaction
+Migrating to AddSlugToPulitzerPosts (20150724150230)
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m ALTER TABLE "pulitzer_posts" ADD "slug" varchar
+SQLite3::SQLException: duplicate column name: slug: ALTER TABLE "pulitzer_posts" ADD "slug" varchar
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to AddSlugToPulitzerPosts (20150724150230)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mALTER TABLE "pulitzer_posts" ADD "slug" varchar[0m
+SQLite3::SQLException: duplicate column name: slug: ALTER TABLE "pulitzer_posts" ADD "slug" varchar
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.7ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.1ms)[0m SELECT * FROM "pulitzer_post_tags"
+ [1m[36m (0.2ms)[0m [1mDROP TABLE "pulitzer_post_tags"[0m
+ [1m[35m (0.1ms)[0m 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)
+ [1m[36m (0.0ms)[0m [1mSELECT * FROM "apulitzer_post_tags"[0m
+ [1m[35m (0.3ms)[0m DROP TABLE "apulitzer_post_tags"
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150902212741"]]
+ [1m[35m (1.2ms)[0m commit transaction
+Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
+SQLite3::SQLException: duplicate column name: text_editor: ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar[0m
+SQLite3::SQLException: duplicate column name: text_editor: ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar[0m
+SQLite3::SQLException: duplicate column name: text_editor: ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreatePulitzerVersions (20151029194354)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mCREATE 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) [0m
+SQLite3::SQLException: table "pulitzer_versions" already exists: 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)
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to ChangePostElementsToVersions (20151029220558)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar[0m
+SQLite3::SQLException: duplicate column name: text_editor: ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.5ms)[0m [1mCREATE 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, "kind" integer DEFAULT 0) [0m
+ [1m[35m (0.1ms)[0m SELECT * FROM "pulitzer_post_types"
+ [1m[36m (0.2ms)[0m [1mDROP TABLE "pulitzer_post_types"[0m
+ [1m[35m (0.1ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mSELECT * FROM "apulitzer_post_types"[0m
+ [1m[35m (0.4ms)[0m DROP TABLE "apulitzer_post_types"
+ [1m[36m (0.2ms)[0m [1mALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0[0m
+SQLite3::SQLException: duplicate column name: kind: ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to AddErrorsToVersion (20160122204201)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]
+ [1m[36m (1.3ms)[0m [1mcommit transaction[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1m 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'
+[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.7ms)[0m DELETE FROM "pulitzer_content_element_types";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.9ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
+ [1m[36m (1.0ms)[0m [1mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (1.0ms)[0m DELETE FROM "pulitzer_post_type_content_element_types";
+ [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
+ [1m[36m (0.9ms)[0m [1mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (0.8ms)[0m DELETE FROM "pulitzer_posts";
+ [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
+ [1m[36m (0.9ms)[0m [1mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (0.7ms)[0m DELETE FROM "pulitzer_versions";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
+ [1m[36m (0.8ms)[0m [1mDELETE FROM "search_locations";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'search_locations';[0m
+ [1m[35m (0.8ms)[0m DELETE FROM "pulitzer_post_tags";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:55:56.689709"], ["updated_at", "2016-01-25 16:55:56.689709"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-01-25 16:55:56.812202"], ["updated_at", "2016-01-25 16:55:56.812202"]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:55:56.820699"], ["updated_at", "2016-01-25 16:55:56.820699"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:55:56.823057"], ["updated_at", "2016-01-25 16:55:56.823057"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", "2016-01-25 16:55:56.835846"], ["updated_at", "2016-01-25 16:55:56.835846"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:55:56.838292"], ["updated_at", "2016-01-25 16:55:56.838292"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-01-25 16:55:56.841216"], ["updated_at", "2016-01-25 16:55:56.841216"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:55:56.843336"], ["updated_at", "2016-01-25 16:55:56.843336"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", "2016-01-25 16:55:56.846449"], ["updated_at", "2016-01-25 16:55:56.846449"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:55:56.847906"], ["updated_at", "2016-01-25 16:55:56.847906"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+ [1m[35m (1.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:55:56.858998"], ["updated_at", "2016-01-25 16:55:56.858998"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-01-25 16:55:56.861872"], ["updated_at", "2016-01-25 16:55:56.861872"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:55:56.863891"], ["updated_at", "2016-01-25 16:55:56.863891"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:55:56.865865"], ["updated_at", "2016-01-25 16:55:56.865865"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", "2016-01-25 16:55:56.868775"], ["updated_at", "2016-01-25 16:55:56.868775"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:55:56.870261"], ["updated_at", "2016-01-25 16:55:56.870261"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-01-25 16:55:56.873074"], ["updated_at", "2016-01-25 16:55:56.873074"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:55:56.875493"], ["updated_at", "2016-01-25 16:55:56.875493"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", "2016-01-25 16:55:56.878925"], ["updated_at", "2016-01-25 16:55:56.878925"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:55:56.880470"], ["updated_at", "2016-01-25 16:55:56.880470"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+ [1m[36m (0.8ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:55:56.887101"], ["updated_at", "2016-01-25 16:55:56.887101"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-01-25 16:55:56.894554"], ["updated_at", "2016-01-25 16:55:56.894554"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-01-25 16:55:56.897045"], ["updated_at", "2016-01-25 16:55:56.897045"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 8"], ["created_at", "2016-01-25 16:55:56.899562"], ["updated_at", "2016-01-25 16:55:56.899562"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "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-25 16:55:56.901122"], ["updated_at", "2016-01-25 16:55:56.901122"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1[0m
+ [1m[35mSQL (0.0ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-01-25 16:55:56.903618"], ["updated_at", "2016-01-25 16:55:56.903618"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-01-25 16:55:56.904851"], ["updated_at", "2016-01-25 16:55:56.904851"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-3"]]
+ [1m[35mSQL (0.1ms)[0m 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-25 16:55:56.909407"], ["updated_at", "2016-01-25 16:55:56.909407"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:55:56.911054"], ["updated_at", "2016-01-25 16:55:56.911054"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]
+ [1m[36mPulitzer::PostTypeContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC[0m [["post_type_id", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:55:56.921264"], ["updated_at", "2016-01-25 16:55:56.921264"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("version_id", "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-25 16:55:56.927688"], ["updated_at", "2016-01-25 16:55:56.927688"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:55:56.932321"], ["updated_at", "2016-01-25 16:55:56.932321"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:55:56.939978"], ["updated_at", "2016-01-25 16:55:56.939978"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-4"]]
+ [1m[35mSQL (0.3ms)[0m 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-25 16:55:56.942668"], ["updated_at", "2016-01-25 16:55:56.942668"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:55:56.944600"], ["updated_at", "2016-01-25 16:55:56.944600"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:55:56.947136"], ["updated_at", "2016-01-25 16:55:56.947136"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-01-25 16:55:56.950390"], ["updated_at", "2016-01-25 16:55:56.950390"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:55:56.951963"], ["updated_at", "2016-01-25 16:55:56.951963"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 11"], ["created_at", "2016-01-25 16:55:56.954547"], ["updated_at", "2016-01-25 16:55:56.954547"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:55:56.956255"], ["updated_at", "2016-01-25 16:55:56.956255"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-01-25 16:55:56.959655"], ["updated_at", "2016-01-25 16:55:56.959655"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:55:56.961308"], ["updated_at", "2016-01-25 16:55:56.961308"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 1], ["updated_at", "2016-01-25 16:55:56.963513"], ["id", 2]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:55:56.965802"], ["updated_at", "2016-01-25 16:55:56.965802"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: de1e3697-6174-4d23-bc00-cfbe993a9ce0) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[36mPulitzer::Post Load (0.1ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[35mSQL (0.1ms)[0m 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-25 16:55:56.951963"], ["updated_at", "2016-01-25 16:55:56.951963"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:55:56.978838"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:55:56.956255"], ["updated_at", "2016-01-25 16:55:56.956255"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:55:56.984549"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[35mSQL (0.1ms)[0m 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-25 16:55:56.961308"], ["updated_at", "2016-01-25 16:55:56.961308"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:55:56.989168"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:55:56.993118"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [de1e3697-6174-4d23-bc00-cfbe993a9ce0] Performed Pulitzer::CloneVersionJob from Inline(default) in 26.52ms
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:55:57.006521"], ["updated_at", "2016-01-25 16:55:57.006521"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-01-25 16:55:57.009782"], ["updated_at", "2016-01-25 16:55:57.009782"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:55:57.012017"], ["updated_at", "2016-01-25 16:55:57.012017"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:55:57.013765"], ["updated_at", "2016-01-25 16:55:57.013765"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 13"], ["created_at", "2016-01-25 16:55:57.017179"], ["updated_at", "2016-01-25 16:55:57.017179"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:55:57.018795"], ["updated_at", "2016-01-25 16:55:57.018795"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-01-25 16:55:57.021345"], ["updated_at", "2016-01-25 16:55:57.021345"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:55:57.022806"], ["updated_at", "2016-01-25 16:55:57.022806"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 15"], ["created_at", "2016-01-25 16:55:57.025504"], ["updated_at", "2016-01-25 16:55:57.025504"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:55:57.026937"], ["updated_at", "2016-01-25 16:55:57.026937"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-01-25 16:55:57.029266"], ["id", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:55:57.030960"], ["updated_at", "2016-01-25 16:55:57.030960"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: bd9098ae-6d06-401b-9505-d904283d4644) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[35mPulitzer::ContentElement Load (0.0ms)[0m 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] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:55:57.018795"], ["updated_at", "2016-01-25 16:55:57.018795"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:55:57.039964"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[35mSQL (0.1ms)[0m 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-25 16:55:57.022806"], ["updated_at", "2016-01-25 16:55:57.022806"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:55:57.044916"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:55:57.026937"], ["updated_at", "2016-01-25 16:55:57.026937"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:55:57.049372"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:55:57.051381"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [bd9098ae-6d06-401b-9505-d904283d4644] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.67ms
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-01-25 16:55:57.059296"], ["id", 3]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:55:57.061316"], ["updated_at", "2016-01-25 16:55:57.061316"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 2f557c96-aa8a-4a13-872d-ec4c43f44dc1) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[35mPulitzer::ContentElement Load (0.0ms)[0m 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] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:55:57.018795"], ["updated_at", "2016-01-25 16:55:57.018795"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-25 16:55:57.070014"], ["id", 7]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[35mSQL (0.1ms)[0m 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-25 16:55:57.022806"], ["updated_at", "2016-01-25 16:55:57.022806"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-25 16:55:57.076011"], ["id", 8]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:55:57.026937"], ["updated_at", "2016-01-25 16:55:57.026937"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-25 16:55:57.081732"], ["id", 9]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:55:57.083788"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [2f557c96-aa8a-4a13-872d-ec4c43f44dc1] Performed Pulitzer::CloneVersionJob from Inline(default) in 25.91ms
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]]
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 16"], ["created_at", "2016-01-25 16:55:57.102446"], ["updated_at", "2016-01-25 16:55:57.102446"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 17"], ["created_at", "2016-01-25 16:55:57.109279"], ["updated_at", "2016-01-25 16:55:57.109279"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 18"], ["created_at", "2016-01-25 16:55:57.137136"], ["updated_at", "2016-01-25 16:55:57.137136"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 19"], ["created_at", "2016-01-25 16:55:57.147878"], ["updated_at", "2016-01-25 16:55:57.147878"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 20"], ["created_at", "2016-01-25 16:55:57.152800"], ["updated_at", "2016-01-25 16:55:57.152800"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 21"], ["created_at", "2016-01-25 16:55:57.158769"], ["updated_at", "2016-01-25 16:55:57.158769"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", "2016-01-25 16:55:57.164454"], ["updated_at", "2016-01-25 16:55:57.164454"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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-25 16:55:57.166453"], ["updated_at", "2016-01-25 16:55:57.166453"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-25 16:55:57.172687"], ["updated_at", "2016-01-25 16:55:57.172687"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:55:57.174508"], ["updated_at", "2016-01-25 16:55:57.174508"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 22"], ["created_at", "2016-01-25 16:55:57.180898"], ["updated_at", "2016-01-25 16:55:57.180898"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 23"], ["created_at", "2016-01-25 16:55:57.186418"], ["updated_at", "2016-01-25 16:55:57.186418"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Image"], ["created_at", "2016-01-25 16:55:57.192421"], ["updated_at", "2016-01-25 16:55:57.192421"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.7ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:55:57.320660"], ["updated_at", "2016-01-25 16:55:57.320660"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (3.8ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:55:57.335967"], ["updated_at", "2016-01-25 16:55:57.335967"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-7"]]
+ [1m[35mSQL (0.3ms)[0m 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-25 16:55:57.346492"], ["updated_at", "2016-01-25 16:55:57.346492"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:55:57.348834"], ["updated_at", "2016-01-25 16:55:57.348834"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.8ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:55:57.354140"], ["updated_at", "2016-01-25 16:55:57.354140"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-8"]]
+ [1m[35mSQL (0.5ms)[0m 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-25 16:55:57.357539"], ["updated_at", "2016-01-25 16:55:57.357539"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:55:57.383463"], ["updated_at", "2016-01-25 16:55:57.383463"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m 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"]]
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ?[0m [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-01-25 16:55:57.387105"], ["id", 1]]
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 1"], ["created_at", "2016-01-25 16:55:57.400514"], ["updated_at", "2016-01-25 16:55:57.400514"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:55:57.405895"], ["updated_at", "2016-01-25 16:55:57.405895"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-9"]]
+ [1m[35mSQL (0.1ms)[0m 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-25 16:55:57.411139"], ["updated_at", "2016-01-25 16:55:57.411139"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:55:57.413627"], ["updated_at", "2016-01-25 16:55:57.413627"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:55:57.415770"], ["updated_at", "2016-01-25 16:55:57.415770"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.3ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:55:57.445217"], ["updated_at", "2016-01-25 16:55:57.445217"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 24"], ["created_at", "2016-01-25 16:55:57.450415"], ["updated_at", "2016-01-25 16:55:57.450415"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mPulitzer::Tag Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mPulitzer::Tag Load (0.4ms)[0m [1mSELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "a"], ["created_at", "2016-01-25 16:55:57.515557"], ["updated_at", "2016-01-25 16:55:57.515557"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:55:57.530792"], ["updated_at", "2016-01-25 16:55:57.530792"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-10"]]
+ [1m[35mSQL (0.5ms)[0m 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-25 16:55:57.534086"], ["updated_at", "2016-01-25 16:55:57.534086"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:55:57.537402"], ["updated_at", "2016-01-25 16:55:57.537402"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.3ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.7ms)[0m DELETE FROM "pulitzer_content_element_types";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
+ [1m[36m (0.9ms)[0m [1mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.9ms)[0m DELETE FROM "pulitzer_post_type_content_element_types";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
+ [1m[36m (0.7ms)[0m [1mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (0.7ms)[0m DELETE FROM "pulitzer_posts";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
+ [1m[36m (0.7ms)[0m [1mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (0.8ms)[0m DELETE FROM "pulitzer_versions";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
+ [1m[36m (0.7ms)[0m [1mDELETE FROM "search_locations";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'search_locations';[0m
+ [1m[35m (0.7ms)[0m DELETE FROM "pulitzer_post_tags";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:57:33.726588"], ["updated_at", "2016-01-25 16:57:33.726588"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-01-25 16:57:33.846681"], ["updated_at", "2016-01-25 16:57:33.846681"]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:57:33.855215"], ["updated_at", "2016-01-25 16:57:33.855215"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:57:33.857820"], ["updated_at", "2016-01-25 16:57:33.857820"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", "2016-01-25 16:57:33.869855"], ["updated_at", "2016-01-25 16:57:33.869855"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:57:33.872080"], ["updated_at", "2016-01-25 16:57:33.872080"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1[0m
+ [1m[35mSQL (0.0ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-01-25 16:57:33.874812"], ["updated_at", "2016-01-25 16:57:33.874812"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:57:33.876552"], ["updated_at", "2016-01-25 16:57:33.876552"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", "2016-01-25 16:57:33.879458"], ["updated_at", "2016-01-25 16:57:33.879458"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:57:33.881106"], ["updated_at", "2016-01-25 16:57:33.881106"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:57:33.885242"], ["updated_at", "2016-01-25 16:57:33.885242"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:57:33.872080"], ["updated_at", "2016-01-25 16:57:33.872080"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:57:33.894415"], ["id", 4]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:57:33.876552"], ["updated_at", "2016-01-25 16:57:33.876552"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:57:33.899805"], ["id", 5]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:57:33.881106"], ["updated_at", "2016-01-25 16:57:33.881106"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:57:33.904112"], ["id", 6]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:57:33.909258"], ["id", 3]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
+ [1m[35m (1.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:57:33.919544"], ["updated_at", "2016-01-25 16:57:33.919544"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-01-25 16:57:33.922039"], ["updated_at", "2016-01-25 16:57:33.922039"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:57:33.924692"], ["updated_at", "2016-01-25 16:57:33.924692"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:57:33.927144"], ["updated_at", "2016-01-25 16:57:33.927144"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", "2016-01-25 16:57:33.930426"], ["updated_at", "2016-01-25 16:57:33.930426"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:57:33.932196"], ["updated_at", "2016-01-25 16:57:33.932196"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-01-25 16:57:33.935073"], ["updated_at", "2016-01-25 16:57:33.935073"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:57:33.936571"], ["updated_at", "2016-01-25 16:57:33.936571"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", "2016-01-25 16:57:33.940010"], ["updated_at", "2016-01-25 16:57:33.940010"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:57:33.941791"], ["updated_at", "2016-01-25 16:57:33.941791"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:57:33.947495"], ["updated_at", "2016-01-25 16:57:33.947495"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-01-25 16:57:33.957363"], ["updated_at", "2016-01-25 16:57:33.957363"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-01-25 16:57:33.960215"], ["updated_at", "2016-01-25 16:57:33.960215"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 8"], ["created_at", "2016-01-25 16:57:33.963255"], ["updated_at", "2016-01-25 16:57:33.963255"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "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-25 16:57:33.964648"], ["updated_at", "2016-01-25 16:57:33.964648"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-01-25 16:57:33.966957"], ["updated_at", "2016-01-25 16:57:33.966957"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-01-25 16:57:33.968264"], ["updated_at", "2016-01-25 16:57:33.968264"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-3"]]
+ [1m[35mSQL (0.5ms)[0m 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-25 16:57:33.973786"], ["updated_at", "2016-01-25 16:57:33.973786"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:57:33.981782"], ["updated_at", "2016-01-25 16:57:33.981782"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]
+ [1m[36mPulitzer::PostTypeContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC[0m [["post_type_id", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:57:33.990838"], ["updated_at", "2016-01-25 16:57:33.990838"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("version_id", "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-25 16:57:33.995076"], ["updated_at", "2016-01-25 16:57:33.995076"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:57:34.001499"], ["updated_at", "2016-01-25 16:57:34.001499"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]
+ [1m[36m (0.8ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:57:34.011413"], ["updated_at", "2016-01-25 16:57:34.011413"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-4"]]
+ [1m[35mSQL (0.3ms)[0m 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-25 16:57:34.014115"], ["updated_at", "2016-01-25 16:57:34.014115"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:57:34.016159"], ["updated_at", "2016-01-25 16:57:34.016159"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:57:34.017905"], ["updated_at", "2016-01-25 16:57:34.017905"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-01-25 16:57:34.020732"], ["updated_at", "2016-01-25 16:57:34.020732"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:57:34.023274"], ["updated_at", "2016-01-25 16:57:34.023274"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 11"], ["created_at", "2016-01-25 16:57:34.026470"], ["updated_at", "2016-01-25 16:57:34.026470"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:57:34.028171"], ["updated_at", "2016-01-25 16:57:34.028171"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-01-25 16:57:34.031709"], ["updated_at", "2016-01-25 16:57:34.031709"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:57:34.033411"], ["updated_at", "2016-01-25 16:57:34.033411"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 1], ["updated_at", "2016-01-25 16:57:34.035686"], ["id", 2]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:57:34.037214"], ["updated_at", "2016-01-25 16:57:34.037214"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: aec79108-9dcb-4c5a-b92d-6185c68969ad) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[36mPulitzer::Post Load (0.1ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[35mSQL (0.1ms)[0m 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-25 16:57:34.023274"], ["updated_at", "2016-01-25 16:57:34.023274"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:57:34.050395"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:57:34.028171"], ["updated_at", "2016-01-25 16:57:34.028171"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:57:34.055046"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[35mSQL (0.1ms)[0m 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-25 16:57:34.033411"], ["updated_at", "2016-01-25 16:57:34.033411"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:57:34.062456"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:57:34.064671"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [aec79108-9dcb-4c5a-b92d-6185c68969ad] Performed Pulitzer::CloneVersionJob from Inline(default) in 25.21ms
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:57:34.078365"], ["updated_at", "2016-01-25 16:57:34.078365"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-01-25 16:57:34.081229"], ["updated_at", "2016-01-25 16:57:34.081229"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:57:34.083103"], ["updated_at", "2016-01-25 16:57:34.083103"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:57:34.085104"], ["updated_at", "2016-01-25 16:57:34.085104"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 13"], ["created_at", "2016-01-25 16:57:34.088171"], ["updated_at", "2016-01-25 16:57:34.088171"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:57:34.090012"], ["updated_at", "2016-01-25 16:57:34.090012"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-01-25 16:57:34.092822"], ["updated_at", "2016-01-25 16:57:34.092822"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:57:34.094511"], ["updated_at", "2016-01-25 16:57:34.094511"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 15"], ["created_at", "2016-01-25 16:57:34.097116"], ["updated_at", "2016-01-25 16:57:34.097116"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:57:34.098506"], ["updated_at", "2016-01-25 16:57:34.098506"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-01-25 16:57:34.101007"], ["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:57:34.102632"], ["updated_at", "2016-01-25 16:57:34.102632"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 4a1f3274-668b-4ff0-8c00-593f0a76f54c) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[35mPulitzer::ContentElement Load (0.0ms)[0m 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] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:57:34.090012"], ["updated_at", "2016-01-25 16:57:34.090012"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:57:34.110591"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[35mSQL (0.1ms)[0m 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-25 16:57:34.094511"], ["updated_at", "2016-01-25 16:57:34.094511"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:57:34.115842"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:57:34.098506"], ["updated_at", "2016-01-25 16:57:34.098506"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:57:34.120184"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:57:34.122080"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [4a1f3274-668b-4ff0-8c00-593f0a76f54c] Performed Pulitzer::CloneVersionJob from Inline(default) in 22.83ms
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-01-25 16:57:34.131399"], ["id", 3]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:57:34.132994"], ["updated_at", "2016-01-25 16:57:34.132994"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: bb7c96a5-b1a1-4422-9a12-2e158356baa6) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[35mPulitzer::ContentElement Load (0.0ms)[0m 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] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:57:34.090012"], ["updated_at", "2016-01-25 16:57:34.090012"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-25 16:57:34.141975"], ["id", 7]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[35mSQL (0.1ms)[0m 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-25 16:57:34.094511"], ["updated_at", "2016-01-25 16:57:34.094511"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-25 16:57:34.146791"], ["id", 8]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:57:34.098506"], ["updated_at", "2016-01-25 16:57:34.098506"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-25 16:57:34.151189"], ["id", 9]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:57:34.153055"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [bb7c96a5-b1a1-4422-9a12-2e158356baa6] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.92ms
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]]
+ [1m[36m (0.8ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 16"], ["created_at", "2016-01-25 16:57:34.168659"], ["updated_at", "2016-01-25 16:57:34.168659"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 17"], ["created_at", "2016-01-25 16:57:34.174617"], ["updated_at", "2016-01-25 16:57:34.174617"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 18"], ["created_at", "2016-01-25 16:57:34.194946"], ["updated_at", "2016-01-25 16:57:34.194946"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 19"], ["created_at", "2016-01-25 16:57:34.208660"], ["updated_at", "2016-01-25 16:57:34.208660"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 20"], ["created_at", "2016-01-25 16:57:34.213471"], ["updated_at", "2016-01-25 16:57:34.213471"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 21"], ["created_at", "2016-01-25 16:57:34.219200"], ["updated_at", "2016-01-25 16:57:34.219200"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", "2016-01-25 16:57:34.225589"], ["updated_at", "2016-01-25 16:57:34.225589"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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-25 16:57:34.227545"], ["updated_at", "2016-01-25 16:57:34.227545"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-25 16:57:34.233865"], ["updated_at", "2016-01-25 16:57:34.233865"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:57:34.236188"], ["updated_at", "2016-01-25 16:57:34.236188"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 22"], ["created_at", "2016-01-25 16:57:34.243733"], ["updated_at", "2016-01-25 16:57:34.243733"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 23"], ["created_at", "2016-01-25 16:57:34.248978"], ["updated_at", "2016-01-25 16:57:34.248978"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Image"], ["created_at", "2016-01-25 16:57:34.254064"], ["updated_at", "2016-01-25 16:57:34.254064"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:57:34.403931"], ["updated_at", "2016-01-25 16:57:34.403931"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]]
+ [1m[36m (1.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:57:34.428457"], ["updated_at", "2016-01-25 16:57:34.428457"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-7"]]
+ [1m[35mSQL (0.3ms)[0m 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-25 16:57:34.431596"], ["updated_at", "2016-01-25 16:57:34.431596"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:57:34.434155"], ["updated_at", "2016-01-25 16:57:34.434155"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:57:34.438963"], ["updated_at", "2016-01-25 16:57:34.438963"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-8"]]
+ [1m[35mSQL (0.3ms)[0m 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-25 16:57:34.444063"], ["updated_at", "2016-01-25 16:57:34.444063"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:57:34.446252"], ["updated_at", "2016-01-25 16:57:34.446252"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m 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"]]
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ?[0m [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-01-25 16:57:34.449748"], ["id", 1]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 1"], ["created_at", "2016-01-25 16:57:34.465770"], ["updated_at", "2016-01-25 16:57:34.465770"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.0ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:57:34.471203"], ["updated_at", "2016-01-25 16:57:34.471203"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-9"]]
+ [1m[35mSQL (0.1ms)[0m 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-25 16:57:34.476774"], ["updated_at", "2016-01-25 16:57:34.476774"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:57:34.479203"], ["updated_at", "2016-01-25 16:57:34.479203"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:57:34.481331"], ["updated_at", "2016-01-25 16:57:34.481331"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:57:34.511161"], ["updated_at", "2016-01-25 16:57:34.511161"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1
+ [1m[36mSQL (2.4ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 24"], ["created_at", "2016-01-25 16:57:34.518588"], ["updated_at", "2016-01-25 16:57:34.518588"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mPulitzer::Tag Load (0.1ms)[0m [1mSELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "a"], ["created_at", "2016-01-25 16:57:34.576317"], ["updated_at", "2016-01-25 16:57:34.576317"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:57:34.595169"], ["updated_at", "2016-01-25 16:57:34.595169"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-10"]]
+ [1m[35mSQL (0.4ms)[0m 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-25 16:57:34.599211"], ["updated_at", "2016-01-25 16:57:34.599211"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:57:34.602227"], ["updated_at", "2016-01-25 16:57:34.602227"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.9ms)[0m DELETE FROM "pulitzer_content_element_types";
+ [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
+ [1m[36m (1.0ms)[0m [1mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.9ms)[0m DELETE FROM "pulitzer_post_type_content_element_types";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
+ [1m[36m (1.0ms)[0m [1mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (1.0ms)[0m DELETE FROM "pulitzer_posts";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
+ [1m[36m (1.0ms)[0m [1mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (0.9ms)[0m DELETE FROM "pulitzer_versions";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
+ [1m[36m (0.7ms)[0m [1mDELETE FROM "search_locations";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'search_locations';[0m
+ [1m[35m (0.7ms)[0m DELETE FROM "pulitzer_post_tags";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:19.868344"], ["updated_at", "2016-01-25 16:58:19.868344"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-01-25 16:58:19.984889"], ["updated_at", "2016-01-25 16:58:19.984889"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:58:19.992955"], ["updated_at", "2016-01-25 16:58:19.992955"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:58:19.995355"], ["updated_at", "2016-01-25 16:58:19.995355"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", "2016-01-25 16:58:20.008894"], ["updated_at", "2016-01-25 16:58:20.008894"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:20.011191"], ["updated_at", "2016-01-25 16:58:20.011191"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-01-25 16:58:20.014018"], ["updated_at", "2016-01-25 16:58:20.014018"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:20.015426"], ["updated_at", "2016-01-25 16:58:20.015426"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", "2016-01-25 16:58:20.018031"], ["updated_at", "2016-01-25 16:58:20.018031"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:20.019478"], ["updated_at", "2016-01-25 16:58:20.019478"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:58:20.024106"], ["updated_at", "2016-01-25 16:58:20.024106"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+ [1m[35mPulitzer::Version Load (0.2ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::ContentElement Load (0.2ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:20.011191"], ["updated_at", "2016-01-25 16:58:20.011191"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:58:20.035014"], ["id", 4]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:20.015426"], ["updated_at", "2016-01-25 16:58:20.015426"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:58:20.041730"], ["id", 5]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:20.019478"], ["updated_at", "2016-01-25 16:58:20.019478"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:58:20.046186"], ["id", 6]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:58:20.049344"], ["id", 3]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
+ [1m[35m (1.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:20.061280"], ["updated_at", "2016-01-25 16:58:20.061280"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-01-25 16:58:20.064612"], ["updated_at", "2016-01-25 16:58:20.064612"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:58:20.066964"], ["updated_at", "2016-01-25 16:58:20.066964"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:58:20.068530"], ["updated_at", "2016-01-25 16:58:20.068530"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", "2016-01-25 16:58:20.071246"], ["updated_at", "2016-01-25 16:58:20.071246"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:20.072762"], ["updated_at", "2016-01-25 16:58:20.072762"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-01-25 16:58:20.075965"], ["updated_at", "2016-01-25 16:58:20.075965"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:20.077811"], ["updated_at", "2016-01-25 16:58:20.077811"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", "2016-01-25 16:58:20.080669"], ["updated_at", "2016-01-25 16:58:20.080669"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:20.082298"], ["updated_at", "2016-01-25 16:58:20.082298"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:20.088386"], ["updated_at", "2016-01-25 16:58:20.088386"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 7"], ["created_at", "2016-01-25 16:58:20.098998"], ["updated_at", "2016-01-25 16:58:20.098998"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["content_element_type_id", 1], ["post_type_id", 1], ["created_at", "2016-01-25 16:58:20.101678"], ["updated_at", "2016-01-25 16:58:20.101678"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 8"], ["created_at", "2016-01-25 16:58:20.104064"], ["updated_at", "2016-01-25 16:58:20.104064"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m INSERT INTO "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-25 16:58:20.105301"], ["updated_at", "2016-01-25 16:58:20.105301"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 9"], ["created_at", "2016-01-25 16:58:20.107568"], ["updated_at", "2016-01-25 16:58:20.107568"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["content_element_type_id", 3], ["post_type_id", 1], ["created_at", "2016-01-25 16:58:20.110757"], ["updated_at", "2016-01-25 16:58:20.110757"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-3"]]
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:20.119655"], ["updated_at", "2016-01-25 16:58:20.119655"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:58:20.121231"], ["updated_at", "2016-01-25 16:58:20.121231"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]
+ [1m[36mPulitzer::PostTypeContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC[0m [["post_type_id", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:20.129126"], ["updated_at", "2016-01-25 16:58:20.129126"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("version_id", "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-25 16:58:20.133254"], ["updated_at", "2016-01-25 16:58:20.133254"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:20.137253"], ["updated_at", "2016-01-25 16:58:20.137253"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 1]]
+ [1m[36m (1.9ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:20.146112"], ["updated_at", "2016-01-25 16:58:20.146112"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-4"]]
+ [1m[35mSQL (0.3ms)[0m 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-25 16:58:20.148834"], ["updated_at", "2016-01-25 16:58:20.148834"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:58:20.150682"], ["updated_at", "2016-01-25 16:58:20.150682"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:58:20.152414"], ["updated_at", "2016-01-25 16:58:20.152414"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 10"], ["created_at", "2016-01-25 16:58:20.154956"], ["updated_at", "2016-01-25 16:58:20.154956"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:20.156406"], ["updated_at", "2016-01-25 16:58:20.156406"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 11"], ["created_at", "2016-01-25 16:58:20.160004"], ["updated_at", "2016-01-25 16:58:20.160004"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:20.161586"], ["updated_at", "2016-01-25 16:58:20.161586"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 12"], ["created_at", "2016-01-25 16:58:20.164312"], ["updated_at", "2016-01-25 16:58:20.164312"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:20.165693"], ["updated_at", "2016-01-25 16:58:20.165693"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 1], ["updated_at", "2016-01-25 16:58:20.167836"], ["id", 2]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:58:20.169373"], ["updated_at", "2016-01-25 16:58:20.169373"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 411373b0-b343-4348-8aaa-cde90c3be797) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[36mPulitzer::Post Load (0.3ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[35mSQL (0.1ms)[0m 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-25 16:58:20.156406"], ["updated_at", "2016-01-25 16:58:20.156406"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:58:20.182105"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:20.161586"], ["updated_at", "2016-01-25 16:58:20.161586"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:58:20.186395"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[35mSQL (0.1ms)[0m 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-25 16:58:20.165693"], ["updated_at", "2016-01-25 16:58:20.165693"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[36mSQL (0.3ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:58:20.191045"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:58:20.194923"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [411373b0-b343-4348-8aaa-cde90c3be797] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.76ms
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:20.207309"], ["updated_at", "2016-01-25 16:58:20.207309"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-5"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 5"], ["post_type_id", 1], ["slug", "winterfell-news-5"], ["created_at", "2016-01-25 16:58:20.209941"], ["updated_at", "2016-01-25 16:58:20.209941"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:58:20.211743"], ["updated_at", "2016-01-25 16:58:20.211743"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:58:20.213401"], ["updated_at", "2016-01-25 16:58:20.213401"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 13"], ["created_at", "2016-01-25 16:58:20.216730"], ["updated_at", "2016-01-25 16:58:20.216730"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:20.218321"], ["updated_at", "2016-01-25 16:58:20.218321"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 14"], ["created_at", "2016-01-25 16:58:20.220968"], ["updated_at", "2016-01-25 16:58:20.220968"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:20.222371"], ["updated_at", "2016-01-25 16:58:20.222371"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 15"], ["created_at", "2016-01-25 16:58:20.224896"], ["updated_at", "2016-01-25 16:58:20.224896"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:20.226277"], ["updated_at", "2016-01-25 16:58:20.226277"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-01-25 16:58:20.228560"], ["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:58:20.229937"], ["updated_at", "2016-01-25 16:58:20.229937"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: e784bbe7-e3c7-490a-9486-0d91bc697ec7) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[35mPulitzer::ContentElement Load (0.0ms)[0m 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] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:20.218321"], ["updated_at", "2016-01-25 16:58:20.218321"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:58:20.237440"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[35mSQL (0.1ms)[0m 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-25 16:58:20.222371"], ["updated_at", "2016-01-25 16:58:20.222371"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:58:20.242482"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:20.226277"], ["updated_at", "2016-01-25 16:58:20.226277"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:58:20.246850"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:58:20.248679"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e784bbe7-e3c7-490a-9486-0d91bc697ec7] Performed Pulitzer::CloneVersionJob from Inline(default) in 20.36ms
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 3], ["updated_at", "2016-01-25 16:58:20.255268"], ["id", 3]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:58:20.256666"], ["updated_at", "2016-01-25 16:58:20.256666"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: f7e04693-a133-43b7-a9f5-4e41ef895003) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[35mPulitzer::ContentElement Load (0.0ms)[0m 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] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:20.218321"], ["updated_at", "2016-01-25 16:58:20.218321"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-25 16:58:20.266516"], ["id", 7]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[35mSQL (0.1ms)[0m 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-25 16:58:20.222371"], ["updated_at", "2016-01-25 16:58:20.222371"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-25 16:58:20.270998"], ["id", 8]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:20.226277"], ["updated_at", "2016-01-25 16:58:20.226277"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-25 16:58:20.275601"], ["id", 9]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:58:20.277475"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [f7e04693-a133-43b7-a9f5-4e41ef895003] Performed Pulitzer::CloneVersionJob from Inline(default) in 20.56ms
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 3]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 4]]
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 16"], ["created_at", "2016-01-25 16:58:20.291746"], ["updated_at", "2016-01-25 16:58:20.291746"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 17"], ["created_at", "2016-01-25 16:58:20.297043"], ["updated_at", "2016-01-25 16:58:20.297043"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 18"], ["created_at", "2016-01-25 16:58:20.316308"], ["updated_at", "2016-01-25 16:58:20.316308"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 19"], ["created_at", "2016-01-25 16:58:20.329546"], ["updated_at", "2016-01-25 16:58:20.329546"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 20"], ["created_at", "2016-01-25 16:58:20.334614"], ["updated_at", "2016-01-25 16:58:20.334614"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 21"], ["created_at", "2016-01-25 16:58:20.340502"], ["updated_at", "2016-01-25 16:58:20.340502"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", "2016-01-25 16:58:20.346025"], ["updated_at", "2016-01-25 16:58:20.346025"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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-25 16:58:20.347694"], ["updated_at", "2016-01-25 16:58:20.347694"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-25 16:58:20.353051"], ["updated_at", "2016-01-25 16:58:20.353051"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:20.355416"], ["updated_at", "2016-01-25 16:58:20.355416"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 22"], ["created_at", "2016-01-25 16:58:20.361211"], ["updated_at", "2016-01-25 16:58:20.361211"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 23"], ["created_at", "2016-01-25 16:58:20.366179"], ["updated_at", "2016-01-25 16:58:20.366179"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Image"], ["created_at", "2016-01-25 16:58:20.371547"], ["updated_at", "2016-01-25 16:58:20.371547"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:20.513637"], ["updated_at", "2016-01-25 16:58:20.513637"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-6"]]
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:20.537522"], ["updated_at", "2016-01-25 16:58:20.537522"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-7"]]
+ [1m[35mSQL (0.8ms)[0m 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-25 16:58:20.541069"], ["updated_at", "2016-01-25 16:58:20.541069"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:58:20.546290"], ["updated_at", "2016-01-25 16:58:20.546290"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:20.551137"], ["updated_at", "2016-01-25 16:58:20.551137"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-8"]]
+ [1m[35mSQL (0.3ms)[0m 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-25 16:58:20.554128"], ["updated_at", "2016-01-25 16:58:20.554128"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:58:20.556193"], ["updated_at", "2016-01-25 16:58:20.556193"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m 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"]]
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_posts" SET "title" = ?, "slug" = ?, "updated_at" = ? WHERE "pulitzer_posts"."id" = ?[0m [["title", "The new King in the North"], ["slug", "the-new-king-in-the-north"], ["updated_at", "2016-01-25 16:58:20.559697"], ["id", 1]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.4ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "The north 1"], ["created_at", "2016-01-25 16:58:20.575593"], ["updated_at", "2016-01-25 16:58:20.575593"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:20.582531"], ["updated_at", "2016-01-25 16:58:20.582531"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-9"]]
+ [1m[35mSQL (0.3ms)[0m 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-25 16:58:20.586417"], ["updated_at", "2016-01-25 16:58:20.586417"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:58:20.588565"], ["updated_at", "2016-01-25 16:58:20.588565"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:58:20.591345"], ["updated_at", "2016-01-25 16:58:20.591345"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:20.618710"], ["updated_at", "2016-01-25 16:58:20.618710"]]
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 24"], ["created_at", "2016-01-25 16:58:20.623340"], ["updated_at", "2016-01-25 16:58:20.623340"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mPulitzer::Tag Load (0.2ms)[0m [1mSELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "a"], ["created_at", "2016-01-25 16:58:20.678296"], ["updated_at", "2016-01-25 16:58:20.678296"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:20.693769"], ["updated_at", "2016-01-25 16:58:20.693769"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-10"]]
+ [1m[35mSQL (0.6ms)[0m 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-25 16:58:20.696903"], ["updated_at", "2016-01-25 16:58:20.696903"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:58:20.699214"], ["updated_at", "2016-01-25 16:58:20.699214"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.6ms)[0m DELETE FROM "pulitzer_content_element_types";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
+ [1m[36m (0.8ms)[0m [1mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.8ms)[0m DELETE FROM "pulitzer_post_type_content_element_types";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
+ [1m[36m (0.7ms)[0m [1mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (0.7ms)[0m DELETE FROM "pulitzer_posts";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
+ [1m[36m (0.8ms)[0m [1mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (0.9ms)[0m DELETE FROM "pulitzer_versions";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
+ [1m[36m (0.7ms)[0m [1mDELETE FROM "search_locations";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'search_locations';[0m
+ [1m[35m (0.7ms)[0m DELETE FROM "pulitzer_post_tags";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:38.688984"], ["updated_at", "2016-01-25 16:58:38.688984"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-01-25 16:58:38.809631"], ["updated_at", "2016-01-25 16:58:38.809631"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:58:38.819354"], ["updated_at", "2016-01-25 16:58:38.819354"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:58:38.821997"], ["updated_at", "2016-01-25 16:58:38.821997"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", "2016-01-25 16:58:38.834631"], ["updated_at", "2016-01-25 16:58:38.834631"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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-25 16:58:38.838341"], ["updated_at", "2016-01-25 16:58:38.838341"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-01-25 16:58:38.841743"], ["updated_at", "2016-01-25 16:58:38.841743"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:38.843483"], ["updated_at", "2016-01-25 16:58:38.843483"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", "2016-01-25 16:58:38.846423"], ["updated_at", "2016-01-25 16:58:38.846423"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:38.848033"], ["updated_at", "2016-01-25 16:58:38.848033"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:58:38.853653"], ["updated_at", "2016-01-25 16:58:38.853653"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::ContentElement Load (0.2ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:38.838341"], ["updated_at", "2016-01-25 16:58:38.838341"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:58:38.864010"], ["id", 4]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:38.843483"], ["updated_at", "2016-01-25 16:58:38.843483"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:58:38.869103"], ["id", 5]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:38.848033"], ["updated_at", "2016-01-25 16:58:38.848033"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:58:38.873378"], ["id", 6]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:58:38.876449"], ["id", 3]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
+ [1m[35m (1.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:38.886915"], ["updated_at", "2016-01-25 16:58:38.886915"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-01-25 16:58:38.890392"], ["updated_at", "2016-01-25 16:58:38.890392"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:58:38.892404"], ["updated_at", "2016-01-25 16:58:38.892404"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:58:38.894237"], ["updated_at", "2016-01-25 16:58:38.894237"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", "2016-01-25 16:58:38.897092"], ["updated_at", "2016-01-25 16:58:38.897092"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:38.898577"], ["updated_at", "2016-01-25 16:58:38.898577"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-01-25 16:58:38.901089"], ["updated_at", "2016-01-25 16:58:38.901089"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:38.902559"], ["updated_at", "2016-01-25 16:58:38.902559"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", "2016-01-25 16:58:38.906003"], ["updated_at", "2016-01-25 16:58:38.906003"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:38.908161"], ["updated_at", "2016-01-25 16:58:38.908161"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:58:38.910667"], ["updated_at", "2016-01-25 16:58:38.910667"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+ [1m[35mPulitzer::ContentElement Load (0.0ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:38.898577"], ["updated_at", "2016-01-25 16:58:38.898577"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:58:38.917053"], ["id", 4]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:38.902559"], ["updated_at", "2016-01-25 16:58:38.902559"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:58:38.924515"], ["id", 5]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:38.908161"], ["updated_at", "2016-01-25 16:58:38.908161"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:58:38.928681"], ["id", 6]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::PostTag Load (0.2ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:58:38.930825"], ["id", 3]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Load (0.1ms)[0m 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]]
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.3ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:38.944594"], ["updated_at", "2016-01-25 16:58:38.944594"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 7"], ["created_at", "2016-01-25 16:58:38.953823"], ["updated_at", "2016-01-25 16:58:38.953823"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "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-25 16:58:38.957811"], ["updated_at", "2016-01-25 16:58:38.957811"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-01-25 16:58:38.960415"], ["updated_at", "2016-01-25 16:58:38.960415"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-01-25 16:58:38.961680"], ["updated_at", "2016-01-25 16:58:38.961680"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 9"], ["created_at", "2016-01-25 16:58:38.963782"], ["updated_at", "2016-01-25 16:58:38.963782"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "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-25 16:58:38.965171"], ["updated_at", "2016-01-25 16:58:38.965171"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-01-25 16:58:38.969604"], ["updated_at", "2016-01-25 16:58:38.969604"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:58:38.971223"], ["updated_at", "2016-01-25 16:58:38.971223"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mPulitzer::PostTypeContentElementType Load (0.2ms)[0m SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_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]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("version_id", "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-25 16:58:38.979422"], ["updated_at", "2016-01-25 16:58:38.979422"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:38.983445"], ["updated_at", "2016-01-25 16:58:38.983445"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("version_id", "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-25 16:58:38.987173"], ["updated_at", "2016-01-25 16:58:38.987173"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:38.997146"], ["updated_at", "2016-01-25 16:58:38.997146"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-01-25 16:58:38.999575"], ["updated_at", "2016-01-25 16:58:38.999575"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:58:39.002056"], ["updated_at", "2016-01-25 16:58:39.002056"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:58:39.004261"], ["updated_at", "2016-01-25 16:58:39.004261"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 10"], ["created_at", "2016-01-25 16:58:39.007605"], ["updated_at", "2016-01-25 16:58:39.007605"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:39.009217"], ["updated_at", "2016-01-25 16:58:39.009217"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-25 16:58:39.011854"], ["updated_at", "2016-01-25 16:58:39.011854"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:39.013405"], ["updated_at", "2016-01-25 16:58:39.013405"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 12"], ["created_at", "2016-01-25 16:58:39.015973"], ["updated_at", "2016-01-25 16:58:39.015973"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:39.017346"], ["updated_at", "2016-01-25 16:58:39.017346"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-01-25 16:58:39.019482"], ["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:58:39.020823"], ["updated_at", "2016-01-25 16:58:39.020823"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 80f800cf-1f5a-4da1-982d-ed9ad51f323c) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[35mPulitzer::Post Load (0.1ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[35mPulitzer::ContentElement Load (0.0ms)[0m 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] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:39.009217"], ["updated_at", "2016-01-25 16:58:39.009217"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:58:39.032466"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[35mSQL (0.1ms)[0m 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-25 16:58:39.013405"], ["updated_at", "2016-01-25 16:58:39.013405"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:58:39.037332"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:39.017346"], ["updated_at", "2016-01-25 16:58:39.017346"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:58:39.043265"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:58:39.045161"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [80f800cf-1f5a-4da1-982d-ed9ad51f323c] Performed Pulitzer::CloneVersionJob from Inline(default) in 22.78ms
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:39.056217"], ["updated_at", "2016-01-25 16:58:39.056217"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-5"]]
+ [1m[35mSQL (0.4ms)[0m 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-25 16:58:39.059016"], ["updated_at", "2016-01-25 16:58:39.059016"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:58:39.060903"], ["updated_at", "2016-01-25 16:58:39.060903"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:58:39.062392"], ["updated_at", "2016-01-25 16:58:39.062392"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-25 16:58:39.065637"], ["updated_at", "2016-01-25 16:58:39.065637"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:39.067148"], ["updated_at", "2016-01-25 16:58:39.067148"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 14"], ["created_at", "2016-01-25 16:58:39.069818"], ["updated_at", "2016-01-25 16:58:39.069818"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:39.071396"], ["updated_at", "2016-01-25 16:58:39.071396"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-25 16:58:39.074655"], ["updated_at", "2016-01-25 16:58:39.074655"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:39.076107"], ["updated_at", "2016-01-25 16:58:39.076107"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 1], ["updated_at", "2016-01-25 16:58:39.078207"], ["id", 2]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:58:39.079583"], ["updated_at", "2016-01-25 16:58:39.079583"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 45aebc03-832b-4af6-90c1-41756ca4bce6) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[35mSQL (0.1ms)[0m 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-25 16:58:39.067148"], ["updated_at", "2016-01-25 16:58:39.067148"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:58:39.087464"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:39.071396"], ["updated_at", "2016-01-25 16:58:39.071396"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:58:39.092945"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[35mSQL (0.1ms)[0m 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-25 16:58:39.076107"], ["updated_at", "2016-01-25 16:58:39.076107"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:58:39.097734"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:58:39.099540"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [45aebc03-832b-4af6-90c1-41756ca4bce6] Performed Pulitzer::CloneVersionJob from Inline(default) in 20.87ms
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Post Load (0.1ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::Version Load (0.2ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 3], ["updated_at", "2016-01-25 16:58:39.107368"], ["id", 3]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:58:39.108964"], ["updated_at", "2016-01-25 16:58:39.108964"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 7289adbc-2415-48cf-a87c-e27857e411e9) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[35mSQL (0.1ms)[0m 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-25 16:58:39.067148"], ["updated_at", "2016-01-25 16:58:39.067148"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-25 16:58:39.116675"], ["id", 7]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:39.071396"], ["updated_at", "2016-01-25 16:58:39.071396"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-25 16:58:39.121008"], ["id", 8]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[35mSQL (0.1ms)[0m 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-25 16:58:39.076107"], ["updated_at", "2016-01-25 16:58:39.076107"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-25 16:58:39.127886"], ["id", 9]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:58:39.130243"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [7289adbc-2415-48cf-a87c-e27857e411e9] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.0ms
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 4]]
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-25 16:58:39.144946"], ["updated_at", "2016-01-25 16:58:39.144946"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-25 16:58:39.150580"], ["updated_at", "2016-01-25 16:58:39.150580"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-25 16:58:39.173413"], ["updated_at", "2016-01-25 16:58:39.173413"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-25 16:58:39.184638"], ["updated_at", "2016-01-25 16:58:39.184638"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-25 16:58:39.191658"], ["updated_at", "2016-01-25 16:58:39.191658"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-25 16:58:39.196257"], ["updated_at", "2016-01-25 16:58:39.196257"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-25 16:58:39.201773"], ["updated_at", "2016-01-25 16:58:39.201773"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:58:39.203397"], ["updated_at", "2016-01-25 16:58:39.203397"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", "2016-01-25 16:58:39.209868"], ["updated_at", "2016-01-25 16:58:39.209868"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m 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-25 16:58:39.212032"], ["updated_at", "2016-01-25 16:58:39.212032"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-01-25 16:58:39.217734"], ["updated_at", "2016-01-25 16:58:39.217734"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-01-25 16:58:39.234892"], ["updated_at", "2016-01-25 16:58:39.234892"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-25 16:58:39.241188"], ["updated_at", "2016-01-25 16:58:39.241188"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:39.369673"], ["updated_at", "2016-01-25 16:58:39.369673"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-6"]]
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (2.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:39.395017"], ["updated_at", "2016-01-25 16:58:39.395017"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]]
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-01-25 16:58:39.400804"], ["updated_at", "2016-01-25 16:58:39.400804"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:58:39.403303"], ["updated_at", "2016-01-25 16:58:39.403303"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:39.409238"], ["updated_at", "2016-01-25 16:58:39.409238"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.3ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-25 16:58:39.412712"], ["updated_at", "2016-01-25 16:58:39.412712"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:58:39.414896"], ["updated_at", "2016-01-25 16:58:39.414896"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "the-new-king-in-the-north"]]
+ [1m[35mSQL (0.1ms)[0m 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-25 16:58:39.418009"], ["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-25 16:58:39.432900"], ["updated_at", "2016-01-25 16:58:39.432900"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:39.437168"], ["updated_at", "2016-01-25 16:58:39.437168"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]]
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-01-25 16:58:39.444086"], ["updated_at", "2016-01-25 16:58:39.444086"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:58:39.446709"], ["updated_at", "2016-01-25 16:58:39.446709"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:58:39.449050"], ["updated_at", "2016-01-25 16:58:39.449050"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:39.474620"], ["updated_at", "2016-01-25 16:58:39.474620"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 24' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 24"], ["created_at", "2016-01-25 16:58:39.478579"], ["updated_at", "2016-01-25 16:58:39.478579"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.3ms)[0m commit transaction
+ [1m[36m (0.3ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Load (0.4ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-25 16:58:39.536449"], ["updated_at", "2016-01-25 16:58:39.536449"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:58:39.553650"], ["updated_at", "2016-01-25 16:58:39.553650"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-01-25 16:58:39.556641"], ["updated_at", "2016-01-25 16:58:39.556641"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:58:39.559036"], ["updated_at", "2016-01-25 16:58:39.559036"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (2.1ms)[0m DELETE FROM "pulitzer_content_element_types";
+ [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
+ [1m[36m (1.1ms)[0m [1mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (1.0ms)[0m DELETE FROM "pulitzer_post_type_content_element_types";
+ [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
+ [1m[36m (0.9ms)[0m [1mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (0.7ms)[0m DELETE FROM "pulitzer_posts";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
+ [1m[36m (0.8ms)[0m [1mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (0.8ms)[0m DELETE FROM "pulitzer_versions";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
+ [1m[36m (0.8ms)[0m [1mDELETE FROM "search_locations";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'search_locations';[0m
+ [1m[35m (0.7ms)[0m DELETE FROM "pulitzer_post_tags";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:12.066927"], ["updated_at", "2016-01-25 16:59:12.066927"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-01-25 16:59:12.185267"], ["updated_at", "2016-01-25 16:59:12.185267"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:12.193575"], ["updated_at", "2016-01-25 16:59:12.193575"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:59:12.195743"], ["updated_at", "2016-01-25 16:59:12.195743"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", "2016-01-25 16:59:12.209772"], ["updated_at", "2016-01-25 16:59:12.209772"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:12.212145"], ["updated_at", "2016-01-25 16:59:12.212145"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-01-25 16:59:12.215006"], ["updated_at", "2016-01-25 16:59:12.215006"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:12.216502"], ["updated_at", "2016-01-25 16:59:12.216502"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", "2016-01-25 16:59:12.219177"], ["updated_at", "2016-01-25 16:59:12.219177"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:12.220902"], ["updated_at", "2016-01-25 16:59:12.220902"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:59:12.225856"], ["updated_at", "2016-01-25 16:59:12.225856"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:12.212145"], ["updated_at", "2016-01-25 16:59:12.212145"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:12.234828"], ["id", 4]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:12.216502"], ["updated_at", "2016-01-25 16:59:12.216502"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:12.240785"], ["id", 5]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:12.220902"], ["updated_at", "2016-01-25 16:59:12.220902"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:12.245052"], ["id", 6]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:59:12.248358"], ["id", 3]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
+ [1m[35m (1.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:12.258530"], ["updated_at", "2016-01-25 16:59:12.258530"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-01-25 16:59:12.261191"], ["updated_at", "2016-01-25 16:59:12.261191"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:12.263538"], ["updated_at", "2016-01-25 16:59:12.263538"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:59:12.265851"], ["updated_at", "2016-01-25 16:59:12.265851"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", "2016-01-25 16:59:12.268744"], ["updated_at", "2016-01-25 16:59:12.268744"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:12.270275"], ["updated_at", "2016-01-25 16:59:12.270275"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-01-25 16:59:12.273296"], ["updated_at", "2016-01-25 16:59:12.273296"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:12.274881"], ["updated_at", "2016-01-25 16:59:12.274881"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", "2016-01-25 16:59:12.277618"], ["updated_at", "2016-01-25 16:59:12.277618"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:12.279011"], ["updated_at", "2016-01-25 16:59:12.279011"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:59:12.280880"], ["updated_at", "2016-01-25 16:59:12.280880"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+ [1m[35mPulitzer::ContentElement Load (0.0ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:12.270275"], ["updated_at", "2016-01-25 16:59:12.270275"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:12.287378"], ["id", 4]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:12.274881"], ["updated_at", "2016-01-25 16:59:12.274881"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:12.292599"], ["id", 5]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:12.279011"], ["updated_at", "2016-01-25 16:59:12.279011"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:12.300010"], ["id", 6]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:59:12.301883"], ["id", 3]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Load (0.4ms)[0m 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]]
+ [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:12.318032"], ["updated_at", "2016-01-25 16:59:12.318032"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 7"], ["created_at", "2016-01-25 16:59:12.326108"], ["updated_at", "2016-01-25 16:59:12.326108"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "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-25 16:59:12.328629"], ["updated_at", "2016-01-25 16:59:12.328629"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-01-25 16:59:12.331041"], ["updated_at", "2016-01-25 16:59:12.331041"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-01-25 16:59:12.332445"], ["updated_at", "2016-01-25 16:59:12.332445"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 9"], ["created_at", "2016-01-25 16:59:12.334947"], ["updated_at", "2016-01-25 16:59:12.334947"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "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-25 16:59:12.336213"], ["updated_at", "2016-01-25 16:59:12.336213"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-01-25 16:59:12.342435"], ["updated_at", "2016-01-25 16:59:12.342435"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:12.344196"], ["updated_at", "2016-01-25 16:59:12.344196"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mPulitzer::PostTypeContentElementType Load (0.1ms)[0m SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_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]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_elements" ("version_id", "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-25 16:59:12.351504"], ["updated_at", "2016-01-25 16:59:12.351504"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:12.360063"], ["updated_at", "2016-01-25 16:59:12.360063"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("version_id", "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-25 16:59:12.364636"], ["updated_at", "2016-01-25 16:59:12.364636"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:12.372343"], ["updated_at", "2016-01-25 16:59:12.372343"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-01-25 16:59:12.374977"], ["updated_at", "2016-01-25 16:59:12.374977"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:12.376871"], ["updated_at", "2016-01-25 16:59:12.376871"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:59:12.378522"], ["updated_at", "2016-01-25 16:59:12.378522"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 10"], ["created_at", "2016-01-25 16:59:12.381385"], ["updated_at", "2016-01-25 16:59:12.381385"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:12.382865"], ["updated_at", "2016-01-25 16:59:12.382865"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-25 16:59:12.385443"], ["updated_at", "2016-01-25 16:59:12.385443"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:12.386936"], ["updated_at", "2016-01-25 16:59:12.386936"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 12"], ["created_at", "2016-01-25 16:59:12.389912"], ["updated_at", "2016-01-25 16:59:12.389912"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:12.391745"], ["updated_at", "2016-01-25 16:59:12.391745"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-01-25 16:59:12.394145"], ["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:59:12.395573"], ["updated_at", "2016-01-25 16:59:12.395573"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: e0533ed4-a79d-4a1d-8a54-74651d405d64) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[35mPulitzer::Post Load (0.1ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[35mPulitzer::ContentElement Load (0.0ms)[0m 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] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:12.382865"], ["updated_at", "2016-01-25 16:59:12.382865"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:12.407348"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[35mSQL (0.1ms)[0m 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-25 16:59:12.386936"], ["updated_at", "2016-01-25 16:59:12.386936"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:12.412183"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:12.391745"], ["updated_at", "2016-01-25 16:59:12.391745"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:12.416763"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:59:12.418668"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e0533ed4-a79d-4a1d-8a54-74651d405d64] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.33ms
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:12.433457"], ["updated_at", "2016-01-25 16:59:12.433457"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-5"]]
+ [1m[35mSQL (0.4ms)[0m 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-25 16:59:12.436367"], ["updated_at", "2016-01-25 16:59:12.436367"]]
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:59:12.438616"], ["updated_at", "2016-01-25 16:59:12.438616"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:12.440631"], ["updated_at", "2016-01-25 16:59:12.440631"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-25 16:59:12.443372"], ["updated_at", "2016-01-25 16:59:12.443372"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:12.444874"], ["updated_at", "2016-01-25 16:59:12.444874"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 14"], ["created_at", "2016-01-25 16:59:12.447422"], ["updated_at", "2016-01-25 16:59:12.447422"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:12.448930"], ["updated_at", "2016-01-25 16:59:12.448930"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-25 16:59:12.451943"], ["updated_at", "2016-01-25 16:59:12.451943"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:12.453446"], ["updated_at", "2016-01-25 16:59:12.453446"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 1], ["updated_at", "2016-01-25 16:59:12.456020"], ["id", 2]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:59:12.457632"], ["updated_at", "2016-01-25 16:59:12.457632"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 6d64363c-b8bb-41be-8834-f7225e9cec51) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[35mSQL (0.1ms)[0m 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-25 16:59:12.444874"], ["updated_at", "2016-01-25 16:59:12.444874"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:12.467236"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:12.448930"], ["updated_at", "2016-01-25 16:59:12.448930"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:12.474027"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[35mSQL (0.1ms)[0m 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-25 16:59:12.453446"], ["updated_at", "2016-01-25 16:59:12.453446"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:12.479009"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:59:12.481054"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [6d64363c-b8bb-41be-8834-f7225e9cec51] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.38ms
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 3], ["updated_at", "2016-01-25 16:59:12.488672"], ["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:59:12.490710"], ["updated_at", "2016-01-25 16:59:12.490710"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[35mSQL (0.1ms)[0m 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-25 16:59:12.444874"], ["updated_at", "2016-01-25 16:59:12.444874"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-25 16:59:12.499362"], ["id", 7]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:12.448930"], ["updated_at", "2016-01-25 16:59:12.448930"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-25 16:59:12.503882"], ["id", 8]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[35mSQL (0.1ms)[0m 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-25 16:59:12.453446"], ["updated_at", "2016-01-25 16:59:12.453446"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-25 16:59:12.508576"], ["id", 9]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:59:12.510479"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a2450d75-ef1b-41ca-a1b3-0fcd52e0ceb6] Performed Pulitzer::CloneVersionJob from Inline(default) in 20.8ms
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 4]]
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-25 16:59:12.524145"], ["updated_at", "2016-01-25 16:59:12.524145"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-25 16:59:12.529022"], ["updated_at", "2016-01-25 16:59:12.529022"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-25 16:59:12.553324"], ["updated_at", "2016-01-25 16:59:12.553324"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-25 16:59:12.559583"], ["updated_at", "2016-01-25 16:59:12.559583"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-25 16:59:12.564346"], ["updated_at", "2016-01-25 16:59:12.564346"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-25 16:59:12.569755"], ["updated_at", "2016-01-25 16:59:12.569755"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 18"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-25 16:59:12.573212"], ["updated_at", "2016-01-25 16:59:12.573212"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.8ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", "2016-01-25 16:59:12.580302"], ["updated_at", "2016-01-25 16:59:12.580302"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m 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-25 16:59:12.582104"], ["updated_at", "2016-01-25 16:59:12.582104"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-25 16:59:12.598988"], ["updated_at", "2016-01-25 16:59:12.598988"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-01-25 16:59:12.606470"], ["updated_at", "2016-01-25 16:59:12.606470"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-25 16:59:12.612668"], ["updated_at", "2016-01-25 16:59:12.612668"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:12.741798"], ["updated_at", "2016-01-25 16:59:12.741798"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-6"]]
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:12.763961"], ["updated_at", "2016-01-25 16:59:12.763961"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-01-25 16:59:12.767309"], ["updated_at", "2016-01-25 16:59:12.767309"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:12.769941"], ["updated_at", "2016-01-25 16:59:12.769941"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.4ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:12.781105"], ["updated_at", "2016-01-25 16:59:12.781105"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]]
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-25 16:59:12.784281"], ["updated_at", "2016-01-25 16:59:12.784281"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:12.787214"], ["updated_at", "2016-01-25 16:59:12.787214"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "the-new-king-in-the-north"]]
+ [1m[35mSQL (0.2ms)[0m 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-25 16:59:12.790986"], ["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-25 16:59:12.809506"], ["updated_at", "2016-01-25 16:59:12.809506"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:12.814393"], ["updated_at", "2016-01-25 16:59:12.814393"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-01-25 16:59:12.817536"], ["updated_at", "2016-01-25 16:59:12.817536"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:12.819620"], ["updated_at", "2016-01-25 16:59:12.819620"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:59:12.822038"], ["updated_at", "2016-01-25 16:59:12.822038"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:12.846816"], ["updated_at", "2016-01-25 16:59:12.846816"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 23' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 23"], ["created_at", "2016-01-25 16:59:12.850212"], ["updated_at", "2016-01-25 16:59:12.850212"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mPulitzer::Tag Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Load (0.2ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-25 16:59:12.916614"], ["updated_at", "2016-01-25 16:59:12.916614"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:12.932954"], ["updated_at", "2016-01-25 16:59:12.932954"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]]
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-01-25 16:59:12.936379"], ["updated_at", "2016-01-25 16:59:12.936379"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:12.940625"], ["updated_at", "2016-01-25 16:59:12.940625"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (2.0ms)[0m DELETE FROM "pulitzer_content_element_types";
+ [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
+ [1m[36m (1.0ms)[0m [1mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (1.0ms)[0m DELETE FROM "pulitzer_post_type_content_element_types";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
+ [1m[36m (1.0ms)[0m [1mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (0.9ms)[0m DELETE FROM "pulitzer_posts";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
+ [1m[36m (0.8ms)[0m [1mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (0.8ms)[0m DELETE FROM "pulitzer_versions";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
+ [1m[36m (0.7ms)[0m [1mDELETE FROM "search_locations";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'search_locations';[0m
+ [1m[35m (0.8ms)[0m DELETE FROM "pulitzer_post_tags";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:24.729529"], ["updated_at", "2016-01-25 16:59:24.729529"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-01-25 16:59:24.844493"], ["updated_at", "2016-01-25 16:59:24.844493"]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:24.853105"], ["updated_at", "2016-01-25 16:59:24.853105"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:59:24.855313"], ["updated_at", "2016-01-25 16:59:24.855313"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", "2016-01-25 16:59:24.867728"], ["updated_at", "2016-01-25 16:59:24.867728"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:24.869938"], ["updated_at", "2016-01-25 16:59:24.869938"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-01-25 16:59:24.872819"], ["updated_at", "2016-01-25 16:59:24.872819"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:24.874555"], ["updated_at", "2016-01-25 16:59:24.874555"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", "2016-01-25 16:59:24.877517"], ["updated_at", "2016-01-25 16:59:24.877517"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:24.879125"], ["updated_at", "2016-01-25 16:59:24.879125"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:59:24.884013"], ["updated_at", "2016-01-25 16:59:24.884013"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:24.869938"], ["updated_at", "2016-01-25 16:59:24.869938"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:24.892154"], ["id", 4]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:24.874555"], ["updated_at", "2016-01-25 16:59:24.874555"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:24.897735"], ["id", 5]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:24.879125"], ["updated_at", "2016-01-25 16:59:24.879125"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:24.901896"], ["id", 6]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:59:24.905204"], ["id", 3]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
+ [1m[35m (1.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:24.916342"], ["updated_at", "2016-01-25 16:59:24.916342"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-01-25 16:59:24.919269"], ["updated_at", "2016-01-25 16:59:24.919269"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:24.921473"], ["updated_at", "2016-01-25 16:59:24.921473"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:59:24.923019"], ["updated_at", "2016-01-25 16:59:24.923019"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", "2016-01-25 16:59:24.925543"], ["updated_at", "2016-01-25 16:59:24.925543"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:24.927003"], ["updated_at", "2016-01-25 16:59:24.927003"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-01-25 16:59:24.929876"], ["updated_at", "2016-01-25 16:59:24.929876"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:24.931566"], ["updated_at", "2016-01-25 16:59:24.931566"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", "2016-01-25 16:59:24.934257"], ["updated_at", "2016-01-25 16:59:24.934257"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:24.935753"], ["updated_at", "2016-01-25 16:59:24.935753"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:59:24.937796"], ["updated_at", "2016-01-25 16:59:24.937796"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+ [1m[35mPulitzer::ContentElement Load (0.0ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:24.927003"], ["updated_at", "2016-01-25 16:59:24.927003"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:24.944307"], ["id", 4]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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-25 16:59:24.931566"], ["updated_at", "2016-01-25 16:59:24.931566"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:24.950014"], ["id", 5]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:24.935753"], ["updated_at", "2016-01-25 16:59:24.935753"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:24.957937"], ["id", 6]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:59:24.959901"], ["id", 3]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Load (0.5ms)[0m 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]]
+ [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:24.977473"], ["updated_at", "2016-01-25 16:59:24.977473"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 7"], ["created_at", "2016-01-25 16:59:24.985774"], ["updated_at", "2016-01-25 16:59:24.985774"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "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-25 16:59:24.988499"], ["updated_at", "2016-01-25 16:59:24.988499"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-01-25 16:59:24.990894"], ["updated_at", "2016-01-25 16:59:24.990894"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-01-25 16:59:24.992171"], ["updated_at", "2016-01-25 16:59:24.992171"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 9"], ["created_at", "2016-01-25 16:59:24.994328"], ["updated_at", "2016-01-25 16:59:24.994328"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "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-25 16:59:24.995579"], ["updated_at", "2016-01-25 16:59:24.995579"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-01-25 16:59:25.000837"], ["updated_at", "2016-01-25 16:59:25.000837"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:25.003217"], ["updated_at", "2016-01-25 16:59:25.003217"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mPulitzer::PostTypeContentElementType Load (0.1ms)[0m SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_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]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_elements" ("version_id", "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-25 16:59:25.011519"], ["updated_at", "2016-01-25 16:59:25.011519"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:25.018817"], ["updated_at", "2016-01-25 16:59:25.018817"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("version_id", "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-25 16:59:25.024166"], ["updated_at", "2016-01-25 16:59:25.024166"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:25.032243"], ["updated_at", "2016-01-25 16:59:25.032243"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-01-25 16:59:25.035700"], ["updated_at", "2016-01-25 16:59:25.035700"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:25.038402"], ["updated_at", "2016-01-25 16:59:25.038402"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:59:25.040186"], ["updated_at", "2016-01-25 16:59:25.040186"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 10"], ["created_at", "2016-01-25 16:59:25.043105"], ["updated_at", "2016-01-25 16:59:25.043105"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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-25 16:59:25.044840"], ["updated_at", "2016-01-25 16:59:25.044840"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-25 16:59:25.049272"], ["updated_at", "2016-01-25 16:59:25.049272"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:25.050801"], ["updated_at", "2016-01-25 16:59:25.050801"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 12"], ["created_at", "2016-01-25 16:59:25.053403"], ["updated_at", "2016-01-25 16:59:25.053403"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:25.054807"], ["updated_at", "2016-01-25 16:59:25.054807"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-01-25 16:59:25.057114"], ["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:59:25.058645"], ["updated_at", "2016-01-25 16:59:25.058645"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 24062b50-be19-4e85-b787-31673358ac1c) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[36mPulitzer::Version Load (0.2ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[35mPulitzer::Post Load (0.1ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[35mPulitzer::ContentElement Load (0.0ms)[0m 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] [24062b50-be19-4e85-b787-31673358ac1c] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:25.044840"], ["updated_at", "2016-01-25 16:59:25.044840"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:25.071314"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[35mSQL (0.1ms)[0m 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-25 16:59:25.050801"], ["updated_at", "2016-01-25 16:59:25.050801"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:25.076246"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:25.054807"], ["updated_at", "2016-01-25 16:59:25.054807"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:25.083377"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:59:25.085707"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [24062b50-be19-4e85-b787-31673358ac1c] Performed Pulitzer::CloneVersionJob from Inline(default) in 25.54ms
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
+ [1m[36m (0.8ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:25.098583"], ["updated_at", "2016-01-25 16:59:25.098583"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-5"]]
+ [1m[35mSQL (0.4ms)[0m 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-25 16:59:25.101282"], ["updated_at", "2016-01-25 16:59:25.101282"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:59:25.103212"], ["updated_at", "2016-01-25 16:59:25.103212"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:25.105311"], ["updated_at", "2016-01-25 16:59:25.105311"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-25 16:59:25.107982"], ["updated_at", "2016-01-25 16:59:25.107982"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:25.109482"], ["updated_at", "2016-01-25 16:59:25.109482"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 14"], ["created_at", "2016-01-25 16:59:25.111973"], ["updated_at", "2016-01-25 16:59:25.111973"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:25.113354"], ["updated_at", "2016-01-25 16:59:25.113354"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-25 16:59:25.116126"], ["updated_at", "2016-01-25 16:59:25.116126"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:25.117528"], ["updated_at", "2016-01-25 16:59:25.117528"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 1], ["updated_at", "2016-01-25 16:59:25.119576"], ["id", 2]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:59:25.120969"], ["updated_at", "2016-01-25 16:59:25.120969"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: c90382cf-3180-4394-92d7-ef788c7ca284) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[36mPulitzer::Post Load (0.1ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[35mSQL (0.1ms)[0m 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-25 16:59:25.109482"], ["updated_at", "2016-01-25 16:59:25.109482"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:25.131692"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:25.113354"], ["updated_at", "2016-01-25 16:59:25.113354"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:25.136432"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[35mSQL (0.1ms)[0m 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-25 16:59:25.117528"], ["updated_at", "2016-01-25 16:59:25.117528"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:25.141220"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:59:25.143189"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [c90382cf-3180-4394-92d7-ef788c7ca284] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.15ms
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 3], ["updated_at", "2016-01-25 16:59:25.152358"], ["id", 3]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:59:25.154044"], ["updated_at", "2016-01-25 16:59:25.154044"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 952112c6-5982-4424-9a5e-5add4c78d8ac) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[35mSQL (0.1ms)[0m 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-25 16:59:25.109482"], ["updated_at", "2016-01-25 16:59:25.109482"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-25 16:59:25.163040"], ["id", 7]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:25.113354"], ["updated_at", "2016-01-25 16:59:25.113354"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-25 16:59:25.167982"], ["id", 8]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[35mSQL (0.1ms)[0m 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-25 16:59:25.117528"], ["updated_at", "2016-01-25 16:59:25.117528"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-25 16:59:25.172169"], ["id", 9]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:59:25.174220"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [952112c6-5982-4424-9a5e-5add4c78d8ac] Performed Pulitzer::CloneVersionJob from Inline(default) in 20.87ms
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 4]]
+ [1m[35m (0.9ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-25 16:59:25.190837"], ["updated_at", "2016-01-25 16:59:25.190837"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-25 16:59:25.201713"], ["updated_at", "2016-01-25 16:59:25.201713"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-25 16:59:25.206715"], ["updated_at", "2016-01-25 16:59:25.206715"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-25 16:59:25.211875"], ["updated_at", "2016-01-25 16:59:25.211875"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-25 16:59:25.218630"], ["updated_at", "2016-01-25 16:59:25.218630"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:25.220548"], ["updated_at", "2016-01-25 16:59:25.220548"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.2ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", "2016-01-25 16:59:25.227093"], ["updated_at", "2016-01-25 16:59:25.227093"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-25 16:59:25.228928"], ["updated_at", "2016-01-25 16:59:25.228928"]]
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-25 16:59:25.236510"], ["updated_at", "2016-01-25 16:59:25.236510"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-25 16:59:25.241305"], ["updated_at", "2016-01-25 16:59:25.241305"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-25 16:59:25.247086"], ["updated_at", "2016-01-25 16:59:25.247086"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:25.376318"], ["updated_at", "2016-01-25 16:59:25.376318"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-6"]]
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:25.417752"], ["updated_at", "2016-01-25 16:59:25.417752"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-01-25 16:59:25.421188"], ["updated_at", "2016-01-25 16:59:25.421188"]]
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:25.423398"], ["updated_at", "2016-01-25 16:59:25.423398"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:25.428848"], ["updated_at", "2016-01-25 16:59:25.428848"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-25 16:59:25.435924"], ["updated_at", "2016-01-25 16:59:25.435924"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:25.438346"], ["updated_at", "2016-01-25 16:59:25.438346"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "the-new-king-in-the-north"]]
+ [1m[35mSQL (0.2ms)[0m 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-25 16:59:25.442263"], ["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-25 16:59:25.456630"], ["updated_at", "2016-01-25 16:59:25.456630"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:25.461020"], ["updated_at", "2016-01-25 16:59:25.461020"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-01-25 16:59:25.464837"], ["updated_at", "2016-01-25 16:59:25.464837"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:25.466807"], ["updated_at", "2016-01-25 16:59:25.466807"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:59:25.468981"], ["updated_at", "2016-01-25 16:59:25.468981"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.9ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.3ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:25.499578"], ["updated_at", "2016-01-25 16:59:25.499578"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-01-25 16:59:25.505072"], ["updated_at", "2016-01-25 16:59:25.505072"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Load (0.5ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-25 16:59:25.571205"], ["updated_at", "2016-01-25 16:59:25.571205"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:25.585180"], ["updated_at", "2016-01-25 16:59:25.585180"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-01-25 16:59:25.588296"], ["updated_at", "2016-01-25 16:59:25.588296"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:25.590520"], ["updated_at", "2016-01-25 16:59:25.590520"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.2ms)[0m DELETE FROM "pulitzer_content_element_types";
+ [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
+ [1m[36m (1.0ms)[0m [1mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.9ms)[0m DELETE FROM "pulitzer_post_type_content_element_types";
+ [1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
+ [1m[36m (1.0ms)[0m [1mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (0.8ms)[0m DELETE FROM "pulitzer_posts";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
+ [1m[36m (0.9ms)[0m [1mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (0.8ms)[0m DELETE FROM "pulitzer_versions";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
+ [1m[36m (0.7ms)[0m [1mDELETE FROM "search_locations";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'search_locations';[0m
+ [1m[35m (0.8ms)[0m DELETE FROM "pulitzer_post_tags";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:52.005743"], ["updated_at", "2016-01-25 16:59:52.005743"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-01-25 16:59:52.125201"], ["updated_at", "2016-01-25 16:59:52.125201"]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:52.133627"], ["updated_at", "2016-01-25 16:59:52.133627"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:59:52.136281"], ["updated_at", "2016-01-25 16:59:52.136281"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", "2016-01-25 16:59:52.149268"], ["updated_at", "2016-01-25 16:59:52.149268"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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-25 16:59:52.151789"], ["updated_at", "2016-01-25 16:59:52.151789"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-01-25 16:59:52.155495"], ["updated_at", "2016-01-25 16:59:52.155495"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:52.157420"], ["updated_at", "2016-01-25 16:59:52.157420"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", "2016-01-25 16:59:52.160486"], ["updated_at", "2016-01-25 16:59:52.160486"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:52.162082"], ["updated_at", "2016-01-25 16:59:52.162082"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:59:52.166489"], ["updated_at", "2016-01-25 16:59:52.166489"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m 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-25 16:59:52.151789"], ["updated_at", "2016-01-25 16:59:52.151789"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:52.174975"], ["id", 4]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:52.157420"], ["updated_at", "2016-01-25 16:59:52.157420"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:52.180752"], ["id", 5]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:52.162082"], ["updated_at", "2016-01-25 16:59:52.162082"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:52.185017"], ["id", 6]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:59:52.188281"], ["id", 3]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
+ [1m[35m (1.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:52.198255"], ["updated_at", "2016-01-25 16:59:52.198255"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-01-25 16:59:52.201188"], ["updated_at", "2016-01-25 16:59:52.201188"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:52.203271"], ["updated_at", "2016-01-25 16:59:52.203271"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:59:52.205085"], ["updated_at", "2016-01-25 16:59:52.205085"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", "2016-01-25 16:59:52.208168"], ["updated_at", "2016-01-25 16:59:52.208168"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:52.209701"], ["updated_at", "2016-01-25 16:59:52.209701"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-01-25 16:59:52.212228"], ["updated_at", "2016-01-25 16:59:52.212228"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:52.213836"], ["updated_at", "2016-01-25 16:59:52.213836"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", "2016-01-25 16:59:52.216321"], ["updated_at", "2016-01-25 16:59:52.216321"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:52.217725"], ["updated_at", "2016-01-25 16:59:52.217725"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:59:52.219642"], ["updated_at", "2016-01-25 16:59:52.219642"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+ [1m[35mPulitzer::ContentElement Load (0.0ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:52.209701"], ["updated_at", "2016-01-25 16:59:52.209701"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:52.226484"], ["id", 4]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:52.213836"], ["updated_at", "2016-01-25 16:59:52.213836"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:52.230987"], ["id", 5]]
+ [1m[35m (1.9ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:52.217725"], ["updated_at", "2016-01-25 16:59:52.217725"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:52.246618"], ["id", 6]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:59:52.249004"], ["id", 3]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Load (0.4ms)[0m 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]]
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:52.261371"], ["updated_at", "2016-01-25 16:59:52.261371"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 7"], ["created_at", "2016-01-25 16:59:52.268111"], ["updated_at", "2016-01-25 16:59:52.268111"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "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-25 16:59:52.271155"], ["updated_at", "2016-01-25 16:59:52.271155"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-01-25 16:59:52.273924"], ["updated_at", "2016-01-25 16:59:52.273924"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-01-25 16:59:52.275305"], ["updated_at", "2016-01-25 16:59:52.275305"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 9"], ["created_at", "2016-01-25 16:59:52.277997"], ["updated_at", "2016-01-25 16:59:52.277997"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "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-25 16:59:52.279282"], ["updated_at", "2016-01-25 16:59:52.279282"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-01-25 16:59:52.284102"], ["updated_at", "2016-01-25 16:59:52.284102"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:52.286694"], ["updated_at", "2016-01-25 16:59:52.286694"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mPulitzer::PostTypeContentElementType Load (0.1ms)[0m SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_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]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_elements" ("version_id", "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-25 16:59:52.295836"], ["updated_at", "2016-01-25 16:59:52.295836"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:52.300877"], ["updated_at", "2016-01-25 16:59:52.300877"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("version_id", "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-25 16:59:52.308039"], ["updated_at", "2016-01-25 16:59:52.308039"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:52.317325"], ["updated_at", "2016-01-25 16:59:52.317325"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-01-25 16:59:52.320366"], ["updated_at", "2016-01-25 16:59:52.320366"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:52.322756"], ["updated_at", "2016-01-25 16:59:52.322756"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:59:52.324648"], ["updated_at", "2016-01-25 16:59:52.324648"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 10"], ["created_at", "2016-01-25 16:59:52.327784"], ["updated_at", "2016-01-25 16:59:52.327784"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:52.329686"], ["updated_at", "2016-01-25 16:59:52.329686"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-25 16:59:52.333042"], ["updated_at", "2016-01-25 16:59:52.333042"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:52.334626"], ["updated_at", "2016-01-25 16:59:52.334626"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 12"], ["created_at", "2016-01-25 16:59:52.337807"], ["updated_at", "2016-01-25 16:59:52.337807"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:52.339444"], ["updated_at", "2016-01-25 16:59:52.339444"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-01-25 16:59:52.342299"], ["id", 2]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:59:52.344126"], ["updated_at", "2016-01-25 16:59:52.344126"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: a9562cdc-9fba-4457-acd2-f1200aae497a) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[35mPulitzer::Post Load (0.1ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[35mPulitzer::ContentElement Load (0.1ms)[0m 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] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[36mPulitzer::ContentElementType Load (0.2ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:52.329686"], ["updated_at", "2016-01-25 16:59:52.329686"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:52.359185"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[35mSQL (0.1ms)[0m 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-25 16:59:52.334626"], ["updated_at", "2016-01-25 16:59:52.334626"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:52.364497"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:52.339444"], ["updated_at", "2016-01-25 16:59:52.339444"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:52.369276"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 16:59:52.371920"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [a9562cdc-9fba-4457-acd2-f1200aae497a] Performed Pulitzer::CloneVersionJob from Inline(default) in 27.02ms
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
+ [1m[36m (0.8ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:52.386040"], ["updated_at", "2016-01-25 16:59:52.386040"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-5"]]
+ [1m[35mSQL (0.4ms)[0m 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-25 16:59:52.389210"], ["updated_at", "2016-01-25 16:59:52.389210"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:59:52.391834"], ["updated_at", "2016-01-25 16:59:52.391834"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:52.393868"], ["updated_at", "2016-01-25 16:59:52.393868"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-25 16:59:52.396854"], ["updated_at", "2016-01-25 16:59:52.396854"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:52.398496"], ["updated_at", "2016-01-25 16:59:52.398496"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 14"], ["created_at", "2016-01-25 16:59:52.401377"], ["updated_at", "2016-01-25 16:59:52.401377"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:52.403258"], ["updated_at", "2016-01-25 16:59:52.403258"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-25 16:59:52.406028"], ["updated_at", "2016-01-25 16:59:52.406028"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:52.407574"], ["updated_at", "2016-01-25 16:59:52.407574"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 1], ["updated_at", "2016-01-25 16:59:52.409991"], ["id", 2]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:59:52.411747"], ["updated_at", "2016-01-25 16:59:52.411747"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 39f4f47e-1ed5-41ec-bccc-a5e13d5becac) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[35mSQL (0.1ms)[0m 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-25 16:59:52.398496"], ["updated_at", "2016-01-25 16:59:52.398496"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:52.420397"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:52.403258"], ["updated_at", "2016-01-25 16:59:52.403258"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 16:59:52.425547"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[35mSQL (0.1ms)[0m 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-25 16:59:52.407574"], ["updated_at", "2016-01-25 16:59:52.407574"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 16:59:52.429937"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:59:52.431851"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [39f4f47e-1ed5-41ec-bccc-a5e13d5becac] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.9ms
+ [1m[36mPulitzer::Version Load (0.2ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35mPulitzer::Post Load (0.1ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 3], ["updated_at", "2016-01-25 16:59:52.441160"], ["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 16:59:52.442929"], ["updated_at", "2016-01-25 16:59:52.442929"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[35mSQL (0.1ms)[0m 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-25 16:59:52.398496"], ["updated_at", "2016-01-25 16:59:52.398496"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-25 16:59:52.451415"], ["id", 7]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:52.403258"], ["updated_at", "2016-01-25 16:59:52.403258"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-25 16:59:52.456475"], ["id", 8]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[35mSQL (0.1ms)[0m 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-25 16:59:52.407574"], ["updated_at", "2016-01-25 16:59:52.407574"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-25 16:59:52.461076"], ["id", 9]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 16:59:52.462940"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [86f6a549-5bc3-486e-81b0-ad9a9c3a9ba5] Performed Pulitzer::CloneVersionJob from Inline(default) in 21.4ms
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 4]]
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-25 16:59:52.479124"], ["updated_at", "2016-01-25 16:59:52.479124"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-25 16:59:52.490313"], ["updated_at", "2016-01-25 16:59:52.490313"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-25 16:59:52.495797"], ["updated_at", "2016-01-25 16:59:52.495797"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-25 16:59:52.500884"], ["updated_at", "2016-01-25 16:59:52.500884"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-25 16:59:52.506918"], ["updated_at", "2016-01-25 16:59:52.506918"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 16:59:52.508849"], ["updated_at", "2016-01-25 16:59:52.508849"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", "2016-01-25 16:59:52.516091"], ["updated_at", "2016-01-25 16:59:52.516091"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-25 16:59:52.518449"], ["updated_at", "2016-01-25 16:59:52.518449"]]
+ [1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-25 16:59:52.526943"], ["updated_at", "2016-01-25 16:59:52.526943"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-25 16:59:52.531901"], ["updated_at", "2016-01-25 16:59:52.531901"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-25 16:59:52.537456"], ["updated_at", "2016-01-25 16:59:52.537456"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:52.666486"], ["updated_at", "2016-01-25 16:59:52.666486"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-6"]]
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:52.706084"], ["updated_at", "2016-01-25 16:59:52.706084"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-01-25 16:59:52.709468"], ["updated_at", "2016-01-25 16:59:52.709468"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:52.711678"], ["updated_at", "2016-01-25 16:59:52.711678"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:52.717416"], ["updated_at", "2016-01-25 16:59:52.717416"]]
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-25 16:59:52.723313"], ["updated_at", "2016-01-25 16:59:52.723313"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:52.726118"], ["updated_at", "2016-01-25 16:59:52.726118"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "the-new-king-in-the-north"]]
+ [1m[35mSQL (0.1ms)[0m 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-25 16:59:52.729311"], ["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-25 16:59:52.748448"], ["updated_at", "2016-01-25 16:59:52.748448"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:52.754503"], ["updated_at", "2016-01-25 16:59:52.754503"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-01-25 16:59:52.759029"], ["updated_at", "2016-01-25 16:59:52.759029"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:52.761513"], ["updated_at", "2016-01-25 16:59:52.761513"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 16:59:52.763929"], ["updated_at", "2016-01-25 16:59:52.763929"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (1.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.3ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:52.796766"], ["updated_at", "2016-01-25 16:59:52.796766"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-01-25 16:59:52.804354"], ["updated_at", "2016-01-25 16:59:52.804354"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Load (0.1ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-25 16:59:52.860097"], ["updated_at", "2016-01-25 16:59:52.860097"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.3ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 16:59:52.877214"], ["updated_at", "2016-01-25 16:59:52.877214"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-01-25 16:59:52.880018"], ["updated_at", "2016-01-25 16:59:52.880018"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 16:59:52.882200"], ["updated_at", "2016-01-25 16:59:52.882200"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.7ms)[0m DELETE FROM "pulitzer_content_element_types";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
+ [1m[36m (0.7ms)[0m [1mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.7ms)[0m DELETE FROM "pulitzer_post_type_content_element_types";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
+ [1m[36m (0.7ms)[0m [1mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (0.7ms)[0m DELETE FROM "pulitzer_posts";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
+ [1m[36m (0.8ms)[0m [1mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (0.8ms)[0m DELETE FROM "pulitzer_versions";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
+ [1m[36m (0.7ms)[0m [1mDELETE FROM "search_locations";[0m
+ [1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
+ [1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'search_locations';[0m
+ [1m[35m (0.7ms)[0m DELETE FROM "pulitzer_post_tags";
+ [1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 17:00:52.308814"], ["updated_at", "2016-01-25 17:00:52.308814"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-1"]]
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["slug", "winterfell-news-1"], ["created_at", "2016-01-25 17:00:52.423534"], ["updated_at", "2016-01-25 17:00:52.423534"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 17:00:52.431627"], ["updated_at", "2016-01-25 17:00:52.431627"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 17:00:52.433926"], ["updated_at", "2016-01-25 17:00:52.433926"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 1' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", "2016-01-25 17:00:52.447057"], ["updated_at", "2016-01-25 17:00:52.447057"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 17:00:52.449656"], ["updated_at", "2016-01-25 17:00:52.449656"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", "2016-01-25 17:00:52.452584"], ["updated_at", "2016-01-25 17:00:52.452584"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 17:00:52.454067"], ["updated_at", "2016-01-25 17:00:52.454067"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 3' LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", "2016-01-25 17:00:52.456616"], ["updated_at", "2016-01-25 17:00:52.456616"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 17:00:52.458390"], ["updated_at", "2016-01-25 17:00:52.458390"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 17:00:52.462918"], ["updated_at", "2016-01-25 17:00:52.462918"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 17:00:52.449656"], ["updated_at", "2016-01-25 17:00:52.449656"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 17:00:52.472143"], ["id", 4]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 17:00:52.454067"], ["updated_at", "2016-01-25 17:00:52.454067"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 17:00:52.479001"], ["id", 5]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 17:00:52.458390"], ["updated_at", "2016-01-25 17:00:52.458390"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 17:00:52.484680"], ["id", 6]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 17:00:52.488371"], ["id", 3]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 3]]
+ [1m[35m (1.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 17:00:52.498869"], ["updated_at", "2016-01-25 17:00:52.498869"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-2"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["slug", "winterfell-news-2"], ["created_at", "2016-01-25 17:00:52.501596"], ["updated_at", "2016-01-25 17:00:52.501596"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 17:00:52.503500"], ["updated_at", "2016-01-25 17:00:52.503500"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 17:00:52.505522"], ["updated_at", "2016-01-25 17:00:52.505522"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 4' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", "2016-01-25 17:00:52.508487"], ["updated_at", "2016-01-25 17:00:52.508487"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 17:00:52.510506"], ["updated_at", "2016-01-25 17:00:52.510506"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 5' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", "2016-01-25 17:00:52.513437"], ["updated_at", "2016-01-25 17:00:52.513437"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 17:00:52.514939"], ["updated_at", "2016-01-25 17:00:52.514939"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 6' LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", "2016-01-25 17:00:52.517654"], ["updated_at", "2016-01-25 17:00:52.517654"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 17:00:52.519044"], ["updated_at", "2016-01-25 17:00:52.519044"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 17:00:52.520879"], ["updated_at", "2016-01-25 17:00:52.520879"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Pulitzer::CloneVersion !!!
+/Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+ [1m[35mPulitzer::ContentElement Load (0.0ms)[0m SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 17:00:52.510506"], ["updated_at", "2016-01-25 17:00:52.510506"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 17:00:52.527823"], ["id", 4]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 17:00:52.514939"], ["updated_at", "2016-01-25 17:00:52.514939"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 17:00:52.533455"], ["id", 5]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 17:00:52.519044"], ["updated_at", "2016-01-25 17:00:52.519044"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 17:00:52.538025"], ["id", 6]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 17:00:52.540301"], ["id", 3]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElement Load (0.2ms)[0m 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]]
+ [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 17:00:52.553487"], ["updated_at", "2016-01-25 17:00:52.553487"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 7' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 7"], ["created_at", "2016-01-25 17:00:52.561130"], ["updated_at", "2016-01-25 17:00:52.561130"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "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-25 17:00:52.563887"], ["updated_at", "2016-01-25 17:00:52.563887"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 8' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 8"], ["created_at", "2016-01-25 17:00:52.566514"], ["updated_at", "2016-01-25 17:00:52.566514"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_post_type_content_element_types" ("label", "content_element_type_id", "post_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["content_element_type_id", 2], ["post_type_id", 1], ["created_at", "2016-01-25 17:00:52.567870"], ["updated_at", "2016-01-25 17:00:52.567870"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 9' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 9"], ["created_at", "2016-01-25 17:00:52.570164"], ["updated_at", "2016-01-25 17:00:52.570164"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "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-25 17:00:52.571420"], ["updated_at", "2016-01-25 17:00:52.571420"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? [["post_type_id", 1]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-3"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 3"], ["post_type_id", 1], ["slug", "winterfell-news-3"], ["created_at", "2016-01-25 17:00:52.576389"], ["updated_at", "2016-01-25 17:00:52.576389"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 17:00:52.578234"], ["updated_at", "2016-01-25 17:00:52.578234"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mPulitzer::PostTypeContentElementType Load (0.1ms)[0m SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_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]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_elements" ("version_id", "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-25 17:00:52.585885"], ["updated_at", "2016-01-25 17:00:52.585885"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("version_id", "label", "content_element_type_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 17:00:52.591051"], ["updated_at", "2016-01-25 17:00:52.591051"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.2ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_elements" ("version_id", "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-25 17:00:52.597679"], ["updated_at", "2016-01-25 17:00:52.597679"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 17:00:52.605891"], ["updated_at", "2016-01-25 17:00:52.605891"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-4"]]
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 4"], ["post_type_id", 1], ["slug", "winterfell-news-4"], ["created_at", "2016-01-25 17:00:52.609327"], ["updated_at", "2016-01-25 17:00:52.609327"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 17:00:52.612601"], ["updated_at", "2016-01-25 17:00:52.612601"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 17:00:52.614356"], ["updated_at", "2016-01-25 17:00:52.614356"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 10' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 10"], ["created_at", "2016-01-25 17:00:52.617279"], ["updated_at", "2016-01-25 17:00:52.617279"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 17:00:52.618994"], ["updated_at", "2016-01-25 17:00:52.618994"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 11' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 11"], ["created_at", "2016-01-25 17:00:52.622097"], ["updated_at", "2016-01-25 17:00:52.622097"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 17:00:52.623781"], ["updated_at", "2016-01-25 17:00:52.623781"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 12' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 12"], ["created_at", "2016-01-25 17:00:52.626753"], ["updated_at", "2016-01-25 17:00:52.626753"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 17:00:52.628685"], ["updated_at", "2016-01-25 17:00:52.628685"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", "2016-01-25 17:00:52.631337"], ["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 17:00:52.633155"], ["updated_at", "2016-01-25 17:00:52.633155"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 3097ab3d-5c7d-4186-9654-46a65c4752ed) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[35mPulitzer::Post Load (0.1ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[35mPulitzer::ContentElement Load (0.1ms)[0m 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] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 17:00:52.618994"], ["updated_at", "2016-01-25 17:00:52.618994"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 17:00:52.647282"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[35mSQL (0.1ms)[0m 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-25 17:00:52.623781"], ["updated_at", "2016-01-25 17:00:52.623781"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 17:00:52.651825"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 17:00:52.628685"], ["updated_at", "2016-01-25 17:00:52.628685"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 17:00:52.656185"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[35mPulitzer::PostTag Load (0.0ms)[0m SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[35mSQL (0.1ms)[0m UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 0], ["updated_at", "2016-01-25 17:00:52.658046"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [3097ab3d-5c7d-4186-9654-46a65c4752ed] Performed Pulitzer::CloneVersionJob from Inline(default) in 24.01ms
+ [1m[35mPulitzer::Version Load (0.1ms)[0m SELECT "pulitzer_versions".* 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]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? [["version_id", 3]]
+ [1m[36m (0.9ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 17:00:52.670965"], ["updated_at", "2016-01-25 17:00:52.670965"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-5"]]
+ [1m[35mSQL (0.4ms)[0m 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-25 17:00:52.673912"], ["updated_at", "2016-01-25 17:00:52.673912"]]
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 17:00:52.676287"], ["updated_at", "2016-01-25 17:00:52.676287"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 17:00:52.678341"], ["updated_at", "2016-01-25 17:00:52.678341"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 13' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 13"], ["created_at", "2016-01-25 17:00:52.681160"], ["updated_at", "2016-01-25 17:00:52.681160"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 17:00:52.682602"], ["updated_at", "2016-01-25 17:00:52.682602"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 14"], ["created_at", "2016-01-25 17:00:52.685310"], ["updated_at", "2016-01-25 17:00:52.685310"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m 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-25 17:00:52.686951"], ["updated_at", "2016-01-25 17:00:52.686951"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 15' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 15"], ["created_at", "2016-01-25 17:00:52.689941"], ["updated_at", "2016-01-25 17:00:52.689941"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "version_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 17:00:52.691712"], ["updated_at", "2016-01-25 17:00:52.691712"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 1], ["updated_at", "2016-01-25 17:00:52.694536"], ["id", 2]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 17:00:52.696198"], ["updated_at", "2016-01-25 17:00:52.696198"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 67699a81-c93f-4ab2-9d42-e66c9ad5f5b1) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[35mSQL (0.1ms)[0m 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-25 17:00:52.682602"], ["updated_at", "2016-01-25 17:00:52.682602"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 17:00:52.704999"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 17:00:52.686951"], ["updated_at", "2016-01-25 17:00:52.686951"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[35mSQL (0.2ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 3], ["updated_at", "2016-01-25 17:00:52.709409"], ["id", 5]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[35mPulitzer::ContentElementType Load (0.1ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[35mSQL (0.1ms)[0m 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-25 17:00:52.691712"], ["updated_at", "2016-01-25 17:00:52.691712"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 3], ["updated_at", "2016-01-25 17:00:52.716688"], ["id", 6]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[36mSQL (0.0ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 17:00:52.718856"], ["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [67699a81-c93f-4ab2-9d42-e66c9ad5f5b1] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.71ms
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Post Load (0.0ms)[0m SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 1]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 3], ["updated_at", "2016-01-25 17:00:52.725852"], ["id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", "2016-01-25 17:00:52.728207"], ["updated_at", "2016-01-25 17:00:52.728207"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: e3d32eca-6783-49f9-bc9c-cf1e13861e83) to Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1 [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] Performing Pulitzer::CloneVersionJob from Inline(default) with arguments: gid://dummy/Pulitzer::Version/2
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[36mPulitzer::Post Load (0.0ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT 1[0m [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] Pulitzer::CloneVersion !!!
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] /Users/eric/.rvm/gems/ruby-2.2.3/bin/rspec
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 1]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[35mSQL (0.1ms)[0m 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-25 17:00:52.682602"], ["updated_at", "2016-01-25 17:00:52.682602"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-25 17:00:52.736252"], ["id", 7]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[36mPulitzer::ContentElementType Load (0.0ms)[0m [1mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1[0m [["id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "image", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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-25 17:00:52.686951"], ["updated_at", "2016-01-25 17:00:52.686951"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[35mSQL (0.0ms)[0m UPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["version_id", 4], ["updated_at", "2016-01-25 17:00:52.740422"], ["id", 8]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[35mPulitzer::ContentElementType Load (0.0ms)[0m SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT 1 [["id", 3]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[35mSQL (0.1ms)[0m 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-25 17:00:52.691712"], ["updated_at", "2016-01-25 17:00:52.691712"]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_content_elements" SET "version_id" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["version_id", 4], ["updated_at", "2016-01-25 17:00:52.746904"], ["id", 9]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 2]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 0], ["updated_at", "2016-01-25 17:00:52.749605"], ["id", 4]]
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[ActiveJob] [Pulitzer::CloneVersionJob] [e3d32eca-6783-49f9-bc9c-cf1e13861e83] Performed Pulitzer::CloneVersionJob from Inline(default) in 23.14ms
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT 1[0m [["id", 3]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1[0m [["post_id", 1], ["status", 0]]
+ [1m[35mPulitzer::Version Load (0.0ms)[0m SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT 1 [["post_id", 1], ["status", 0]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ?[0m [["version_id", 4]]
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 16' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 16"], ["created_at", "2016-01-25 17:00:52.765104"], ["updated_at", "2016-01-25 17:00:52.765104"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 17' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 17"], ["created_at", "2016-01-25 17:00:52.775410"], ["updated_at", "2016-01-25 17:00:52.775410"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 18' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 18"], ["created_at", "2016-01-25 17:00:52.780754"], ["updated_at", "2016-01-25 17:00:52.780754"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 19' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 19"], ["created_at", "2016-01-25 17:00:52.785669"], ["updated_at", "2016-01-25 17:00:52.785669"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-01-25 17:00:52.791077"], ["updated_at", "2016-01-25 17:00:52.791077"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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-25 17:00:52.792843"], ["updated_at", "2016-01-25 17:00:52.792843"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", "2016-01-25 17:00:52.801088"], ["updated_at", "2016-01-25 17:00:52.801088"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_content_elements" ("label", "title", "body", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 18"], ["title", "Night's Watch"], ["body", "https://www.youtube.com/watch?v=yLisM2KPDIA"], ["content_element_type_id", 1], ["created_at", "2016-01-25 17:00:52.802915"], ["updated_at", "2016-01-25 17:00:52.802915"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 20' LIMIT 1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 20"], ["created_at", "2016-01-25 17:00:52.808505"], ["updated_at", "2016-01-25 17:00:52.808505"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 21' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 21"], ["created_at", "2016-01-25 17:00:52.815633"], ["updated_at", "2016-01-25 17:00:52.815633"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-01-25 17:00:52.820928"], ["updated_at", "2016-01-25 17:00:52.820928"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 17:00:52.949690"], ["updated_at", "2016-01-25 17:00:52.949690"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "winterfell-news-6"]]
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 17:00:52.989566"], ["updated_at", "2016-01-25 17:00:52.989566"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-7"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 7"], ["post_type_id", 1], ["slug", "winterfell-news-7"], ["created_at", "2016-01-25 17:00:52.993142"], ["updated_at", "2016-01-25 17:00:52.993142"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 17:00:52.995303"], ["updated_at", "2016-01-25 17:00:52.995303"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 17:00:53.000959"], ["updated_at", "2016-01-25 17:00:53.000959"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.0ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-8"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 8"], ["post_type_id", 1], ["slug", "winterfell-news-8"], ["created_at", "2016-01-25 17:00:53.005140"], ["updated_at", "2016-01-25 17:00:53.005140"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 17:00:53.007272"], ["updated_at", "2016-01-25 17:00:53.007272"]]
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" != 1) AND "pulitzer_posts"."slug" = ? LIMIT 1[0m [["slug", "the-new-king-in-the-north"]]
+ [1m[35mSQL (0.5ms)[0m 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-25 17:00:53.012291"], ["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 1' LIMIT 1[0m
+ [1m[35mSQL (0.9ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The north 1"], ["created_at", "2016-01-25 17:00:53.027030"], ["updated_at", "2016-01-25 17:00:53.027030"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 17:00:53.034864"], ["updated_at", "2016-01-25 17:00:53.034864"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-9"]]
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 9"], ["post_type_id", 1], ["slug", "winterfell-news-9"], ["created_at", "2016-01-25 17:00:53.038818"], ["updated_at", "2016-01-25 17:00:53.038818"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 17:00:53.040950"], ["updated_at", "2016-01-25 17:00:53.040950"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", "2016-01-25 17:00:53.043473"], ["updated_at", "2016-01-25 17:00:53.043473"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.3ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 17:00:53.073774"], ["updated_at", "2016-01-25 17:00:53.073774"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text 22' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 22"], ["created_at", "2016-01-25 17:00:53.078701"], ["updated_at", "2016-01-25 17:00:53.078701"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'The north 2' LIMIT 1
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" IS NULL LIMIT 1[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mPulitzer::Tag Load (0.1ms)[0m SELECT "pulitzer_tags".* FROM "pulitzer_tags" ORDER BY "pulitzer_tags"."id" ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "pulitzer_tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "a"], ["created_at", "2016-01-25 17:00:53.139324"], ["updated_at", "2016-01-25 17:00:53.139324"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Tag Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'a' LIMIT 1
+ [1m[36mPulitzer::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "pulitzer_tags" WHERE "pulitzer_tags"."name" = 'A' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "pulitzer_post_types" ("name", "plural", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["plural", "f"], ["created_at", "2016-01-25 17:00:53.156139"], ["updated_at", "2016-01-25 17:00:53.156139"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPulitzer::Post Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT 1 [["slug", "winterfell-news-10"]]
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 10"], ["post_type_id", 1], ["slug", "winterfell-news-10"], ["created_at", "2016-01-25 17:00:53.159531"], ["updated_at", "2016-01-25 17:00:53.159531"]]
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", "2016-01-25 17:00:53.163334"], ["updated_at", "2016-01-25 17:00:53.163334"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction