pulitzer 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -102660,3 +102660,1731 @@ Processing by Pulitzer::TagsController#destroy as HTML
102660
102660
  Rendered text template (0.0ms)
102661
102661
  Completed 200 OK in 14ms (Views: 0.5ms | ActiveRecord: 0.6ms)
102662
102662
   (0.5ms) rollback transaction
102663
+ Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
102664
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
102665
+  (1.5ms) DELETE FROM "pulitzer_content_element_types";
102666
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102667
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
102668
+  (1.6ms) DELETE FROM "pulitzer_posts";
102669
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102670
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
102671
+  (1.6ms) DELETE FROM "pulitzer_tags";
102672
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102673
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
102674
+  (1.1ms) DELETE FROM "pulitzer_post_type_content_element_types";
102675
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102676
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
102677
+  (1.2ms) DELETE FROM "pulitzer_versions";
102678
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102679
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
102680
+  (1.1ms) DELETE FROM "pulitzer_post_tags";
102681
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102682
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
102683
+  (1.1ms) DELETE FROM "pulitzer_post_types";
102684
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102685
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
102686
+  (1.2ms) DELETE FROM "pulitzer_partials";
102687
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102688
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';
102689
+  (1.0ms) DELETE FROM "pulitzer_free_form_section_types";
102690
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102691
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
102692
+  (1.5ms) DELETE FROM "pulitzer_free_form_sections";
102693
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102694
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';
102695
+  (0.9ms) DELETE FROM "pulitzer_layouts";
102696
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102697
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
102698
+  (1.2ms) DELETE FROM "pulitzer_content_elements";
102699
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102700
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
102701
+  (0.0ms) begin transaction
102702
+  (0.0ms) commit transaction
102703
+  (0.0ms) begin transaction
102704
+  (0.1ms) SAVEPOINT active_record_1
102705
+ SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 19:06:09 UTC], ["updated_at", 2017-02-27 19:06:09 UTC], ["plural", false]]
102706
+  (0.1ms) RELEASE SAVEPOINT active_record_1
102707
+  (0.1ms) SAVEPOINT active_record_1
102708
+ Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-1"], ["LIMIT", 1]]
102709
+ SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
102710
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 19:06:09 UTC], ["updated_at", 2017-02-27 19:06:09 UTC]]
102711
+  (0.1ms) RELEASE SAVEPOINT active_record_1
102712
+  (0.0ms) SAVEPOINT active_record_1
102713
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 19:06:09 UTC], ["updated_at", 2017-02-27 19:06:09 UTC]]
102714
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102715
+  (0.1ms) SAVEPOINT active_record_1
102716
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 1"], ["LIMIT", 1]]
102717
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", 2017-02-27 19:06:09 UTC], ["updated_at", 2017-02-27 19:06:09 UTC]]
102718
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102719
+  (0.0ms) SAVEPOINT active_record_1
102720
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
102721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102722
+  (0.0ms) SAVEPOINT active_record_1
102723
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 2"], ["LIMIT", 1]]
102724
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", 2017-02-27 19:06:09 UTC], ["updated_at", 2017-02-27 19:06:09 UTC]]
102725
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102726
+  (0.0ms) SAVEPOINT active_record_1
102727
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
102728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102729
+  (0.0ms) SAVEPOINT active_record_1
102730
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]]
102731
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-02-27 19:06:09 UTC], ["updated_at", 2017-02-27 19:06:09 UTC]]
102732
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102733
+  (0.0ms) SAVEPOINT active_record_1
102734
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
102735
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102736
+ Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
102737
+  (0.5ms) rollback transaction
102738
+ Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
102739
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
102740
+  (1.4ms) DELETE FROM "pulitzer_content_element_types";
102741
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102742
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
102743
+  (1.7ms) DELETE FROM "pulitzer_posts";
102744
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102745
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
102746
+  (1.6ms) DELETE FROM "pulitzer_tags";
102747
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102748
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
102749
+  (1.2ms) DELETE FROM "pulitzer_post_type_content_element_types";
102750
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102751
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
102752
+  (1.3ms) DELETE FROM "pulitzer_versions";
102753
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102754
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
102755
+  (1.1ms) DELETE FROM "pulitzer_post_tags";
102756
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102757
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
102758
+  (1.3ms) DELETE FROM "pulitzer_post_types";
102759
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102760
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
102761
+  (1.9ms) DELETE FROM "pulitzer_partials";
102762
+  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102763
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';
102764
+  (1.3ms) DELETE FROM "pulitzer_free_form_section_types";
102765
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102766
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
102767
+  (1.3ms) DELETE FROM "pulitzer_free_form_sections";
102768
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102769
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';
102770
+  (0.8ms) DELETE FROM "pulitzer_layouts";
102771
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102772
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
102773
+  (1.2ms) DELETE FROM "pulitzer_content_elements";
102774
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102775
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
102776
+  (0.0ms) begin transaction
102777
+  (0.0ms) commit transaction
102778
+  (0.0ms) begin transaction
102779
+  (0.2ms) SAVEPOINT active_record_1
102780
+ SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:44:14 UTC], ["updated_at", 2017-02-27 22:44:14 UTC], ["plural", false]]
102781
+  (0.1ms) RELEASE SAVEPOINT active_record_1
102782
+  (0.1ms) SAVEPOINT active_record_1
102783
+ Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-1"], ["LIMIT", 1]]
102784
+ SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
102785
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:44:14 UTC], ["updated_at", 2017-02-27 22:44:14 UTC]]
102786
+  (0.1ms) RELEASE SAVEPOINT active_record_1
102787
+  (0.0ms) SAVEPOINT active_record_1
102788
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:44:14 UTC], ["updated_at", 2017-02-27 22:44:14 UTC]]
102789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102790
+  (0.1ms) SAVEPOINT active_record_1
102791
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 1"], ["LIMIT", 1]]
102792
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", 2017-02-27 22:44:14 UTC], ["updated_at", 2017-02-27 22:44:14 UTC]]
102793
+  (0.1ms) RELEASE SAVEPOINT active_record_1
102794
+  (0.0ms) SAVEPOINT active_record_1
102795
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
102796
+  (0.1ms) RELEASE SAVEPOINT active_record_1
102797
+  (0.0ms) SAVEPOINT active_record_1
102798
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 2"], ["LIMIT", 1]]
102799
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", 2017-02-27 22:44:14 UTC], ["updated_at", 2017-02-27 22:44:14 UTC]]
102800
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102801
+  (0.0ms) SAVEPOINT active_record_1
102802
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
102803
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102804
+  (0.0ms) SAVEPOINT active_record_1
102805
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]]
102806
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-02-27 22:44:14 UTC], ["updated_at", 2017-02-27 22:44:14 UTC]]
102807
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102808
+  (0.0ms) SAVEPOINT active_record_1
102809
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
102810
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102811
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 2]]
102812
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
102813
+  (0.5ms) rollback transaction
102814
+ Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
102815
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
102816
+  (1.9ms) DELETE FROM "pulitzer_content_element_types";
102817
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102818
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
102819
+  (0.9ms) DELETE FROM "pulitzer_posts";
102820
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102821
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
102822
+  (0.9ms) DELETE FROM "pulitzer_tags";
102823
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102824
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
102825
+  (0.9ms) DELETE FROM "pulitzer_post_type_content_element_types";
102826
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102827
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
102828
+  (0.9ms) DELETE FROM "pulitzer_versions";
102829
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102830
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
102831
+  (1.2ms) DELETE FROM "pulitzer_post_tags";
102832
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102833
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
102834
+  (1.1ms) DELETE FROM "pulitzer_post_types";
102835
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102836
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
102837
+  (1.0ms) DELETE FROM "pulitzer_partials";
102838
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102839
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';
102840
+  (0.8ms) DELETE FROM "pulitzer_free_form_section_types";
102841
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102842
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
102843
+  (0.8ms) DELETE FROM "pulitzer_free_form_sections";
102844
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102845
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';
102846
+  (0.8ms) DELETE FROM "pulitzer_layouts";
102847
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102848
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
102849
+  (0.9ms) DELETE FROM "pulitzer_content_elements";
102850
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102851
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
102852
+  (0.1ms) begin transaction
102853
+  (0.0ms) commit transaction
102854
+  (0.0ms) begin transaction
102855
+  (0.1ms) SAVEPOINT active_record_1
102856
+ SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:44:46 UTC], ["updated_at", 2017-02-27 22:44:46 UTC], ["plural", false]]
102857
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102858
+  (0.1ms) SAVEPOINT active_record_1
102859
+ Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-1"], ["LIMIT", 1]]
102860
+ SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
102861
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:44:46 UTC], ["updated_at", 2017-02-27 22:44:46 UTC]]
102862
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102863
+  (0.0ms) SAVEPOINT active_record_1
102864
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:44:46 UTC], ["updated_at", 2017-02-27 22:44:46 UTC]]
102865
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102866
+  (0.2ms) SAVEPOINT active_record_1
102867
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 1"], ["LIMIT", 1]]
102868
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", 2017-02-27 22:44:46 UTC], ["updated_at", 2017-02-27 22:44:46 UTC]]
102869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102870
+  (0.0ms) SAVEPOINT active_record_1
102871
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
102872
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102873
+  (0.0ms) SAVEPOINT active_record_1
102874
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 2"], ["LIMIT", 1]]
102875
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", 2017-02-27 22:44:46 UTC], ["updated_at", 2017-02-27 22:44:46 UTC]]
102876
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102877
+  (0.0ms) SAVEPOINT active_record_1
102878
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
102879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
102880
+  (0.0ms) SAVEPOINT active_record_1
102881
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]]
102882
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-02-27 22:44:46 UTC], ["updated_at", 2017-02-27 22:44:46 UTC]]
102883
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102884
+  (0.0ms) SAVEPOINT active_record_1
102885
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
102886
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102887
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 2]]
102888
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
102889
+ Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
102890
+  (1.2ms) rollback transaction
102891
+ Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
102892
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
102893
+  (1.7ms) DELETE FROM "pulitzer_content_element_types";
102894
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102895
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
102896
+  (1.0ms) DELETE FROM "pulitzer_posts";
102897
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102898
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
102899
+  (0.8ms) DELETE FROM "pulitzer_tags";
102900
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102901
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
102902
+  (0.8ms) DELETE FROM "pulitzer_post_type_content_element_types";
102903
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102904
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
102905
+  (0.7ms) DELETE FROM "pulitzer_versions";
102906
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102907
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
102908
+  (1.6ms) DELETE FROM "pulitzer_post_tags";
102909
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102910
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
102911
+  (1.0ms) DELETE FROM "pulitzer_post_types";
102912
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102913
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
102914
+  (1.1ms) DELETE FROM "pulitzer_partials";
102915
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102916
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';
102917
+  (0.9ms) DELETE FROM "pulitzer_free_form_section_types";
102918
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102919
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
102920
+  (0.7ms) DELETE FROM "pulitzer_free_form_sections";
102921
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102922
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';
102923
+  (0.8ms) DELETE FROM "pulitzer_layouts";
102924
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102925
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
102926
+  (0.9ms) DELETE FROM "pulitzer_content_elements";
102927
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102928
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
102929
+  (0.1ms) begin transaction
102930
+  (0.0ms) commit transaction
102931
+  (0.0ms) begin transaction
102932
+  (0.1ms) SAVEPOINT active_record_1
102933
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:46:03 UTC], ["updated_at", 2017-02-27 22:46:03 UTC], ["plural", false]]
102934
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102935
+  (0.1ms) SAVEPOINT active_record_1
102936
+ Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-1"], ["LIMIT", 1]]
102937
+ SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
102938
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:46:03 UTC], ["updated_at", 2017-02-27 22:46:03 UTC]]
102939
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102940
+  (0.0ms) SAVEPOINT active_record_1
102941
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:46:03 UTC], ["updated_at", 2017-02-27 22:46:03 UTC]]
102942
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102943
+  (0.0ms) SAVEPOINT active_record_1
102944
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 1"], ["LIMIT", 1]]
102945
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", 2017-02-27 22:46:03 UTC], ["updated_at", 2017-02-27 22:46:03 UTC]]
102946
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102947
+  (0.0ms) SAVEPOINT active_record_1
102948
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
102949
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102950
+  (0.0ms) SAVEPOINT active_record_1
102951
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 2"], ["LIMIT", 1]]
102952
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", 2017-02-27 22:46:03 UTC], ["updated_at", 2017-02-27 22:46:03 UTC]]
102953
+  (0.1ms) RELEASE SAVEPOINT active_record_1
102954
+  (0.0ms) SAVEPOINT active_record_1
102955
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
102956
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102957
+  (0.0ms) SAVEPOINT active_record_1
102958
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]]
102959
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-02-27 22:46:03 UTC], ["updated_at", 2017-02-27 22:46:03 UTC]]
102960
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102961
+  (0.0ms) SAVEPOINT active_record_1
102962
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
102963
+  (0.0ms) RELEASE SAVEPOINT active_record_1
102964
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 2]]
102965
+ Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? [["post_id", 1]]
102966
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
102967
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
102968
+  (0.5ms) rollback transaction
102969
+ Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
102970
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
102971
+  (1.9ms) DELETE FROM "pulitzer_content_element_types";
102972
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102973
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
102974
+  (0.8ms) DELETE FROM "pulitzer_posts";
102975
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102976
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
102977
+  (0.8ms) DELETE FROM "pulitzer_tags";
102978
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102979
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
102980
+  (0.9ms) DELETE FROM "pulitzer_post_type_content_element_types";
102981
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102982
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
102983
+  (1.2ms) DELETE FROM "pulitzer_versions";
102984
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102985
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
102986
+  (1.0ms) DELETE FROM "pulitzer_post_tags";
102987
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102988
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
102989
+  (1.0ms) DELETE FROM "pulitzer_post_types";
102990
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102991
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
102992
+  (0.8ms) DELETE FROM "pulitzer_partials";
102993
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102994
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';
102995
+  (0.7ms) DELETE FROM "pulitzer_free_form_section_types";
102996
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102997
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
102998
+  (0.8ms) DELETE FROM "pulitzer_free_form_sections";
102999
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103000
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';
103001
+  (0.8ms) DELETE FROM "pulitzer_layouts";
103002
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103003
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
103004
+  (0.8ms) DELETE FROM "pulitzer_content_elements";
103005
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103006
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
103007
+  (0.1ms) begin transaction
103008
+  (0.1ms) commit transaction
103009
+  (0.0ms) begin transaction
103010
+  (0.1ms) SAVEPOINT active_record_1
103011
+ SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:47:13 UTC], ["updated_at", 2017-02-27 22:47:13 UTC], ["plural", false]]
103012
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103013
+  (0.1ms) SAVEPOINT active_record_1
103014
+ Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-1"], ["LIMIT", 1]]
103015
+ SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
103016
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:47:13 UTC], ["updated_at", 2017-02-27 22:47:13 UTC]]
103017
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103018
+  (0.0ms) SAVEPOINT active_record_1
103019
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:47:13 UTC], ["updated_at", 2017-02-27 22:47:13 UTC]]
103020
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103021
+  (0.0ms) SAVEPOINT active_record_1
103022
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 1"], ["LIMIT", 1]]
103023
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", 2017-02-27 22:47:13 UTC], ["updated_at", 2017-02-27 22:47:13 UTC]]
103024
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103025
+  (0.0ms) SAVEPOINT active_record_1
103026
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103027
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103028
+  (0.1ms) SAVEPOINT active_record_1
103029
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 2"], ["LIMIT", 1]]
103030
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", 2017-02-27 22:47:13 UTC], ["updated_at", 2017-02-27 22:47:13 UTC]]
103031
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103032
+  (0.0ms) SAVEPOINT active_record_1
103033
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103034
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103035
+  (0.0ms) SAVEPOINT active_record_1
103036
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]]
103037
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-02-27 22:47:13 UTC], ["updated_at", 2017-02-27 22:47:13 UTC]]
103038
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103039
+  (0.0ms) SAVEPOINT active_record_1
103040
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103041
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103042
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 2]]
103043
+ Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103044
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103045
+ Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]
103046
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
103047
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103048
+  (0.3ms) rollback transaction
103049
+ Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
103050
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
103051
+  (1.7ms) DELETE FROM "pulitzer_content_element_types";
103052
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103053
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
103054
+  (0.9ms) DELETE FROM "pulitzer_posts";
103055
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103056
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
103057
+  (0.9ms) DELETE FROM "pulitzer_tags";
103058
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103059
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
103060
+  (0.8ms) DELETE FROM "pulitzer_post_type_content_element_types";
103061
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103062
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
103063
+  (1.3ms) DELETE FROM "pulitzer_versions";
103064
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103065
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
103066
+  (1.0ms) DELETE FROM "pulitzer_post_tags";
103067
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103068
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
103069
+  (1.3ms) DELETE FROM "pulitzer_post_types";
103070
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103071
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
103072
+  (0.8ms) DELETE FROM "pulitzer_partials";
103073
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103074
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';
103075
+  (0.8ms) DELETE FROM "pulitzer_free_form_section_types";
103076
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103077
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
103078
+  (0.8ms) DELETE FROM "pulitzer_free_form_sections";
103079
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103080
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';
103081
+  (0.8ms) DELETE FROM "pulitzer_layouts";
103082
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103083
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
103084
+  (0.9ms) DELETE FROM "pulitzer_content_elements";
103085
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103086
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
103087
+  (0.1ms) begin transaction
103088
+  (0.0ms) commit transaction
103089
+  (0.0ms) begin transaction
103090
+  (0.1ms) SAVEPOINT active_record_1
103091
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC], ["plural", false]]
103092
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103093
+  (0.0ms) SAVEPOINT active_record_1
103094
+ Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-1"], ["LIMIT", 1]]
103095
+ SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
103096
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC]]
103097
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103098
+  (0.0ms) SAVEPOINT active_record_1
103099
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC]]
103100
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103101
+  (0.1ms) SAVEPOINT active_record_1
103102
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 1"], ["LIMIT", 1]]
103103
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC]]
103104
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103105
+  (0.0ms) SAVEPOINT active_record_1
103106
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103107
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103108
+  (0.0ms) SAVEPOINT active_record_1
103109
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 2"], ["LIMIT", 1]]
103110
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC]]
103111
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103112
+  (0.0ms) SAVEPOINT active_record_1
103113
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103114
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103115
+  (0.0ms) SAVEPOINT active_record_1
103116
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]]
103117
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC]]
103118
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103119
+  (0.0ms) SAVEPOINT active_record_1
103120
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103121
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103122
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 2]]
103123
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103124
+  (0.0ms) SAVEPOINT active_record_1
103125
+ Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]
103126
+ Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
103127
+ Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]]
103128
+ SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 1]]
103129
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103130
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
103131
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103132
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
103133
+  (0.0ms) SAVEPOINT active_record_1
103134
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
103135
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-02-27 22:48:07 UTC], ["updated_at", 2017-02-27 22:48:07 UTC]]
103136
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103137
+  (0.0ms) SAVEPOINT active_record_1
103138
+ SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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]]
103139
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103140
+ Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
103141
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103142
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 1], ["status", 4]]
103143
+ Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]
103144
+  (0.5ms) rollback transaction
103145
+ Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
103146
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
103147
+  (1.7ms) DELETE FROM "pulitzer_content_element_types";
103148
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103149
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
103150
+  (0.8ms) DELETE FROM "pulitzer_posts";
103151
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103152
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
103153
+  (0.8ms) DELETE FROM "pulitzer_tags";
103154
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103155
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
103156
+  (1.0ms) DELETE FROM "pulitzer_post_type_content_element_types";
103157
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103158
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
103159
+  (1.1ms) DELETE FROM "pulitzer_versions";
103160
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103161
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
103162
+  (1.0ms) DELETE FROM "pulitzer_post_tags";
103163
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103164
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
103165
+  (1.0ms) DELETE FROM "pulitzer_post_types";
103166
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103167
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
103168
+  (0.7ms) DELETE FROM "pulitzer_partials";
103169
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103170
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';
103171
+  (0.8ms) DELETE FROM "pulitzer_free_form_section_types";
103172
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103173
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
103174
+  (0.8ms) DELETE FROM "pulitzer_free_form_sections";
103175
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103176
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';
103177
+  (0.8ms) DELETE FROM "pulitzer_layouts";
103178
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103179
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
103180
+  (0.9ms) DELETE FROM "pulitzer_content_elements";
103181
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103182
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
103183
+  (0.1ms) begin transaction
103184
+  (0.0ms) commit transaction
103185
+  (0.0ms) begin transaction
103186
+  (0.1ms) SAVEPOINT active_record_1
103187
+ SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC], ["plural", false]]
103188
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103189
+  (0.1ms) SAVEPOINT active_record_1
103190
+ Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-1"], ["LIMIT", 1]]
103191
+ SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
103192
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
103193
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103194
+  (0.0ms) SAVEPOINT active_record_1
103195
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
103196
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103197
+  (0.0ms) SAVEPOINT active_record_1
103198
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 1"], ["LIMIT", 1]]
103199
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
103200
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103201
+  (0.0ms) SAVEPOINT active_record_1
103202
+ SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103203
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103204
+  (0.0ms) SAVEPOINT active_record_1
103205
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 2"], ["LIMIT", 1]]
103206
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
103207
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103208
+  (0.1ms) SAVEPOINT active_record_1
103209
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103210
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103211
+  (0.0ms) SAVEPOINT active_record_1
103212
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]]
103213
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
103214
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103215
+  (0.0ms) SAVEPOINT active_record_1
103216
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103217
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103218
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 2]]
103219
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103220
+  (0.0ms) SAVEPOINT active_record_1
103221
+ Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]
103222
+ Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
103223
+ Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]]
103224
+ SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 1]]
103225
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103226
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
103227
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103228
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
103229
+  (0.1ms) SAVEPOINT active_record_1
103230
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
103231
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
103232
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103233
+  (0.1ms) SAVEPOINT active_record_1
103234
+ SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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]]
103235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103236
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
103237
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103238
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 1], ["status", 4]]
103239
+ Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]
103240
+  (1.2ms) rollback transaction
103241
+  (0.1ms) begin transaction
103242
+  (0.0ms) commit transaction
103243
+  (0.0ms) begin transaction
103244
+  (0.0ms) SAVEPOINT active_record_1
103245
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC], ["plural", false]]
103246
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103247
+  (0.0ms) SAVEPOINT active_record_1
103248
+ Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-2"], ["LIMIT", 1]]
103249
+ SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
103250
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
103251
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103252
+  (0.0ms) SAVEPOINT active_record_1
103253
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
103254
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103255
+  (0.1ms) SAVEPOINT active_record_1
103256
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 4"], ["LIMIT", 1]]
103257
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
103258
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103259
+  (0.0ms) SAVEPOINT active_record_1
103260
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103261
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103262
+  (0.0ms) SAVEPOINT active_record_1
103263
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 5"], ["LIMIT", 1]]
103264
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
103265
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103266
+  (0.0ms) SAVEPOINT active_record_1
103267
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103269
+  (0.0ms) SAVEPOINT active_record_1
103270
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 6"], ["LIMIT", 1]]
103271
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", 2017-02-27 22:49:47 UTC], ["updated_at", 2017-02-27 22:49:47 UTC]]
103272
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103273
+  (0.0ms) SAVEPOINT active_record_1
103274
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103275
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103276
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 2]]
103277
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? [["post_id", 1]]
103278
+  (0.0ms) SAVEPOINT active_record_1
103279
+ Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]
103280
+ Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
103281
+ Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]]
103282
+ SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 1]]
103283
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103284
+ Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
103285
+  (0.1ms) SAVEPOINT active_record_1
103286
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
103287
+ SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-02-27 22:50:19 UTC], ["updated_at", 2017-02-27 22:50:19 UTC]]
103288
+  (0.3ms) RELEASE SAVEPOINT active_record_1
103289
+  (0.2ms) SAVEPOINT active_record_1
103290
+ SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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]]
103291
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103292
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
103293
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103294
+  (0.5ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 1], ["status", 4]]
103295
+ Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]
103296
+  (1.1ms) rollback transaction
103297
+ Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
103298
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
103299
+  (1.9ms) DELETE FROM "pulitzer_content_element_types";
103300
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103301
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
103302
+  (0.8ms) DELETE FROM "pulitzer_posts";
103303
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103304
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
103305
+  (0.8ms) DELETE FROM "pulitzer_tags";
103306
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103307
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
103308
+  (0.9ms) DELETE FROM "pulitzer_post_type_content_element_types";
103309
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103310
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
103311
+  (1.3ms) DELETE FROM "pulitzer_versions";
103312
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103313
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
103314
+  (1.0ms) DELETE FROM "pulitzer_post_tags";
103315
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103316
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
103317
+  (1.1ms) DELETE FROM "pulitzer_post_types";
103318
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103319
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
103320
+  (0.8ms) DELETE FROM "pulitzer_partials";
103321
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103322
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';
103323
+  (0.8ms) DELETE FROM "pulitzer_free_form_section_types";
103324
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103325
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
103326
+  (0.8ms) DELETE FROM "pulitzer_free_form_sections";
103327
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103328
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';
103329
+  (0.8ms) DELETE FROM "pulitzer_layouts";
103330
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103331
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
103332
+  (1.0ms) DELETE FROM "pulitzer_content_elements";
103333
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103334
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
103335
+  (0.1ms) begin transaction
103336
+  (0.0ms) commit transaction
103337
+  (0.1ms) begin transaction
103338
+  (0.1ms) SAVEPOINT active_record_1
103339
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC], ["plural", false]]
103340
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103341
+  (0.1ms) SAVEPOINT active_record_1
103342
+ Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-1"], ["LIMIT", 1]]
103343
+ SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
103344
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
103345
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103346
+  (0.0ms) SAVEPOINT active_record_1
103347
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
103348
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103349
+  (0.0ms) SAVEPOINT active_record_1
103350
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 1"], ["LIMIT", 1]]
103351
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
103352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103353
+  (0.0ms) SAVEPOINT active_record_1
103354
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103355
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103356
+  (0.0ms) SAVEPOINT active_record_1
103357
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 2"], ["LIMIT", 1]]
103358
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
103359
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103360
+  (0.0ms) SAVEPOINT active_record_1
103361
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103362
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103363
+  (0.1ms) SAVEPOINT active_record_1
103364
+ Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]]
103365
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
103366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103367
+  (0.1ms) SAVEPOINT active_record_1
103368
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103369
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103370
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 2]]
103371
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103372
+  (0.0ms) SAVEPOINT active_record_1
103373
+ Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]
103374
+ Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
103375
+ Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]]
103376
+ SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 1]]
103377
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103378
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
103379
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103380
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
103381
+  (0.0ms) SAVEPOINT active_record_1
103382
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
103383
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
103384
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103385
+  (0.0ms) SAVEPOINT active_record_1
103386
+ SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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]]
103387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103388
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
103389
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103390
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 1], ["status", 4]]
103391
+ Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]
103392
+  (1.1ms) rollback transaction
103393
+  (0.1ms) begin transaction
103394
+  (0.0ms) commit transaction
103395
+  (0.0ms) begin transaction
103396
+  (0.0ms) SAVEPOINT active_record_1
103397
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC], ["plural", false]]
103398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103399
+  (0.0ms) SAVEPOINT active_record_1
103400
+ Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-2"], ["LIMIT", 1]]
103401
+ SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
103402
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
103403
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103404
+  (0.0ms) SAVEPOINT active_record_1
103405
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
103406
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103407
+  (0.0ms) SAVEPOINT active_record_1
103408
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 4"], ["LIMIT", 1]]
103409
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
103410
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103411
+  (0.0ms) SAVEPOINT active_record_1
103412
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103413
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103414
+  (0.0ms) SAVEPOINT active_record_1
103415
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 5"], ["LIMIT", 1]]
103416
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
103417
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103418
+  (0.0ms) SAVEPOINT active_record_1
103419
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103420
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103421
+  (0.0ms) SAVEPOINT active_record_1
103422
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 6"], ["LIMIT", 1]]
103423
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
103424
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103425
+  (0.0ms) SAVEPOINT active_record_1
103426
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103427
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103428
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 2]]
103429
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? [["post_id", 1]]
103430
+  (0.0ms) SAVEPOINT active_record_1
103431
+ Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]
103432
+ Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
103433
+ Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]]
103434
+ SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 1]]
103435
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103436
+ Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
103437
+  (0.0ms) SAVEPOINT active_record_1
103438
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
103439
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-02-27 22:52:11 UTC], ["updated_at", 2017-02-27 22:52:11 UTC]]
103440
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103441
+  (0.0ms) SAVEPOINT active_record_1
103442
+ SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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]]
103443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103444
+  (0.5ms) rollback transaction
103445
+ Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
103446
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
103447
+  (1.7ms) DELETE FROM "pulitzer_content_element_types";
103448
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103449
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
103450
+  (0.9ms) DELETE FROM "pulitzer_posts";
103451
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103452
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
103453
+  (0.8ms) DELETE FROM "pulitzer_tags";
103454
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103455
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
103456
+  (0.9ms) DELETE FROM "pulitzer_post_type_content_element_types";
103457
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103458
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
103459
+  (0.9ms) DELETE FROM "pulitzer_versions";
103460
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103461
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
103462
+  (0.9ms) DELETE FROM "pulitzer_post_tags";
103463
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103464
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
103465
+  (1.4ms) DELETE FROM "pulitzer_post_types";
103466
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103467
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
103468
+  (0.8ms) DELETE FROM "pulitzer_partials";
103469
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103470
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';
103471
+  (0.7ms) DELETE FROM "pulitzer_free_form_section_types";
103472
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103473
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
103474
+  (0.7ms) DELETE FROM "pulitzer_free_form_sections";
103475
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103476
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';
103477
+  (0.7ms) DELETE FROM "pulitzer_layouts";
103478
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103479
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
103480
+  (0.7ms) DELETE FROM "pulitzer_content_elements";
103481
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103482
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
103483
+  (0.0ms) begin transaction
103484
+  (0.0ms) commit transaction
103485
+  (0.0ms) begin transaction
103486
+  (0.1ms) SAVEPOINT active_record_1
103487
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC], ["plural", false]]
103488
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103489
+  (0.1ms) SAVEPOINT active_record_1
103490
+ Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-1"], ["LIMIT", 1]]
103491
+ SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
103492
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
103493
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103494
+  (0.0ms) SAVEPOINT active_record_1
103495
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
103496
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103497
+  (0.0ms) SAVEPOINT active_record_1
103498
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 1"], ["LIMIT", 1]]
103499
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
103500
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103501
+  (0.0ms) SAVEPOINT active_record_1
103502
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103503
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103504
+  (0.1ms) SAVEPOINT active_record_1
103505
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 2"], ["LIMIT", 1]]
103506
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
103507
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103508
+  (0.0ms) SAVEPOINT active_record_1
103509
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103510
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103511
+  (0.1ms) SAVEPOINT active_record_1
103512
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]]
103513
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
103514
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103515
+  (0.0ms) SAVEPOINT active_record_1
103516
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103517
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103518
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 2]]
103519
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103520
+  (0.1ms) SAVEPOINT active_record_1
103521
+ Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]
103522
+ Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
103523
+ Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]]
103524
+ SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 1]]
103525
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103526
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
103527
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103528
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
103529
+  (0.1ms) SAVEPOINT active_record_1
103530
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
103531
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
103532
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103533
+  (0.0ms) SAVEPOINT active_record_1
103534
+ SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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]]
103535
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103536
+ Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
103537
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103538
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 1], ["status", 4]]
103539
+ Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]
103540
+  (0.5ms) rollback transaction
103541
+  (0.1ms) begin transaction
103542
+  (0.0ms) commit transaction
103543
+  (0.0ms) begin transaction
103544
+  (0.0ms) SAVEPOINT active_record_1
103545
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC], ["plural", false]]
103546
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103547
+  (0.0ms) SAVEPOINT active_record_1
103548
+ Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-2"], ["LIMIT", 1]]
103549
+ SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
103550
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
103551
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103552
+  (0.0ms) SAVEPOINT active_record_1
103553
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
103554
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103555
+  (0.1ms) SAVEPOINT active_record_1
103556
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 4"], ["LIMIT", 1]]
103557
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
103558
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103559
+  (0.0ms) SAVEPOINT active_record_1
103560
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103562
+  (0.0ms) SAVEPOINT active_record_1
103563
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 5"], ["LIMIT", 1]]
103564
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
103565
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103566
+  (0.0ms) SAVEPOINT active_record_1
103567
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103568
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103569
+  (0.0ms) SAVEPOINT active_record_1
103570
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 6"], ["LIMIT", 1]]
103571
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
103572
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103573
+  (0.0ms) SAVEPOINT active_record_1
103574
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103575
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103576
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 2]]
103577
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? [["post_id", 1]]
103578
+  (0.0ms) SAVEPOINT active_record_1
103579
+ Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]
103580
+ Pulitzer::FreeFormSection Load (0.0ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
103581
+ Pulitzer::PostTag Load (0.0ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]]
103582
+ SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 1]]
103583
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103584
+ Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
103585
+  (0.0ms) SAVEPOINT active_record_1
103586
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
103587
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-02-27 22:52:43 UTC], ["updated_at", 2017-02-27 22:52:43 UTC]]
103588
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103589
+  (0.0ms) SAVEPOINT active_record_1
103590
+ SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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]]
103591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103592
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
103593
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103594
+  (0.2ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 1], ["status", 4]]
103595
+ Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]
103596
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
103597
+ Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
103598
+  (0.7ms) rollback transaction
103599
+ Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
103600
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
103601
+  (1.4ms) DELETE FROM "pulitzer_content_element_types";
103602
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103603
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
103604
+  (2.1ms) DELETE FROM "pulitzer_posts";
103605
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103606
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
103607
+  (1.5ms) DELETE FROM "pulitzer_tags";
103608
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103609
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
103610
+  (1.2ms) DELETE FROM "pulitzer_post_type_content_element_types";
103611
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103612
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
103613
+  (1.2ms) DELETE FROM "pulitzer_versions";
103614
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103615
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
103616
+  (0.9ms) DELETE FROM "pulitzer_post_tags";
103617
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103618
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
103619
+  (1.1ms) DELETE FROM "pulitzer_post_types";
103620
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103621
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
103622
+  (1.1ms) DELETE FROM "pulitzer_partials";
103623
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103624
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';
103625
+  (1.0ms) DELETE FROM "pulitzer_free_form_section_types";
103626
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103627
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
103628
+  (1.1ms) DELETE FROM "pulitzer_free_form_sections";
103629
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103630
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';
103631
+  (0.8ms) DELETE FROM "pulitzer_layouts";
103632
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103633
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
103634
+  (1.1ms) DELETE FROM "pulitzer_content_elements";
103635
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103636
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
103637
+  (0.1ms) begin transaction
103638
+  (0.1ms) commit transaction
103639
+  (0.1ms) begin transaction
103640
+  (0.1ms) SAVEPOINT active_record_1
103641
+ SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC], ["plural", false]]
103642
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103643
+  (0.1ms) SAVEPOINT active_record_1
103644
+ Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-1"], ["LIMIT", 1]]
103645
+ SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
103646
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
103647
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103648
+  (0.0ms) SAVEPOINT active_record_1
103649
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
103650
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103651
+  (0.0ms) SAVEPOINT active_record_1
103652
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 1"], ["LIMIT", 1]]
103653
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
103654
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103655
+  (0.0ms) SAVEPOINT active_record_1
103656
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103657
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103658
+  (0.0ms) SAVEPOINT active_record_1
103659
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 2"], ["LIMIT", 1]]
103660
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
103661
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103662
+  (0.0ms) SAVEPOINT active_record_1
103663
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103664
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103665
+  (0.0ms) SAVEPOINT active_record_1
103666
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]]
103667
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
103668
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103669
+  (0.0ms) SAVEPOINT active_record_1
103670
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103671
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103672
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 2]]
103673
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103674
+  (0.1ms) SAVEPOINT active_record_1
103675
+ Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]
103676
+ Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
103677
+ Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]]
103678
+ SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 1]]
103679
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103680
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
103681
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103682
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
103683
+  (0.0ms) SAVEPOINT active_record_1
103684
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
103685
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
103686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103687
+  (0.0ms) SAVEPOINT active_record_1
103688
+ SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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]]
103689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103690
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
103691
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103692
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 1], ["status", 4]]
103693
+ Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]
103694
+  (0.5ms) rollback transaction
103695
+  (0.1ms) begin transaction
103696
+  (0.1ms) commit transaction
103697
+  (0.0ms) begin transaction
103698
+  (0.0ms) SAVEPOINT active_record_1
103699
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC], ["plural", false]]
103700
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103701
+  (0.0ms) SAVEPOINT active_record_1
103702
+ Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-2"], ["LIMIT", 1]]
103703
+ SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
103704
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
103705
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103706
+  (0.0ms) SAVEPOINT active_record_1
103707
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
103708
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103709
+  (0.0ms) SAVEPOINT active_record_1
103710
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 4"], ["LIMIT", 1]]
103711
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
103712
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103713
+  (0.0ms) SAVEPOINT active_record_1
103714
+ SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103715
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103716
+  (0.1ms) SAVEPOINT active_record_1
103717
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 5"], ["LIMIT", 1]]
103718
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
103719
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103720
+  (0.0ms) SAVEPOINT active_record_1
103721
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103722
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103723
+  (0.0ms) SAVEPOINT active_record_1
103724
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 6"], ["LIMIT", 1]]
103725
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
103726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103727
+  (0.0ms) SAVEPOINT active_record_1
103728
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103729
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103730
+  (0.0ms) SAVEPOINT active_record_1
103731
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
103732
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-02-27 23:06:52 UTC], ["updated_at", 2017-02-27 23:06:52 UTC]]
103733
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103734
+  (0.0ms) SAVEPOINT active_record_1
103735
+ SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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]]
103736
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103737
+ Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]]
103738
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103739
+  (0.1ms) SAVEPOINT active_record_1
103740
+ Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
103741
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]
103742
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103743
+ Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]]
103744
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103745
+ Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
103746
+  (0.1ms) SAVEPOINT active_record_1
103747
+ SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ? [["label", "A changed label"], ["updated_at", 2017-02-27 23:06:52 UTC], ["id", 1]]
103748
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103749
+ Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
103750
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103751
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103752
+ Pulitzer::ContentElement Load (0.1ms) SELECT "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 [["version_id", 2], ["label", "A changed label"]]
103753
+ Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]
103754
+  (0.6ms) rollback transaction
103755
+ Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
103756
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
103757
+  (1.8ms) DELETE FROM "pulitzer_content_element_types";
103758
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103759
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
103760
+  (0.9ms) DELETE FROM "pulitzer_posts";
103761
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103762
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
103763
+  (1.0ms) DELETE FROM "pulitzer_tags";
103764
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103765
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
103766
+  (1.2ms) DELETE FROM "pulitzer_post_type_content_element_types";
103767
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103768
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
103769
+  (0.8ms) DELETE FROM "pulitzer_versions";
103770
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103771
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
103772
+  (1.1ms) DELETE FROM "pulitzer_post_tags";
103773
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103774
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
103775
+  (1.1ms) DELETE FROM "pulitzer_post_types";
103776
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103777
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
103778
+  (1.0ms) DELETE FROM "pulitzer_partials";
103779
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103780
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';
103781
+  (0.8ms) DELETE FROM "pulitzer_free_form_section_types";
103782
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103783
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
103784
+  (0.8ms) DELETE FROM "pulitzer_free_form_sections";
103785
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103786
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';
103787
+  (0.8ms) DELETE FROM "pulitzer_layouts";
103788
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103789
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
103790
+  (2.9ms) DELETE FROM "pulitzer_content_elements";
103791
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103792
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
103793
+  (0.0ms) begin transaction
103794
+  (0.0ms) commit transaction
103795
+  (0.1ms) begin transaction
103796
+  (0.1ms) SAVEPOINT active_record_1
103797
+ SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC], ["plural", false]]
103798
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103799
+  (0.1ms) SAVEPOINT active_record_1
103800
+ Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-1"], ["LIMIT", 1]]
103801
+ SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
103802
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
103803
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103804
+  (0.1ms) SAVEPOINT active_record_1
103805
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
103806
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103807
+  (0.0ms) SAVEPOINT active_record_1
103808
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 1"], ["LIMIT", 1]]
103809
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
103810
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103811
+  (0.0ms) SAVEPOINT active_record_1
103812
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103813
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103814
+  (0.1ms) SAVEPOINT active_record_1
103815
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 2"], ["LIMIT", 1]]
103816
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
103817
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103818
+  (0.0ms) SAVEPOINT active_record_1
103819
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103820
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103821
+  (0.0ms) SAVEPOINT active_record_1
103822
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]]
103823
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
103824
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103825
+  (0.0ms) SAVEPOINT active_record_1
103826
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103827
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103828
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 2]]
103829
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103830
+  (0.0ms) SAVEPOINT active_record_1
103831
+ Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]
103832
+ Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
103833
+ Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]]
103834
+ SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 1]]
103835
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103836
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
103837
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103838
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
103839
+  (0.0ms) SAVEPOINT active_record_1
103840
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
103841
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
103842
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103843
+  (0.0ms) SAVEPOINT active_record_1
103844
+ SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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]]
103845
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103846
+ Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
103847
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103848
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 1], ["status", 4]]
103849
+ Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]
103850
+  (1.3ms) rollback transaction
103851
+  (0.1ms) begin transaction
103852
+  (0.0ms) commit transaction
103853
+  (0.0ms) begin transaction
103854
+  (0.0ms) SAVEPOINT active_record_1
103855
+ SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC], ["plural", false]]
103856
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103857
+  (0.0ms) SAVEPOINT active_record_1
103858
+ Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-2"], ["LIMIT", 1]]
103859
+ SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
103860
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
103861
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103862
+  (0.1ms) SAVEPOINT active_record_1
103863
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
103864
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103865
+  (0.0ms) SAVEPOINT active_record_1
103866
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 4"], ["LIMIT", 1]]
103867
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
103868
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103869
+  (0.0ms) SAVEPOINT active_record_1
103870
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103872
+  (0.0ms) SAVEPOINT active_record_1
103873
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 5"], ["LIMIT", 1]]
103874
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
103875
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103876
+  (0.1ms) SAVEPOINT active_record_1
103877
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103878
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103879
+  (0.0ms) SAVEPOINT active_record_1
103880
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 6"], ["LIMIT", 1]]
103881
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
103882
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103883
+  (0.0ms) SAVEPOINT active_record_1
103884
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103885
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103886
+  (0.0ms) SAVEPOINT active_record_1
103887
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
103888
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-02-27 23:07:26 UTC], ["updated_at", 2017-02-27 23:07:26 UTC]]
103889
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103890
+  (0.0ms) SAVEPOINT active_record_1
103891
+ SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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]]
103892
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103893
+ Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]]
103894
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103895
+  (0.0ms) SAVEPOINT active_record_1
103896
+ Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
103897
+ SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]
103898
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103899
+ Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]]
103900
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103901
+ Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
103902
+  (0.0ms) SAVEPOINT active_record_1
103903
+ SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ? [["label", "A changed label"], ["updated_at", 2017-02-27 23:07:26 UTC], ["id", 1]]
103904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103905
+ Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
103906
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103907
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103908
+ Pulitzer::ContentElement Load (0.1ms) SELECT "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 [["version_id", 2], ["label", "A changed label"]]
103909
+ Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]
103910
+  (0.5ms) rollback transaction
103911
+ Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
103912
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
103913
+  (1.8ms) DELETE FROM "pulitzer_content_element_types";
103914
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103915
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
103916
+  (0.8ms) DELETE FROM "pulitzer_posts";
103917
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103918
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
103919
+  (0.8ms) DELETE FROM "pulitzer_tags";
103920
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103921
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
103922
+  (0.7ms) DELETE FROM "pulitzer_post_type_content_element_types";
103923
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103924
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
103925
+  (1.0ms) DELETE FROM "pulitzer_versions";
103926
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103927
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
103928
+  (1.3ms) DELETE FROM "pulitzer_post_tags";
103929
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103930
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
103931
+  (1.0ms) DELETE FROM "pulitzer_post_types";
103932
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103933
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
103934
+  (1.2ms) DELETE FROM "pulitzer_partials";
103935
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103936
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';
103937
+  (0.8ms) DELETE FROM "pulitzer_free_form_section_types";
103938
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103939
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
103940
+  (0.8ms) DELETE FROM "pulitzer_free_form_sections";
103941
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103942
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';
103943
+  (0.8ms) DELETE FROM "pulitzer_layouts";
103944
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103945
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
103946
+  (0.9ms) DELETE FROM "pulitzer_content_elements";
103947
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103948
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
103949
+  (0.1ms) begin transaction
103950
+  (0.0ms) commit transaction
103951
+  (0.0ms) begin transaction
103952
+  (0.1ms) SAVEPOINT active_record_1
103953
+ SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC], ["plural", false]]
103954
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103955
+  (0.1ms) SAVEPOINT active_record_1
103956
+ Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-1"], ["LIMIT", 1]]
103957
+ SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
103958
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
103959
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103960
+  (0.0ms) SAVEPOINT active_record_1
103961
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
103962
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103963
+  (0.0ms) SAVEPOINT active_record_1
103964
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 1"], ["LIMIT", 1]]
103965
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
103966
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103967
+  (0.0ms) SAVEPOINT active_record_1
103968
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103969
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103970
+  (0.0ms) SAVEPOINT active_record_1
103971
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 2"], ["LIMIT", 1]]
103972
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
103973
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103974
+  (0.0ms) SAVEPOINT active_record_1
103975
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103976
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103977
+  (0.0ms) SAVEPOINT active_record_1
103978
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]]
103979
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
103980
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103981
+  (0.0ms) SAVEPOINT active_record_1
103982
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
103983
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103984
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 2]]
103985
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103986
+  (0.0ms) SAVEPOINT active_record_1
103987
+ Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]
103988
+ Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
103989
+ Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]]
103990
+ SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 1]]
103991
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103992
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
103993
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
103994
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
103995
+  (0.0ms) SAVEPOINT active_record_1
103996
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
103997
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
103998
+  (0.0ms) RELEASE SAVEPOINT active_record_1
103999
+  (0.0ms) SAVEPOINT active_record_1
104000
+ SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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]]
104001
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104002
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
104003
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104004
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 1], ["status", 4]]
104005
+ Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]
104006
+  (1.2ms) rollback transaction
104007
+  (0.1ms) begin transaction
104008
+  (0.1ms) commit transaction
104009
+  (0.0ms) begin transaction
104010
+  (0.1ms) SAVEPOINT active_record_1
104011
+ SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC], ["plural", false]]
104012
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104013
+  (0.0ms) SAVEPOINT active_record_1
104014
+ Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-2"], ["LIMIT", 1]]
104015
+ SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
104016
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
104017
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104018
+  (0.0ms) SAVEPOINT active_record_1
104019
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
104020
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104021
+  (0.1ms) SAVEPOINT active_record_1
104022
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 4"], ["LIMIT", 1]]
104023
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
104024
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104025
+  (0.0ms) SAVEPOINT active_record_1
104026
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
104027
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104028
+  (0.0ms) SAVEPOINT active_record_1
104029
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 5"], ["LIMIT", 1]]
104030
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
104031
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104032
+  (0.0ms) SAVEPOINT active_record_1
104033
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
104034
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104035
+  (0.0ms) SAVEPOINT active_record_1
104036
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 6"], ["LIMIT", 1]]
104037
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
104038
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104039
+  (0.0ms) SAVEPOINT active_record_1
104040
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
104041
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104042
+  (0.0ms) SAVEPOINT active_record_1
104043
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
104044
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-02-27 23:08:07 UTC], ["updated_at", 2017-02-27 23:08:07 UTC]]
104045
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104046
+  (0.0ms) SAVEPOINT active_record_1
104047
+ SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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]]
104048
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104049
+ Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]]
104050
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104051
+  (0.0ms) SAVEPOINT active_record_1
104052
+ Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
104053
+ SQL (0.2ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]
104054
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104055
+ Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]]
104056
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104057
+ Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
104058
+  (0.1ms) SAVEPOINT active_record_1
104059
+ SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ? [["label", "A changed label"], ["updated_at", 2017-02-27 23:08:07 UTC], ["id", 1]]
104060
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104061
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
104062
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104063
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104064
+ Pulitzer::ContentElement Load (0.1ms) SELECT "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 [["version_id", 2], ["label", "A changed label"]]
104065
+ Pulitzer::Partial Load (0.6ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]
104066
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
104067
+ Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
104068
+  (0.5ms) rollback transaction
104069
+ Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
104070
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
104071
+  (1.8ms) DELETE FROM "pulitzer_content_element_types";
104072
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104073
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
104074
+  (1.0ms) DELETE FROM "pulitzer_posts";
104075
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104076
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
104077
+  (0.9ms) DELETE FROM "pulitzer_tags";
104078
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104079
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
104080
+  (0.8ms) DELETE FROM "pulitzer_post_type_content_element_types";
104081
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104082
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
104083
+  (0.9ms) DELETE FROM "pulitzer_versions";
104084
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104085
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
104086
+  (1.5ms) DELETE FROM "pulitzer_post_tags";
104087
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104088
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
104089
+  (1.1ms) DELETE FROM "pulitzer_post_types";
104090
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104091
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
104092
+  (1.0ms) DELETE FROM "pulitzer_partials";
104093
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104094
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';
104095
+  (0.8ms) DELETE FROM "pulitzer_free_form_section_types";
104096
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104097
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
104098
+  (0.9ms) DELETE FROM "pulitzer_free_form_sections";
104099
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104100
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';
104101
+  (0.8ms) DELETE FROM "pulitzer_layouts";
104102
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104103
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
104104
+  (0.8ms) DELETE FROM "pulitzer_content_elements";
104105
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104106
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
104107
+  (0.1ms) begin transaction
104108
+  (0.0ms) commit transaction
104109
+  (0.0ms) begin transaction
104110
+  (0.1ms) SAVEPOINT active_record_1
104111
+ SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC], ["plural", false]]
104112
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104113
+  (0.1ms) SAVEPOINT active_record_1
104114
+ Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-1"], ["LIMIT", 1]]
104115
+ SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
104116
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
104117
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104118
+  (0.1ms) SAVEPOINT active_record_1
104119
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
104120
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104121
+  (0.0ms) SAVEPOINT active_record_1
104122
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 1"], ["LIMIT", 1]]
104123
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
104124
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104125
+  (0.0ms) SAVEPOINT active_record_1
104126
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
104127
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104128
+  (0.1ms) SAVEPOINT active_record_1
104129
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 2"], ["LIMIT", 1]]
104130
+ SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
104131
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104132
+  (0.0ms) SAVEPOINT active_record_1
104133
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
104134
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104135
+  (0.0ms) SAVEPOINT active_record_1
104136
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]]
104137
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
104138
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104139
+  (0.0ms) SAVEPOINT active_record_1
104140
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
104141
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104142
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 2]]
104143
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104144
+  (0.0ms) SAVEPOINT active_record_1
104145
+ Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]
104146
+ Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
104147
+ Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]]
104148
+ SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 1]]
104149
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104150
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
104151
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104152
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
104153
+  (0.1ms) SAVEPOINT active_record_1
104154
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
104155
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
104156
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104157
+  (0.0ms) SAVEPOINT active_record_1
104158
+ SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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]]
104159
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104160
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
104161
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104162
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 1], ["status", 4]]
104163
+ Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]
104164
+  (1.2ms) rollback transaction
104165
+  (0.1ms) begin transaction
104166
+  (0.1ms) commit transaction
104167
+  (0.1ms) begin transaction
104168
+  (0.0ms) SAVEPOINT active_record_1
104169
+ SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC], ["plural", false]]
104170
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104171
+  (0.0ms) SAVEPOINT active_record_1
104172
+ Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-2"], ["LIMIT", 1]]
104173
+ SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
104174
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
104175
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104176
+  (0.0ms) SAVEPOINT active_record_1
104177
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
104178
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104179
+  (0.1ms) SAVEPOINT active_record_1
104180
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 4"], ["LIMIT", 1]]
104181
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
104182
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104183
+  (0.0ms) SAVEPOINT active_record_1
104184
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
104185
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104186
+  (0.0ms) SAVEPOINT active_record_1
104187
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 5"], ["LIMIT", 1]]
104188
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
104189
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104190
+  (0.1ms) SAVEPOINT active_record_1
104191
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
104192
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104193
+  (0.0ms) SAVEPOINT active_record_1
104194
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 6"], ["LIMIT", 1]]
104195
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
104196
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104197
+  (0.0ms) SAVEPOINT active_record_1
104198
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
104199
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104200
+  (0.0ms) SAVEPOINT active_record_1
104201
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
104202
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-02-27 23:09:27 UTC], ["updated_at", 2017-02-27 23:09:27 UTC]]
104203
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104204
+  (0.0ms) SAVEPOINT active_record_1
104205
+ SQL (0.1ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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]]
104206
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104207
+ Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]]
104208
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104209
+  (0.1ms) SAVEPOINT active_record_1
104210
+ Pulitzer::ContentElementType Load (0.3ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
104211
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]
104212
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104213
+ Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]]
104214
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104215
+ Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
104216
+  (0.1ms) SAVEPOINT active_record_1
104217
+ SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ? [["label", "A changed label"], ["updated_at", 2017-02-27 23:09:27 UTC], ["id", 1]]
104218
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104219
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
104220
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104221
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104222
+ Pulitzer::ContentElement Load (0.1ms) SELECT "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 [["version_id", 2], ["label", "A New Field for this Post Type"]]
104223
+  (0.0ms) SAVEPOINT active_record_1
104224
+ SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["label", "A changed label"], ["updated_at", 2017-02-27 23:09:27 UTC], ["id", 4]]
104225
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104226
+ Pulitzer::Partial Load (0.0ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]
104227
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
104228
+ Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
104229
+  (0.5ms) rollback transaction
104230
+ Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
104231
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
104232
+  (1.7ms) DELETE FROM "pulitzer_content_element_types";
104233
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104234
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_element_types';
104235
+  (0.8ms) DELETE FROM "pulitzer_posts";
104236
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104237
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_posts';
104238
+  (0.8ms) DELETE FROM "pulitzer_tags";
104239
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104240
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_tags';
104241
+  (0.8ms) DELETE FROM "pulitzer_post_type_content_element_types";
104242
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104243
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_type_content_element_types';
104244
+  (0.9ms) DELETE FROM "pulitzer_versions";
104245
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104246
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_versions';
104247
+  (1.1ms) DELETE FROM "pulitzer_post_tags";
104248
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104249
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_tags';
104250
+  (1.0ms) DELETE FROM "pulitzer_post_types";
104251
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104252
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_post_types';
104253
+  (1.2ms) DELETE FROM "pulitzer_partials";
104254
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104255
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pulitzer_partials';
104256
+  (0.8ms) DELETE FROM "pulitzer_free_form_section_types";
104257
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104258
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_section_types';
104259
+  (0.8ms) DELETE FROM "pulitzer_free_form_sections";
104260
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104261
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_free_form_sections';
104262
+  (0.8ms) DELETE FROM "pulitzer_layouts";
104263
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104264
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_layouts';
104265
+  (0.8ms) DELETE FROM "pulitzer_content_elements";
104266
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104267
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pulitzer_content_elements';
104268
+  (0.1ms) begin transaction
104269
+  (0.1ms) commit transaction
104270
+  (0.0ms) begin transaction
104271
+  (0.1ms) SAVEPOINT active_record_1
104272
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC], ["plural", false]]
104273
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104274
+  (0.1ms) SAVEPOINT active_record_1
104275
+ Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-1"], ["LIMIT", 1]]
104276
+ SQL (0.2ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
104277
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
104278
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104279
+  (0.0ms) SAVEPOINT active_record_1
104280
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
104281
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104282
+  (0.0ms) SAVEPOINT active_record_1
104283
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 1"], ["LIMIT", 1]]
104284
+ SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 1"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
104285
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104286
+  (0.0ms) SAVEPOINT active_record_1
104287
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 1"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
104288
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104289
+  (0.0ms) SAVEPOINT active_record_1
104290
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 2"], ["LIMIT", 1]]
104291
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 2"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
104292
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104293
+  (0.0ms) SAVEPOINT active_record_1
104294
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 2"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
104295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104296
+  (0.0ms) SAVEPOINT active_record_1
104297
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 3"], ["LIMIT", 1]]
104298
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 3"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
104299
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104300
+  (0.0ms) SAVEPOINT active_record_1
104301
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 3"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
104302
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104303
+  (0.1ms) SAVEPOINT active_record_1
104304
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
104305
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
104306
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104307
+  (0.1ms) SAVEPOINT active_record_1
104308
+ SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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]]
104309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104310
+ Pulitzer::PostTypeContentElementType Load (0.1ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."id" ASC [["post_type_id", 1]]
104311
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104312
+  (0.0ms) SAVEPOINT active_record_1
104313
+ Pulitzer::ContentElementType Load (0.1ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
104314
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]
104315
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104316
+ Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]]
104317
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104318
+ Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
104319
+  (0.1ms) SAVEPOINT active_record_1
104320
+ SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_post_type_content_element_types"."id" = ? [["label", "A changed label"], ["updated_at", 2017-02-27 23:10:28 UTC], ["id", 1]]
104321
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104322
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
104323
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104324
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104325
+ Pulitzer::ContentElement Load (0.1ms) SELECT "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 [["version_id", 2], ["label", "A New Field for this Post Type"]]
104326
+  (0.0ms) SAVEPOINT active_record_1
104327
+ SQL (0.1ms) UPDATE "pulitzer_content_elements" SET "label" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["label", "A changed label"], ["updated_at", 2017-02-27 23:10:28 UTC], ["id", 4]]
104328
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104329
+ Pulitzer::Partial Load (0.1ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]
104330
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
104331
+ Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 2]]
104332
+  (1.3ms) rollback transaction
104333
+  (0.1ms) begin transaction
104334
+  (0.0ms) commit transaction
104335
+  (0.0ms) begin transaction
104336
+  (0.0ms) SAVEPOINT active_record_1
104337
+ SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Winterfell news 1"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC], ["plural", false]]
104338
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104339
+  (0.0ms) SAVEPOINT active_record_1
104340
+ Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "winterfell-news-2"], ["LIMIT", 1]]
104341
+ SQL (0.1ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["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"]]
104342
+ SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
104343
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104344
+  (0.1ms) SAVEPOINT active_record_1
104345
+ SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
104346
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104347
+  (0.0ms) SAVEPOINT active_record_1
104348
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 4"], ["LIMIT", 1]]
104349
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 4"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
104350
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104351
+  (0.0ms) SAVEPOINT active_record_1
104352
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 4"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
104353
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104354
+  (0.0ms) SAVEPOINT active_record_1
104355
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 5"], ["LIMIT", 1]]
104356
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 5"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
104357
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104358
+  (0.0ms) SAVEPOINT active_record_1
104359
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 5"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
104360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104361
+  (0.0ms) SAVEPOINT active_record_1
104362
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text 6"], ["LIMIT", 1]]
104363
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text 6"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
104364
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104365
+  (0.0ms) SAVEPOINT active_record_1
104366
+ SQL (0.1ms) INSERT INTO "pulitzer_content_elements" ("label", "body", "version_id", "content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["label", "Slide 1 content element 6"], ["body", "I pledge my life and honor to the Night's Watch, for this night and all the nights to come"], ["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]]
104367
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104368
+ SQL (0.1ms) UPDATE "pulitzer_versions" SET "status" = 2 WHERE "pulitzer_versions"."id" = ? [["id", 2]]
104369
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104370
+  (0.0ms) SAVEPOINT active_record_1
104371
+ Pulitzer::ContentElement Load (0.0ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]
104372
+ Pulitzer::FreeFormSection Load (0.1ms) SELECT "pulitzer_free_form_sections".* FROM "pulitzer_free_form_sections" WHERE "pulitzer_free_form_sections"."version_id" = ? [["version_id", 1]]
104373
+ Pulitzer::PostTag Load (0.1ms) SELECT "pulitzer_post_tags".* FROM "pulitzer_post_tags" WHERE "pulitzer_post_tags"."version_id" = ? [["version_id", 1]]
104374
+ SQL (0.1ms) DELETE FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? [["id", 1]]
104375
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104376
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
104377
+ Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104378
+ Pulitzer::PostType Load (0.3ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
104379
+  (0.1ms) SAVEPOINT active_record_1
104380
+ Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
104381
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-02-27 23:10:28 UTC], ["updated_at", 2017-02-27 23:10:28 UTC]]
104382
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104383
+  (0.0ms) SAVEPOINT active_record_1
104384
+ SQL (0.2ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "content_element_type_id", "label", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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]]
104385
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104386
+ Pulitzer::Post Load (0.0ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."post_type_id" = ? [["post_type_id", 1]]
104387
+ Pulitzer::Version Load (0.0ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]
104388
+  (0.1ms) SELECT COUNT(*) FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? [["post_id", 1], ["status", 4]]
104389
+ Pulitzer::Partial Load (0.2ms) SELECT "pulitzer_partials".* FROM "pulitzer_partials" WHERE "pulitzer_partials"."post_type_id" = ? [["post_type_id", 1]]
104390
+  (0.3ms) rollback transaction