DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5) DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class CreatePulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (1.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]  (7.1ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class CreatePulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.7ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (17.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]  (1.1ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615)  (3.6ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class CreatePulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.7ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]  (1.6ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class CreatePulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.6ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]  (0.9ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class CreatePulitzerTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.3ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]  (0.6ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class CreatePulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.4ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]  (1.0ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class CreatePulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.9ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]  (1.1ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class AddPluralAndTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.8ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]  (0.8ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.2ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class AddPulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) 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]] SQL (0.7ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]  (0.9ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230)  (0.0ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class AddSlugToPulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar  (0.0ms) select sqlite_version(*)  (0.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]  (0.9ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)  (0.3ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class ChangeLabelTypeFromPulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.4ms) DROP TABLE "pulitzer_post_tags"  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]  (0.9ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class AddTextEditorToPulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."id" ASC) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (0.7ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354)  (0.0ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class CreatePulitzerVersions < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.7ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.8ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class ChangePostElementsToVersions < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.1ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.1ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"  (0.1ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]  (1.0ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class AddPostTypeContentElementAttributesToContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer Scoped order and limit are ignored, it's forced to be batch order and batch size. Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]  (0.9ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class ChangeTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.1ms) CREATE TEMPORARY TABLE "apulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "template" boolean)  (0.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"  (0.4ms) DROP TABLE "pulitzer_post_types"  (0.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean)  (0.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"  (0.1ms) DROP TABLE "apulitzer_post_types"  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.9ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class AddKindToPulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.7ms) commit transaction Migrating to AddErrorsToVersion (20160122204201)  (0.0ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class AddErrorsToVersion < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.3ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]  (0.7ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class CreatePartials < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.4ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]  (0.9ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527)  (0.0ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class AddParentIdToPulitzerTag < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.3ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer  (0.1ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL  (0.1ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]  (0.8ms) commit transaction Migrating to AddPartialToContentElement (20160512214545)  (0.0ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class AddPartialToContentElement < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]  (1.0ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class CreateFreeFormSectionType < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.3ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]  (0.8ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class CreateFreeFormSection < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.5ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]  (1.1ms) commit transaction Migrating to FixPostTypeKinds (20160516150237)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class FixPostTypeKinds < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]  (0.7ms) commit transaction Migrating to CreateLayouts (20160517181706)  (0.0ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class CreateLayouts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.3ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (0.9ms) commit transaction Migrating to AddLayoutToPartial (20160517182500)  (0.0ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class AddLayoutToPartial < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]  (0.8ms) commit transaction Migrating to AddLabelToPartial (20160519181030)  (0.0ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class AddLabelToPartial < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.6ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]  (0.9ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class RemoveTitleFromContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)  (0.1ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.1ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)  (0.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]  (0.9ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class AddRequiredToPulitzerPostTypeContentElementType < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.8ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.9ms) commit transaction Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.0ms) begin transaction  (0.0ms) rollback transaction DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5) DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2) ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type" integer) SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (0.7ms) commit transaction ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-05-08 17:23:45 UTC], ["updated_at", 2017-05-08 17:23:45 UTC]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_posts_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_posts_on_slug' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'  DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5) DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2) ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.2ms) begin transaction  (1.2ms) DROP TABLE "pulitzer_partial_types" SQL (0.8ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20170508145431"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_posts_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_posts_on_slug' AND type='index'   (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'  DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5) DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPartialTypes (20170508145431)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]  (4.9ms) commit transaction ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_posts_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_posts_on_slug' AND type='index'   (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'  DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5) DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2) ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_posts_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_posts_on_slug' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'  DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5) DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_posts_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_posts_on_slug' AND type='index'   (0.6ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'