spec/dummy/log/test.log in pulitzer-0.10.0 vs spec/dummy/log/test.log in pulitzer-0.10.1
- old
+ new
@@ -102658,5 +102658,1733 @@
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering text template
Rendered text template (0.0ms)
Completed 200 OK in 14ms (Views: 0.5ms | ActiveRecord: 0.6ms)
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
+Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
+ [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM "pulitzer_content_element_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.4ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "pulitzer_posts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "pulitzer_post_type_content_element_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "pulitzer_versions";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_versions';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "pulitzer_post_tags";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "pulitzer_partials";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_partials';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_section_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_sections";[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_layouts";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_layouts';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 19:06:09 UTC], ["updated_at", 2017-02-27 19:06:09 UTC], ["plural", false]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["created_at", 2017-02-27 19:06:09 UTC], ["updated_at", 2017-02-27 19:06:09 UTC], ["slug", "winterfell-news-1"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 19:06:09 UTC], ["updated_at", 2017-02-27 19:06:09 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 19:06:09 UTC], ["updated_at", 2017-02-27 19:06:09 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", 2017-02-27 19:06:09 UTC], ["updated_at", 2017-02-27 19:06:09 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 19:06:09 UTC], ["updated_at", 2017-02-27 19:06:09 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 2"], ["created_at", 2017-02-27 19:06:09 UTC], ["updated_at", 2017-02-27 19:06:09 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 19:06:09 UTC], ["updated_at", 2017-02-27 19:06:09 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 3"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", 2017-02-27 19:06:09 UTC], ["updated_at", 2017-02-27 19:06:09 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 19:06:09 UTC], ["updated_at", 2017-02-27 19:06:09 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElement Load (0.2ms)[0m [1m[34mSELECT "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[35m (0.5ms)[0m [1m[31mrollback transaction[0m
+Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "pulitzer_content_element_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.4ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM "pulitzer_posts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "pulitzer_post_type_content_element_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "pulitzer_versions";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_versions';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "pulitzer_post_tags";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (1.9ms)[0m [1m[31mDELETE FROM "pulitzer_partials";[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_partials';[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_section_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_sections";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_layouts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_layouts';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:44:14 UTC], ["updated_at", 2017-02-27 22:44:14 UTC], ["plural", false]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["created_at", 2017-02-27 22:44:14 UTC], ["updated_at", 2017-02-27 22:44:14 UTC], ["slug", "winterfell-news-1"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:44:14 UTC], ["updated_at", 2017-02-27 22:44:14 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:44:14 UTC], ["updated_at", 2017-02-27 22:44:14 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", 2017-02-27 22:44:14 UTC], ["updated_at", 2017-02-27 22:44:14 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 22:44:14 UTC], ["updated_at", 2017-02-27 22:44:14 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 2"], ["created_at", 2017-02-27 22:44:14 UTC], ["updated_at", 2017-02-27 22:44:14 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 22:44:14 UTC], ["updated_at", 2017-02-27 22:44:14 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 3"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", 2017-02-27 22:44:14 UTC], ["updated_at", 2017-02-27 22:44:14 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 22:44:14 UTC], ["updated_at", 2017-02-27 22:44:14 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ?[0m [["id", 2]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
+Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.9ms)[0m [1m[31mDELETE FROM "pulitzer_content_element_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_posts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_post_type_content_element_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_versions";[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_versions';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "pulitzer_post_tags";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_partials";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_partials';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_section_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_sections";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_layouts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_layouts';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:44:46 UTC], ["updated_at", 2017-02-27 22:44:46 UTC], ["plural", false]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["created_at", 2017-02-27 22:44:46 UTC], ["updated_at", 2017-02-27 22:44:46 UTC], ["slug", "winterfell-news-1"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:44:46 UTC], ["updated_at", 2017-02-27 22:44:46 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:44:46 UTC], ["updated_at", 2017-02-27 22:44:46 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", 2017-02-27 22:44:46 UTC], ["updated_at", 2017-02-27 22:44:46 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 22:44:46 UTC], ["updated_at", 2017-02-27 22:44:46 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 2"], ["created_at", 2017-02-27 22:44:46 UTC], ["updated_at", 2017-02-27 22:44:46 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 22:44:46 UTC], ["updated_at", 2017-02-27 22:44:46 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 3"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", 2017-02-27 22:44:46 UTC], ["updated_at", 2017-02-27 22:44:46 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 22:44:46 UTC], ["updated_at", 2017-02-27 22:44:46 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ?[0m [["id", 2]]
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.2ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (1.2ms)[0m [1m[31mrollback transaction[0m
+Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM "pulitzer_content_element_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_posts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_post_type_content_element_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "pulitzer_versions";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_versions';[0m
+ [1m[35m (1.6ms)[0m [1m[31mDELETE FROM "pulitzer_post_tags";[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "pulitzer_partials";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_partials';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_section_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_sections";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_layouts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_layouts';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:46:03 UTC], ["updated_at", 2017-02-27 22:46:03 UTC], ["plural", false]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["created_at", 2017-02-27 22:46:03 UTC], ["updated_at", 2017-02-27 22:46:03 UTC], ["slug", "winterfell-news-1"]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:46:03 UTC], ["updated_at", 2017-02-27 22:46:03 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:46:03 UTC], ["updated_at", 2017-02-27 22:46:03 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", 2017-02-27 22:46:03 UTC], ["updated_at", 2017-02-27 22:46:03 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 22:46:03 UTC], ["updated_at", 2017-02-27 22:46:03 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 2"], ["created_at", 2017-02-27 22:46:03 UTC], ["updated_at", 2017-02-27 22:46:03 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 22:46:03 UTC], ["updated_at", 2017-02-27 22:46:03 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 3"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", 2017-02-27 22:46:03 UTC], ["updated_at", 2017-02-27 22:46:03 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 22:46:03 UTC], ["updated_at", 2017-02-27 22:46:03 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ?[0m [["id", 2]]
+ [1m[36mPulitzer::Version Load (0.2ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ?[0m [["post_id", 1]]
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
+Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.9ms)[0m [1m[31mDELETE FROM "pulitzer_content_element_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_posts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_post_type_content_element_types";[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "pulitzer_versions";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_versions';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_post_tags";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_partials";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_partials';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_section_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_sections";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_layouts";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_layouts';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:47:13 UTC], ["updated_at", 2017-02-27 22:47:13 UTC], ["plural", false]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["created_at", 2017-02-27 22:47:13 UTC], ["updated_at", 2017-02-27 22:47:13 UTC], ["slug", "winterfell-news-1"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:47:13 UTC], ["updated_at", 2017-02-27 22:47:13 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:47:13 UTC], ["updated_at", 2017-02-27 22:47:13 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", 2017-02-27 22:47:13 UTC], ["updated_at", 2017-02-27 22:47:13 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 22:47:13 UTC], ["updated_at", 2017-02-27 22:47:13 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 2"], ["created_at", 2017-02-27 22:47:13 UTC], ["updated_at", 2017-02-27 22:47:13 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 22:47:13 UTC], ["updated_at", 2017-02-27 22:47:13 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 3"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", 2017-02-27 22:47:13 UTC], ["updated_at", 2017-02-27 22:47:13 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 22:47:13 UTC], ["updated_at", 2017-02-27 22:47:13 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ?[0m [["id", 2]]
+ [1m[36mPulitzer::Version Load (0.2ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 1]]
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
+Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
+ [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM "pulitzer_content_element_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_posts";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_post_type_content_element_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "pulitzer_versions";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_versions';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_post_tags";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_partials";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_partials';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_section_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_sections";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_layouts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_layouts';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC], ["plural", false]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC], ["slug", "winterfell-news-1"]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 2"], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 3"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ?[0m [["id", 2]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 1]]
+ [1m[36mPulitzer::FreeFormSection Load (0.1ms)[0m [1m[34mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 1]]
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[31mDELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.2ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ?[0m [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::Partial Load (0.1ms)[0m [1m[34mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
+Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM "pulitzer_content_element_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_posts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_post_type_content_element_types";[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "pulitzer_versions";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_versions';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_post_tags";[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.3ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "pulitzer_partials";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_partials';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_section_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_sections";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_layouts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_layouts';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC], ["plural", false]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC], ["slug", "winterfell-news-1"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 2"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 3"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ?[0m [["id", 2]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 1]]
+ [1m[36mPulitzer::FreeFormSection Load (0.1ms)[0m [1m[34mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 1]]
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[31mDELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ?[0m [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::Partial Load (0.1ms)[0m [1m[34mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[35m (1.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC], ["plural", false]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC], ["slug", "winterfell-news-2"]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 4"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 5"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 5"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 6"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ?[0m [["id", 2]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ?[0m [["post_id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 1]]
+ [1m[36mPulitzer::FreeFormSection Load (0.0ms)[0m [1m[34mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 1]]
+ [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1m[34mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[31mDELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElement Load (0.2ms)[0m [1m[34mSELECT "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[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-02-27 22:50:19 UTC], ["updated_at", 2017-02-27 22:50:19 UTC]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-02-27 22:50:19 UTC], ["updated_at", 2017-02-27 22:50:19 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ?[0m [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::Partial Load (0.1ms)[0m [1m[34mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[35m (1.1ms)[0m [1m[31mrollback transaction[0m
+Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.9ms)[0m [1m[31mDELETE FROM "pulitzer_content_element_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_posts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_post_type_content_element_types";[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "pulitzer_versions";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_versions';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_post_tags";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.3ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_partials";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_partials';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_section_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_sections";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_layouts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_layouts';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC], ["plural", false]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC], ["slug", "winterfell-news-1"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 2"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 3"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ?[0m [["id", 2]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 1]]
+ [1m[36mPulitzer::FreeFormSection Load (0.1ms)[0m [1m[34mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 1]]
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[31mDELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ?[0m [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::Partial Load (0.1ms)[0m [1m[34mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[35m (1.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC], ["plural", false]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC], ["slug", "winterfell-news-2"]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 4"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 5"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 5"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 6"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ?[0m [["id", 2]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ?[0m [["post_id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 1]]
+ [1m[36mPulitzer::FreeFormSection Load (0.0ms)[0m [1m[34mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 1]]
+ [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1m[34mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[31mDELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1m[34mSELECT "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[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
+Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM "pulitzer_content_element_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_posts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_post_type_content_element_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_versions";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_versions';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_post_tags";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_partials";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_partials';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_section_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_sections";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "pulitzer_layouts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_layouts';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC], ["plural", false]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC], ["slug", "winterfell-news-1"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 2"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 3"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ?[0m [["id", 2]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 1]]
+ [1m[36mPulitzer::FreeFormSection Load (0.1ms)[0m [1m[34mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 1]]
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[31mDELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.2ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ?[0m [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::Partial Load (0.1ms)[0m [1m[34mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC], ["plural", false]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC], ["slug", "winterfell-news-2"]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 4"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 5"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 5"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 6"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ?[0m [["id", 2]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ?[0m [["post_id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 1]]
+ [1m[36mPulitzer::FreeFormSection Load (0.0ms)[0m [1m[34mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 1]]
+ [1m[36mPulitzer::PostTag Load (0.0ms)[0m [1m[34mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[31mDELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "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[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ?[0m [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::Partial Load (0.1ms)[0m [1m[34mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1m[34mSELECT "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[35m (0.7ms)[0m [1m[31mrollback transaction[0m
+Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.4ms)[0m [1m[31mDELETE FROM "pulitzer_content_element_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.6ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';[0m
+ [1m[35m (2.1ms)[0m [1m[31mDELETE FROM "pulitzer_posts";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "pulitzer_post_type_content_element_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "pulitzer_versions";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_versions';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_post_tags";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "pulitzer_partials";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_partials';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_section_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_sections";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_layouts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_layouts';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC], ["plural", false]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC], ["slug", "winterfell-news-1"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 2"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 3"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ?[0m [["id", 2]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 1]]
+ [1m[36mPulitzer::FreeFormSection Load (0.1ms)[0m [1m[34mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 1]]
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[31mDELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ?[0m [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::Partial Load (0.1ms)[0m [1m[34mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC], ["plural", false]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC], ["slug", "winterfell-news-2"]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 4"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 5"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 5"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 6"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::PostTypeContentElementType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_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[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Load (0.3ms)[0m [1m[34mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "A New Field for this Post Type"], ["version_id", 2], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::FreeFormSectionType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "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[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_post_type_content_element_types" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ?[0m [["label", "A changed label"], ["updated_at", 2017-02-27 23:06:52 UTC], ["id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.0ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."label" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2], ["label", "A changed label"]]
+ [1m[36mPulitzer::Partial Load (0.0ms)[0m [1m[34mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
+Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.8ms)[0m [1m[31mDELETE FROM "pulitzer_content_element_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_posts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "pulitzer_post_type_content_element_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_versions";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_versions';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "pulitzer_post_tags";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_partials";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_partials';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_section_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_sections";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_layouts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_layouts';[0m
+ [1m[35m (2.9ms)[0m [1m[31mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC], ["plural", false]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC], ["slug", "winterfell-news-1"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 2"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 3"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ?[0m [["id", 2]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 1]]
+ [1m[36mPulitzer::FreeFormSection Load (0.1ms)[0m [1m[34mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 1]]
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[31mDELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.2ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ?[0m [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::Partial Load (0.1ms)[0m [1m[34mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[35m (1.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC], ["plural", false]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC], ["slug", "winterfell-news-2"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 4"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 5"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 5"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 6"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::PostTypeContentElementType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_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[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "A New Field for this Post Type"], ["version_id", 2], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::FreeFormSectionType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1m[34mSELECT "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[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_post_type_content_element_types" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ?[0m [["label", "A changed label"], ["updated_at", 2017-02-27 23:07:26 UTC], ["id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.0ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."label" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2], ["label", "A changed label"]]
+ [1m[36mPulitzer::Partial Load (0.0ms)[0m [1m[34mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
+Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.8ms)[0m [1m[31mDELETE FROM "pulitzer_content_element_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_posts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (0.7ms)[0m [1m[31mDELETE FROM "pulitzer_post_type_content_element_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_versions";[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_versions';[0m
+ [1m[35m (1.3ms)[0m [1m[31mDELETE FROM "pulitzer_post_tags";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "pulitzer_partials";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_partials';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_section_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_sections";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_layouts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_layouts';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC], ["plural", false]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC], ["slug", "winterfell-news-1"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 2"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 3"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ?[0m [["id", 2]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 1]]
+ [1m[36mPulitzer::FreeFormSection Load (0.1ms)[0m [1m[34mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 1]]
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[31mDELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ?[0m [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::Partial Load (0.1ms)[0m [1m[34mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[35m (1.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC], ["plural", false]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC], ["slug", "winterfell-news-2"]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 4"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 5"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 5"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 6"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::PostTypeContentElementType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_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[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "A New Field for this Post Type"], ["version_id", 2], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::FreeFormSectionType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "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[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_post_type_content_element_types" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ?[0m [["label", "A changed label"], ["updated_at", 2017-02-27 23:08:07 UTC], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."label" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2], ["label", "A changed label"]]
+ [1m[36mPulitzer::Partial Load (0.6ms)[0m [1m[34mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1m[34mSELECT "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[35m (0.5ms)[0m [1m[31mrollback transaction[0m
+Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.8ms)[0m [1m[31mDELETE FROM "pulitzer_content_element_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_posts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_post_type_content_element_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_versions";[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_versions';[0m
+ [1m[35m (1.5ms)[0m [1m[31mDELETE FROM "pulitzer_post_tags";[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_partials";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_partials';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_section_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_sections";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_layouts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_layouts';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC], ["plural", false]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC], ["slug", "winterfell-news-1"]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 2"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 3"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ?[0m [["id", 2]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 1]]
+ [1m[36mPulitzer::FreeFormSection Load (0.1ms)[0m [1m[34mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 1]]
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[31mDELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ?[0m [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::Partial Load (0.1ms)[0m [1m[34mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[35m (1.2ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC], ["plural", false]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC], ["slug", "winterfell-news-2"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 4"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 5"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 5"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 6"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::PostTypeContentElementType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_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[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Load (0.3ms)[0m [1m[34mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "A New Field for this Post Type"], ["version_id", 2], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::FreeFormSectionType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1m[34mSELECT "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[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_post_type_content_element_types" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ?[0m [["label", "A changed label"], ["updated_at", 2017-02-27 23:09:27 UTC], ["id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."label" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2], ["label", "A New Field for this Post Type"]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_content_elements" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["label", "A changed label"], ["updated_at", 2017-02-27 23:09:27 UTC], ["id", 4]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Partial Load (0.0ms)[0m [1m[34mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1m[34mSELECT "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[35m (0.5ms)[0m [1m[31mrollback transaction[0m
+Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (1.7ms)[0m [1m[31mDELETE FROM "pulitzer_content_element_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_posts";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_posts';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_tags";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_tags';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_post_type_content_element_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';[0m
+ [1m[35m (0.9ms)[0m [1m[31mDELETE FROM "pulitzer_versions";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_versions';[0m
+ [1m[35m (1.1ms)[0m [1m[31mDELETE FROM "pulitzer_post_tags";[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.3ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';[0m
+ [1m[35m (1.0ms)[0m [1m[31mDELETE FROM "pulitzer_post_types";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_post_types';[0m
+ [1m[35m (1.2ms)[0m [1m[31mDELETE FROM "pulitzer_partials";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_partials';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_section_types";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_free_form_sections";[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_layouts";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_layouts';[0m
+ [1m[35m (0.8ms)[0m [1m[31mDELETE FROM "pulitzer_content_elements";[0m
+ [1m[35m (0.2ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
+ [1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC], ["plural", false]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 1"], ["post_type_id", 1], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC], ["slug", "winterfell-news-1"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 1"], ["LIMIT", 1]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 1"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 2"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 3"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 3"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::PostTypeContentElementType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_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[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "A New Field for this Post Type"], ["version_id", 2], ["post_type_content_element_type_id", 1], ["content_element_type_id", 4], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::FreeFormSectionType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::ContentElement Load (0.2ms)[0m [1m[34mSELECT "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[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_post_type_content_element_types" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ?[0m [["label", "A changed label"], ["updated_at", 2017-02-27 23:10:28 UTC], ["id", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? AND "pulitzer_content_elements"."label" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 2], ["label", "A New Field for this Post Type"]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_content_elements" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["label", "A changed label"], ["updated_at", 2017-02-27 23:10:28 UTC], ["id", 4]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Partial Load (0.1ms)[0m [1m[34mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
+ [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "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[35m (1.3ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC], ["plural", false]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "winterfell-news-2"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["title", "Winterfell news 2"], ["post_type_id", 1], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC], ["slug", "winterfell-news-2"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 4"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 4"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 1], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 5"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 5"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 2], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text 6"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text 6"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["version_id", 2], ["content_element_type_id", 3], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ?[0m [["id", 2]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElement Load (0.0ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 1]]
+ [1m[36mPulitzer::FreeFormSection Load (0.1ms)[0m [1m[34mSELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ?[0m [["version_id", 1]]
+ [1m[36mPulitzer::PostTag Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ?[0m [["version_id", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[31mDELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[36mPulitzer::PostType Load (0.3ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["post_type_id", 1], ["content_element_type_id", 4], ["label", "A New Field for this Post Type"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPulitzer::Post Load (0.0ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[36mPulitzer::Version Load (0.0ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ?[0m [["post_id", 1], ["status", 4]]
+ [1m[36mPulitzer::Partial Load (0.2ms)[0m [1m[34mSELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ?[0m [["post_type_id", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m